Compiling the PPMScope Source Code
Compiling the PC Source Code
The PC Source code is compiled using the MinGW C Compiler from within the Dev-Cpp IDE. In 2006, the developers of Dev-Cpp stopped supporting the program, so I recommend using the CodeBlocks IDE with the MinGW C Compiler. The PC Source Code comes with a project file for Dev-Cpp and can be imported into CodeBlocks easily.
The include file commctrl.h that is distributed with the MinGW Compiler will need to be modified to utilize components of Internet Explorer 5 commonly shipped with Windows. The commctrl.h file is located at:
For CodeBlocks on Windows XP and Vista,
or on Windows 7,
The edits are minor and are shown below:
In addition, in the CodeBlocks environment, you will need to update the library file. You can do this by selecting "Project" -> "Build Options" from the main menu. And then you should select the "Linker Settings" tab and edit the path to the library to match your install.
The path in the project file is the default path for Windows 7:
The path for Windows XP and Vista would be:
Once the edits are made, the project should compile. All project files, source files, and header files are in the PCSource directory
Building the Help file
The help file is created using the HTMLHelp tool from Microsoft. All project files, HTML files, and other sources for the help file are in the PCSource\Help directory
Assembling the Firmware Source Code
The firmware is assembled using the MPLAB toolset from Microchip. All include files and assembly files are included under the Picasm directory.