mercredi 9 mai 2012

Compile pixelstruct

In order to compile pixelstruct. Here is how I did:
  1. Download pixelstruct using SVN:  svn checkout http://pixelstruct.googlecode.com/svn/trunk/ pixelstruct-read-only
  2. Install the library needed:  sudo apt-get install libqt4-dev libcgal-dev cmake
  3. Go in src/glwidget.h and add the line: #include "GL/glut.h"
  4. Remove the folder cmake as it contains an old script to find CGAL
  5. Go in src/CMakeLists.txt and add the line: INCLUDE( ${CGAL_USE_FILE} )
  6. Compile using make command

Aucun commentaire:

Enregistrer un commentaire