Compiling Notepad2 (4.2.25) using VS2013 Update 4

Source: Internet
Author: User

1. Download Notepad2_4.2.25_src.zip (here/here) and scintilla357.zip (here/here) to local

2. Create a new empty directory and name it, such as Notepad2, to extract the above 2 packets to the directory, as shown in

3. Double hit Open Notepad2.sln, will start VS2013, and prompt the project needs to be updated, click OK

VS2013 will generate a migration report-notepad2 and open with the default browser

4. Go to VS2013 and we will find that the Scintilla directory has been included in the

5. In the project, right-click Add, scintilla\src directory, Existing item

Add *.h and *.cxx to the Scintilla\src file directory, or some functions are not defined because of missing file hints

Add the Scintilla\win32 *.h and *.cxx to the scintilla\win32 in the same way

6. Run Lexlink.js, the script will not need to link in the scintilla\src\catalogue.cxx part of the comment

7. Build solution, prompting "error cvt1100:duplicate resource. Type:manifest, Name:1, language:0x0409"

after the online review, found that the problem is the resource ID duplication.

then open src\resource.h with a text editor, find the first line of idr_rt_manifest, change 1 to another value, such as

8. recompile, found in addition to the "GetVersion function is obsolete",

use "_crt_secure_no_warnings" to avoid the warning of some safe string functions

and "Warning lnk4075:ignoring '/editandcontinue ' due to '/SAFESEH ' specification" outside

No compile and link errors have been made, debug version Notepad2.exe has been successfully generated

Compiling Notepad2 (4.2.25) using VS2013 Update 4

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.