According to the operation steps of the article, it has been compiled successfully. The reprinted content is as follows:
1. Download the source code by yourself.
2. decompress:
The source code of notepad ++ is in the powereditor folder. Scintilla is a plug-in that will be used later in powereditor.
3. Open the scintilla folder first. See
Then open vcbuild:
Use VC ++ 6.0 to compile scilexer. DSP.
The final goal is to get a. dll file (in scintilla \ bin) (Do you know you have downloaded it online ?)
4. Compile notepad ++:
Go to this directory: powereditor \ visual.net.
There is:
This can be opened using vs2010.
A Conversion prompt is displayed. Because. vcproj is the vs2005 project name,. vcxproj is the vs2010 project name.
The conversion is successful. (It's okay if there is no error. Warning is okay ).
Then you can start compiling: do the following.
1) Right-click the project name.
Point Property (R ):
Click "Configuration Manager" and select "Unicode release ".
OK. Just modify it.
1) Open the property manager:
You can see the figure below.
Click here:
Click no_ms shit on the right:
Click "attribute"
Find as shown in
Select "edit" to go:
Just change it to the same one.
3) start compiling:
If not. Error c2220: Warning treated as error-No 'object' file generated. You can follow the steps below to modify the file:
Select project-> properties-> C/C ++-> General-> warning level, and change the alarm level to 0.
In the above figure, you should first modify it to Unicode debug compiling. If the error does not exist at this time, you can use Unicode release to compile it. If not, save the project and open it again. It is absolutely acceptable to repeat the above steps several times.
5. Run:
After compilation is successful, it will be available in the \ powereditor \ bin directory
Clicking "run" will prompt that the dynamic link library failed.
Copy the scilexer. dll that has been compiled successfully. In the same directory.
Now, you can continue to learn the source code.