Fighting to install OpenVSP

212 views
Skip to first unread message

Joel Malissa

unread,
Jan 21, 2016, 3:48:01 PM1/21/16
to OpenVSP
Dear OpenVSP Pros,

For the past day or two, I have been fighting with a new Red Hat linux machine (RHEL6) to install VSP.  I had to install gcc 5.3.0 manually since my machine only came with gcc 4.4.7, and I'm not sure if this is part of the problem.  I've gotten past several stumbling blocks already, but now I seem to be stuck beyond my ability to google my way past this.  When I run sudo make, I get the output below.  Do you have any recommendations to move forward?

Thank you,
Joel

$ sudo make
[  5%] Performing forcebuild step for 'Libraries'
[ 11%] Performing build step for 'Libraries'
[ 50%] Built target CODEELI
[100%] Built target LIBIGES
[ 16%] No install step for 'Libraries'
[ 22%] Completed 'Libraries'
[ 50%] Built target Libraries
[ 55%] Performing configure step for 'OpenVSP'
-- JPEG_INCLUDE_DIR /usr/include
-- JPEG_LIBRARY /usr/lib64/libjpeg.so
-- JPEG_NAMES fltk_jpegfltkjpegfltkjpegdjpeg
-- GLM_INCLUDE_DIR = /usr/local/include
-- Found Code-Eli version 0.3.6, and requested version 0.3.6
-- CMINPACK_LIBRARY /usr/lib64/libcminpack.so
-- STEPCODE_INSTALL_DIR: /home/mjoel/Programs/OpenVSP/build/OpenVSP-prefix/src/OpenVSP-build/src/external/STEPCODE-prefix/src/STEPCODE/../sc-install
-- LIBIGES_LIBRARIES: /home/mjoel/Programs/OpenVSP/build/Libraries-prefix/src/Libraries-build/LIBIGES-prefix/lib/libiges_static.a
-- LIBIGES_INCLUDE_DIR: /home/mjoel/Programs/OpenVSP/build/Libraries-prefix/src/Libraries-build/LIBIGES-prefix/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mjoel/Programs/OpenVSP/build/OpenVSP-prefix/src/OpenVSP-build
[ 61%] Performing forcebuild step for 'OpenVSP'
[ 66%] Performing build step for 'OpenVSP'
[  2%] Built target STEPCODE
[  2%] Built target glfont2
[  2%] Built target stb_image
[  3%] Built target triangle
[  5%] Built target sixseries
[  6%] Built target tritri
[ 16%] Built target Angelscript
[ 17%] Built target load_jpg
[ 28%] Built target vsp_graphic
[ 44%] Built target screens
[ 49%] Built target util
[ 50%] Built target xmlvsp
[ 63%] Built target geom_core
[ 67%] Built target cfd_mesh
[ 81%] Built target gui_and_draw
[ 82%] Built target geom_api
[ 83%] Built target geom_api_g
[ 83%] Built target gui_interface_g
[ 84%] Built target apitest
make[5]: *** No rule to make target `/usr/lib64/libfltk_images.so', needed by `src/vsp/apitest_g'.  Stop.
make[4]: *** [src/vsp/CMakeFiles/apitest_g.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
$

Rob McDonald

unread,
Jan 21, 2016, 6:32:26 PM1/21/16
to ope...@googlegroups.com
I'm sorry you've had such trouble. Don't be shy about asking.

I'm not sure exactly which gcc versions work and don't work. I
usually build on llvm/clang on MacOS.
When I have been building with gcc, I've been using a 4.8 version. If
you go too old, C++11 features start dropping off. However, I would
have guessed 4.4 would be OK. To my knowledge I haven't tried any gcc
5.X yet, I guess I need to catch up.

The good news is, that error message is at the very end of the
process. Everything has compiled, but it is having trouble when it
came to the final link steps. All the CMake configuration stuff
passed -- so it shouldn't have run into this problem. However, it
did, so we'll work on it.

From the look of the error, your gcc version isn't the problem.

OpenVSP bundles our own FLTK in the build, but on Linux it is
generally better to use the OS supplied version.

Did you pass -DVSP_USE_SYSTEM_FLTK=true to CMake when you did this build?

That is probably the easiest way to get around this problem.

Also, no need to use 'sudo' when building VSP. You generally only
want to use sudo when you're installing a program on Linux (final
step). Since VSP doesn't have a 'install' target in the build, you
probably don't want to use sudo at all for our stuff.

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.
Reply all
Reply to author
Forward
0 new messages