Download and install the newest Windows
SDK headers, to support vista-related code (link above)
Make sure to register the
SDK with Visual Studio
Goto Start > Programs > Microsoft Windows
SDK v6.1 > Visual Studio Registration > Windows
SDK Configuration Tool
Click “Make Current”
Download the boost library (link above)
Extract boost somewhere on your HD. You don't need to build it, since PN will only use the headers.
TimMagee If you intend to build pypn or tests, then you'll need the boost libraries python and test respectively. I just downloaded and used bjam as per the build instructions in the boost HTML documentation. Everything built first time in under 2 hours. I then needed to add the boost library directory to my lib search directory list. The boost doco mentions that it's possible to use prebuilt lib files but I couldn't see where it suggests a download source.
SimonSteele I think that all required boost libs should now be built and checked in so you don't need to do this any more, leaving until this is confirmed.
Add the boost directory to your Visual C++ include directories (Tools|Options|Projects and Solutions|VC++ Directories)
Note that you can alternatively add manual include references to each project that needs it if you prefer not to do the above step.
Get the SVN version of the WTL:
svn co https://wtl.svn.sourceforge.net/svnroot/wtl/trunk/wtl wtl
Add the wtl/include directory to your Visual C++ include directories, and also your resource include directories:
Goto Tools|Options|Projects and Solutions|VC++ Directories
For “Show directories for” select “Include Files”
Add the WTL directory to the list
Click ok
Now right-click on the “PN” project in the solution explorer (left side)
Goto Properties > Configuration Properties > Resources > General
Add the WTL path to the “Additional Include Directories” field
Note that you can alternatively add manual include references to each project that needs it if you prefer not to do the above step.
TimMagee If that's what you choose to do you also need to add it to the resource includes for pn
Get the PN code from Google Code:
svn checkout http://pnotepad.googlecode.com/svn/trunk/pnwtl pnwtl
TimMagee Depending on your SVN client's setup you may then need to add execute permissions to DLL and EXE files in the bin directory. You'll know that you do if, when you come to run pn.exe (see below), you get a c0000022 exception.
Now go to pnwtl/ and open the “pn.sln” file with Visual Studio.
Press F7 or Build > Build Solution and then run PN.exe.
Please update this if you find any omissions