HI Everyone,
I have been attempting to build OpenVSP on Ubuntu 16.0.4 LTS, but have been unable to thus far.
Initially, I was having issues similar to the ones found in the thread "
Ubuntu 15.10 build difficulties with OpenVSP 3.4.1" . Downloading the Ubuntu_15.10_fixes branch from GitHub fixed the error associated with fluid, but I have since encountered a different error.
I have double checked that all the packages specified on the
installation wiki are installed and up to date.
Below is a shortened version of the output I receive when I attempt to build the program (If was very long/repetitive) . Attached is a text file with the unabridged output.
----------------------------------------------------------------------------
[ 5%] Performing forcebuild step for 'Libraries'
[ 11%] Performing build step for 'Libraries'
[ 50%] Built target LIBIGES
[100%] Built target CODEELI
[ 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/lib/x86_64-linux-gnu/libjpeg.so
-- JPEG_NAMES fltk_jpegfltkjpegfltkjpegdjpeg
-- GLM_INCLUDE_DIR = /usr/include
-- Found Code-Eli version 0.3.6, and requested version 0.3.6
-- CMINPACK_LIBRARY /usr/lib/x86_64-linux-gnu/libcminpack.so
-- STEPCODE_INSTALL_DIR: /home/josh/Documents/Research/OpenVSP/build/OpenVSP-prefix/src/OpenVSP-build/src/external/STEPCODE-prefix/src/STEPCODE/../sc-install
-- LIBIGES_LIBRARIES: /home/josh/Documents/Research/OpenVSP/build/Libraries-prefix/src/Libraries-build/LIBIGES-prefix/lib/libiges_static.a
-- LIBIGES_INCLUDE_DIR: /home/josh/Documents/Research/OpenVSP/build/Libraries-prefix/src/Libraries-build/LIBIGES-prefix/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/josh/Documents/Research/OpenVSP/build/OpenVSP-prefix/src/OpenVSP-build
[ 61%] Performing forcebuild step for 'OpenVSP'
[ 66%] Performing build step for 'OpenVSP'
[ 2%] Built target STEPCODE
[ 3%] Built target glfont2
[ 3%] Built target triangle
[ 5%] Built target sixseries
[ 6%] Built target tritri
[ 16%] Built target Angelscript
[ 16%] Built target load_jpg
[ 28%] Built target vsp_graphic
[ 45%] Built target screens
[ 45%] Building CXX object src/util/CMakeFiles/util.dir/BndBox.cpp.o
In file included from /home/josh/Documents/Research/OpenVSP/build/Libraries-prefix/src/Libraries-build/CODEELI-prefix/src/CODEELI-build/include/eli/code_eli.hpp:32:0,
from /home/josh/Documents/Research/OpenVSP/repo/src/util/Vec3d.h:19,
from /home/josh/Documents/Research/OpenVSP/repo/src/util/BndBox.h:14,
from /home/josh/Documents/Research/OpenVSP/repo/src/util/BndBox.cpp:11:
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:549:26: error: ‘EIGEN_DEVICE_FUNC’ does not name a type
template<typename T> EIGEN_DEVICE_FUNC void ignore_unused_variable(const T&) {}
^
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h: In constructor ‘Eigen::internal::variable_if_dynamic<T, Value>::variable_if_dynamic(T)’:
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:552:36: error: ‘ignore_unused_variable’ is not a member of ‘Eigen::internal’
#define EIGEN_UNUSED_VARIABLE(var) Eigen::internal::ignore_unused_variable(var);
^
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:523:38: note: in expansion of macro ‘EIGEN_UNUSED_VARIABLE’
#define EIGEN_ONLY_USED_FOR_DEBUG(x) EIGEN_UNUSED_VARIABLE(x)
^
....
/usr/include/eigen3/Eigen/src/OrderingMethods/Ordering.h: In member function ‘void Eigen::COLAMDOrdering<StorageIndex>::operator()(const MatrixType&, Eigen::COLAMDOrdering<StorageIndex>::PermutationType&)’:
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:552:36: error: ‘ignore_unused_variable’ is not a member of ‘Eigen::internal’
#define EIGEN_UNUSED_VARIABLE(var) Eigen::internal::ignore_unused_variable(var);
^
/usr/include/eigen3/Eigen/src/OrderingMethods/Ordering.h:146:7: note: in expansion of macro ‘EIGEN_UNUSED_VARIABLE’
EIGEN_UNUSED_VARIABLE(info);
^
src/util/CMakeFiles/util.dir/build.make:62: recipe for target 'src/util/CMakeFiles/util.dir/BndBox.cpp.o' failed
make[5]: *** [src/util/CMakeFiles/util.dir/BndBox.cpp.o] Error 1
CMakeFiles/Makefile2:703: recipe for target 'src/util/CMakeFiles/util.dir/all' failed
make[4]: *** [src/util/CMakeFiles/util.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make[3]: *** [all] Error
CMakeFiles/OpenVSP.dir/build.make:113: recipe for target 'OpenVSP-prefix/src/OpenVSP-stamp/OpenVSP-build' failed
make[2]: *** [OpenVSP-prefix/src/OpenVSP-stamp/OpenVSP-build] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OpenVSP.dir/all' failed
make[1]: *** [CMakeFiles/OpenVSP.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
-----------------------------------------------------------------------
I am relatively new to Linux, and have no prior experience with Cmake, so any help would be greatly appreciated.
Thank you