How to Compile PN

Requirements:

Pre-requisite Installation

  1. Download and install the newest Windows SDK headers, to support vista-related code (link above)
  2. Make sure to register the SDK with Visual Studio
  1. Download the boost library (link above)
  2. Extract boost somewhere on your HD. You don't need to build it, since PN will only use the headers.
  3. Add the boost directory to your Visual C++ include directories (Tools|Options|Projects and Solutions|VC++ Directories)
  4. Note that you can alternatively add manual include references to each project that needs it if you prefer not to do the above step.
  1. Get the SVN version of the WTL:
    svn co https://wtl.svn.sourceforge.net/svnroot/wtl/trunk/wtl wtl
    
  2. Add the wtl/include directory to your Visual C++ include directories (Tools|Options|Projects and Solutions|VC++ Directories)
  3. Note that you can alternatively add manual include references to each project that needs it if you prefer not to do the above step.

PN Download and Build Steps

  1. Get the PN code from Google Code:
     svn checkout http://pnotepad.googlecode.com/svn/trunk/pnwtl pnwtl 
    
  2. Download the latest version of Scintilla (link above)
  3. Extract the file and copy the contents to pnwtl/include/scintilla
  4. Also download this file which patches Scintilla: http://pnotepad.org/files/altregex_ns.zip
  5. Extract altregex_ns.zip and copy its contents over the Scintilla files from above (in pnwtl/include/scintilla).
  6. Now go to pnwtl/ and open the “pn.sln” file with Visual Studio.
  7. Press F7 or Build > Build Solution and then run PN.exe.

Please update this if you find any ommisions

 
dev/how_to_compile_pn.txt · Last modified: 2008/09/09 17:57 by simon
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki