Thursday, September 26, 2013

CMake+BOOST+GLUT+Qt4.8.1+QtCreator on Ubuntu-12.04

1.Install required tools.CMake,GLUT(freeglut3,freeglut3-dev) and X Miscellaneous Utilities headers(libxmu),X Input Device headers(libxi-dev) with this command.

sudo apt-get install cmake freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev 

2.Qt-4.8.1 was installed already.
3 Export qmake PATH to ENV,using bash_profile or .profile as appropriate.or mention qmake PATH where ever necessary,like if the build files are generated using cmake-gui then for the QT_QMAKE_EXECUTABLE  property name show the qmake PATH.
4.Show the BOOST path /usr/include/
6.Already the glut and glew dependencies are mentioned in the FindGLUT.cmake and FindGLEW.cmake files which are SET in the main CMakeLists.txt file.
5.configure and generate the build files and subsequently compile the project sources with make -j8.


No comments:

Post a Comment