NOTE: these have stopped working (12.Jul.2003). I have stopped doing any work on Cinepaint for the foreseeable future.
These directions tell you how to build CinePaint on Windows (as of 06.May.2002 - things may change).
Goals:
- have as few manual steps as possible, and therefore:
- use defaults whenever possible
- eventually use a script, or set up the inter-project dependencies correctly in the MSDEV project files
- have all files necessary for a build under one directory (excluding Visual C++).
- use tools that don't require any additional installation (BAT instead of SH, for example) whenever possible.
In the following directions, anything in italic is a comment or additional notes that are not essential steps.
Directory Structure
Create the following directory (you can use a different disk or directory name if you wish but you will need to either change the BAT file below, or add an environment variable):
Visual Studio
Install Microsoft Visual C++ in the default location. I installed all the options under C++ (which may not be necessary). I also didn't install any service packs. I don't think they are necessary.
Run Visual C++ by going to: "Start" | "Programs" | "Microsoft Visual Studio 6.0" | "Microsoft Visual C++ 6.0"
Turn off "Show tips at startup" (unless you really really want them...)
Go to the "Tools" menu, "Options" item. Select the "Directories" tab.
Add the following directories to the "Include Files" list by double-clicking on the empty row at the end of the list of directories and paste from this list. Answer "yes" to create directories.
- C:\cpdev\gtk\glib-dev\src\glib
- C:\cpdev\gtk\gtk\src\gtk+\gdk
- C:\cpdev\gtk\gtk\src\gtk+
I also go to the "Workspace" tab and check "Reload last workspace at startup" since I'm usually working on the same project over a period of time, and this saves having to manually open the project each time I run VC++.
WinZip
The BAT file requires WinZip. If you don't have it, you can download and install it (use default locations, or you will have to add an environment variable to point to the executable). Or, if you prefer a different unzip utility, you can read through the BAT file and perform the steps by hand using your own utility.
Downloads
Download the following files into C:\cpdev\downloads from (or go to www.cinepaint.org and follow the "Download" link) http://sourceforge.net/project/showfiles.php?group_id=75029
- cinepaint-0.17.src.unstable.tar.gz (unzip into C:\cpdev)
-
cinepaint-0.17.src.extra.win32.tar.gz (unzip into C:\cpdev\cinepaint-0.17)
-
cp.win32.gtk.zip (BAT file will unzip)
-
cp.win32.libplugin.zip (BAT file will unzip)
I don't know why I need to do these steps, but I don't want to modify the MSDEV projects right yet:
Bootstrap
Copy these two batch files into C:\cpdev\download. Run the cpbootstrap.bat file. This should unzip the accessory ZIP files and build CinePaint.
Building by hand
Run Visual C++ and open the project: C:\cpdev\cinepaint\win32\vcpp\cinepaint.dsw
Click on the "FileView" tab at the bottom of the workspace pane.
Right-click on "libcinepaint files" and select "Build" from the popup menu (you will get warnings, but you should get no errors).
Build the "cinepaint files" project the same way, then any or all of the other projects (the plugins). |