Windows XP
- CGAL Installation
- Install CMAKE.
- Install Boost first from: http://www.boostpro.com/download
- Check "Boost Thread" option, too.
- Add the following line to CMakeLists.txt: SET(Boost_INCLUDE_DIR "D:/seongjae/Program Files/boost/boost_1_39")
- Command Prompt: cmake.exe -G "Visual Studio 9 2008"
- Open CGAL.sln and compile it. lib directory will appear.
- CGAL Setting
- Configuration Properties > C/C++ > General > Additional Include Directories:
- "D:\seongjae\Program Files\boost\boost_1_39";
- "D:\seongjae\Program Files\CGAL-3.4\auxiliary\taucs\include";
- "D:\seongjae\Program Files\CGAL-3.4\auxiliary\gmp\include";
- "D:\seongjae\Program Files\CGAL-3.4\include"
- Configuration Properties > Linker > General > Additional Library Directories
- "D:\seongjae\Program Files\boost\boost_1_39\lib";
- "D:\seongjae\Program Files\CGAL-3.4\auxiliary\taucs\lib";
- "D:\seongjae\Program Files\CGAL-3.4\auxiliary\gmp\lib";
- "D:\seongjae\Program Files\CGAL-3.4\lib"
- Reference: http://www.cs.tau.ac.il/~ophirset/robotics/ex2/Windows.html
Windows Vista
- Python
- EasyInstall from PEAK
- Numpy, Scipy
- Pyro
- PIL: I got two error messages and my window got frozen. After a while, I got another window asking to restart installation program with administer privilege, which worked.
- PyOpenGL: Same problem as PIL. You also have to install GLUT. The link of win32 binary files is on the PyOpenGL installation page. I put the unzipped directory into PATH.
- Swig
- To compile generated files by Swig w/ Visual C++, I included the following directories:
- C:\Program Files (x86)\Python25\include
- C:\Program Files (x86)\Python25\Lib\site-packages\numpy\core\include
- D:\Codes\Vincent_Valentine\misc\swig_support
- When it needs OpenGL, you should include opengl32.lib and glu32.lib libraries.
- When it gives some linking errors related to no-reference blah blah, it might be caused by interpreting .h and .c files as C++ files. You need the following headers and footers on .h files.
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif