vs2013 Compiling notepad++ Source code

Source: Internet
Author: User

First, the official website download the source code, unzip to get Scintilla and Powereditor folder.

Second, install the vs2013. Open powereditor\visual.net\notepadplus.vcxproj directly.

Third, do the operation: build, rebuild the solution.

error c2220  warning is treated as error " 

< Span style= "color: #333333; letter-spacing:0.5px; line-height:22.5px; " > right button ->< Span style= "color: #333333; letter-spacing:0.5px; line-height:22.5px; " > attribute ->< Span style= "color: #333333; letter-spacing:0.5px; line-height:22.5px; " > configuration Properties - >c/c++-> General, modify the value "treat warnings as errors" to "no".

2. encountered a problem where Notepad++.exe is not found, the solution is

General, linker, configuration Properties, properties, right-click, change "Output file" to "$ (OutDir) Notepad++.exe"

3. Encounter LNK2019 can not find the symbol of the problem, jsonXXX.lib problem. This is the time to compile your own Jsonxxx.lib library.

The process is: find the Powereditor\src\jsoncpp\makefiles\vs71\jsoncpp.sln file,

Double-click the Jsoncpp.sln file to open the JSON project directly .

Build-and-rebuild solution. A new Jsonxx.lib library file is generated.

Back to the Notepad project, re-execute: Build--rebuild solution. It should be possible to generate Notepad++.exe.

The Notepad project relies on the Scintilla project, but it can not compile itself.

The specific method is to install Notepad directly on the system. Find the folder where Notepad is located, locate the SciLexer.dll file,

Copy the file to the newly generated notepad++.exe folder. Run notepad++.exe!

for the fourth step, because notepad++ has provided the Scilexer source code, I directly compiled the source code, but found in the decompression Scintilla compiled not past, Then I found a scintilla.original.forUpdating directory under Powereditor, so I opened it with vs2013 scintilla.original.forupdating\scintilla.356 \win32\scilexer.vcxproj, I can compile through and then compile the generated scilexer.dll Copy to

vs2013 Compiling notepad++ Source code

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.