Regard3D icon indicating copy to clipboard operation
Regard3D copied to clipboard

Ubuntu build fails

Open ivanfarkas2 opened this issue 4 years ago • 1 comments

Ubuntu 18.04 build fails

Branch: develop

Command

cmake -Wno-dev -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCERES_DIR=~/vr/ceres-bin -DOPENMVG_SRC_DIR=~/vr/openMVG-1.4_r3d/src -DUSE_SSE2=TRUE ../src

Output

-- The CXX compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_baseu_net-3.0;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0 (found version "3.0.4")
-- Checking for module 'flann>=1.7.0'
--   Found flann, version 1.9.1
-- Found FLANN: /usr/lib/x86_64-linux-gnu/libflann_cpp_s.a (Required is at least version "1.7.0")
-- FLANN found (include: /usr/include, lib: optimized;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a;debug;/usr/lib/x86_64-linux-gnu/libflann_cpp_s.a)
-- Found osgFX: /usr/lib/x86_64-linux-gnu/libosgFX.so
-- Found osgPresentation: /usr/lib/x86_64-linux-gnu/libosgPresentation.so
-- Found osgVolume: /usr/lib/x86_64-linux-gnu/libosgVolume.so
-- Found osgWidget: /usr/lib/x86_64-linux-gnu/libosgWidget.so
-- Found osgViewer: /usr/lib/x86_64-linux-gnu/libosgViewer.so
-- Found osgAnimation: /usr/lib/x86_64-linux-gnu/libosgAnimation.so
-- Found osgText: /usr/lib/x86_64-linux-gnu/libosgText.so
-- Found osgDB: /usr/lib/x86_64-linux-gnu/libosgDB.so
-- Found osgGA: /usr/lib/x86_64-linux-gnu/libosgGA.so
-- Found osgManipulator: /usr/lib/x86_64-linux-gnu/libosgManipulator.so
-- Found osgTerrain: /usr/lib/x86_64-linux-gnu/libosgTerrain.so
-- Found osgParticle: /usr/lib/x86_64-linux-gnu/libosgParticle.so
-- Found osgShadow: /usr/lib/x86_64-linux-gnu/libosgShadow.so
-- Found osgSim: /usr/lib/x86_64-linux-gnu/libosgSim.so
-- Found osgUtil: /usr/lib/x86_64-linux-gnu/libosgUtil.so
-- Found osg: /usr/lib/x86_64-linux-gnu/libosg.so
-- Found OpenThreads: /usr/lib/x86_64-linux-gnu/libOpenThreads.so
-- Found OpenSceneGraph: /usr/lib/x86_64-linux-gnu/libosgFX.so;/usr/lib/x86_64-linux-gnu/libosgPresentation.so;/usr/lib/x86_64-linux-gnu/libosgVolume.so;/usr/lib/x86_64-linux-gnu/libosgWidget.so;/usr/lib/x86_64-linux-gnu/libosgViewer.so;/usr/lib/x86_64-linux-gnu/libosgAnimation.so;/usr/lib/x86_64-linux-gnu/libosgText.so;/usr/lib/x86_64-linux-gnu/libosgDB.so;/usr/lib/x86_64-linux-gnu/libosgGA.so;/usr/lib/x86_64-linux-gnu/libosgManipulator.so;/usr/lib/x86_64-linux-gnu/libosgTerrain.so;/usr/lib/x86_64-linux-gnu/libosgParticle.so;/usr/lib/x86_64-linux-gnu/libosgShadow.so;/usr/lib/x86_64-linux-gnu/libosgSim.so;/usr/lib/x86_64-linux-gnu/libosgUtil.so;/usr/lib/x86_64-linux-gnu/libosg.so;/usr/lib/x86_64-linux-gnu/libOpenThreads.so (found suitable version "3.2.3", minimum required is "3.0.0")
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
Found Eigen
CMake Error at /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /usr/local/lib/cmake/boost_date_time-1.73.0/boost_date_time-config.cmake

  but it set boost_date_time_FOUND to FALSE so package "boost_date_time" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_date_time.so.1.73.0 (shared, Boost_USE_STATIC_LIBS=ON)

  * libboost_date_time.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
  /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake:258 (boost_find_component)
  /opt/cmake-3.17.3-Linux-x86_64/share/cmake-3.17/Modules/FindBoost.cmake:444 (find_package)
  CMakeLists.txt:182 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "~/vr/Regard3D/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log

ivanfarkas2 avatar Jun 04 '20 22:06 ivanfarkas2

I've been attempting to compile regard3d linux myself, without success, but if you edit CMakeCache.txt and add the line Boost_NO_BOOST_CMAKE=ON. This error will go away.

Zinc-OS avatar Apr 18 '21 11:04 Zinc-OS