help with Ubuntu 14.04 install

382 views
Skip to first unread message

Eloy López

unread,
Feb 18, 2015, 7:14:28 PM2/18/15
to ope...@googlegroups.com
Hi,

I can't build properly OpenVSP in Ubuntu 14.04, I've followed this instructions:
Also tried the SuperProject way and the other tricks suggested at the forum without success.

¡Please help!

Rob McDonald

unread,
Feb 18, 2015, 7:57:55 PM2/18/15
to ope...@googlegroups.com
Ok, the online instructions are pretty out of date -- they target 2.3.0.

I installed Ubuntu 14.04 last week and made some fixes to help the
process -- those fixes are included in 3.0.4. It 'should' go pretty
smoothly.

On Ubuntu, I suggest you use as many system-installed libraries as
possible. It is the Linux way. You'll need the following packages
installed to build OpenVSP 3.0.4

git
git-gui
cmake
libxml2-dev
libfltk1.3-dev
g++
libcpptest-dev
libjpeg-dev
libglm-dev
libeigen3-dev
libcminpack-dev
libglew-dev

Each one can be installed with 'sudo apt-get install packagename'.

Then, you'll need to pass a bunch of command line parameters to CMake
to tell it you want to use system-installed libraries.

cmake -DCMAKE_BUILD_TYPE=Release -DVSP_USE_SYSTEM_FLTK=true
-DVSP_USE_SYSTEM_CPPTEST=true -DVSP_USE_SYSTEM_LIBXML2=true
-DVSP_USE_SYSTEM_EIGEN=true -DVSP_USE_SYSTEM_FLTK=true
-DVSP_USE_SYSTEM_GLM=true -DVSP_USE_SYSTEM_GLEW=true
-DVSP_USE_SYSTEM_CMINPACK=true ../repo/SuperProject


If this has problems, please come back with specific error messages
and I'll try to help you through the process.

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "OpenVSP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openvsp+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Eloy López

unread,
Feb 18, 2015, 8:43:08 PM2/18/15
to ope...@googlegroups.com
Thanks you very much!
I've followed your instructions and now it seems it's doing more work than before.
After a while I've got these error messages:

[ 21%] Building CXX object src/vsp_graphic/CMakeFiles/vsp_graphic.dir/src/VBO.cpp.o
/home/eloy/project/OpenVSP/src/vsp_graphic/src/VBO.cpp: In constructor ‘VSPGraphic::VBO::VBO(GLenum)’:
/home/eloy/project/OpenVSP/src/vsp_graphic/src/VBO.cpp:20:73: error: ‘printf’ was not declared in this scope
         printf("Current driver does not support Vertex Buffer Object.\n");
                                                                         ^
/home/eloy/project/OpenVSP/src/vsp_graphic/src/VBO.cpp:29:73: error: ‘printf’ was not declared in this scope
         printf("Current driver does not support Vertex Buffer Object.\n");
                                                                         ^
make[5]: *** [src/vsp_graphic/CMakeFiles/vsp_graphic.dir/src/VBO.cpp.o] Error 1
make[4]: *** [src/vsp_graphic/CMakeFiles/vsp_graphic.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [OpenVSP-prefix/src/OpenVSP-stamp/OpenVSP-build] Error 2
make[1]: *** [CMakeFiles/OpenVSP.dir/all] Error 2
make: *** [all] Error 2


You received this message because you are subscribed to a topic in the Google Groups "OpenVSP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openvsp/YF64iqoFDFs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openvsp+u...@googlegroups.com.

Rob McDonald

unread,
Feb 18, 2015, 8:44:59 PM2/18/15
to ope...@googlegroups.com
Sorry about that. I added those lines very recently -- and my machine
automatically found stdio.h.

You can either

#include <stdio.h>

At the top of VBO.cpp

Or, you can comment out both printf lines in VBO.cpp -- If VSP doesn't
crash when it loads, you won't care about those error messages (:

Rob

Eloy López

unread,
Feb 18, 2015, 9:13:24 PM2/18/15
to ope...@googlegroups.com
Thanks you very much!!!!!
I've added this line in VBO.cpp and the app is working ok.
Thanks you again!!!!
Reply all
Reply to author
Forward
0 new messages