Skip to content
Hao Su edited this page Jun 22, 2015 · 11 revisions
  • svn checkout svn://svn.code.sf.net/p/vcg/code/trunk/vcglib vcglib

  • build external dependencies

    cd external

    /data1/opt/Qt/5.2.1/gcc_64/bin/qmake -recursive external.pro

    make

  • build meshlab

    /data1/opt/Qt/5.2.1/gcc_64/bin/qmake -recursive meshlab_full.pro

    modify ./meshlabplugins/io_base/Makefile. Add -lGLU to LIBS

Maybe you need to modify Makefile recursively to enable c++11:

sed -i 's/-pipe/-std=gnu++11 -pipe/g' `find ./ -name 'Makefile'`
make

Maybe you also need to modify vcglib/wrap/io_trimesh/import_obj.h following the suggestions of http://sourceforge.net/p/meshlab/bugs/206/

Clone this wiki locally