Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring incomplete, errors occurred! #3

Open
gilgamesch47 opened this issue Aug 6, 2019 · 0 comments
Open

Configuring incomplete, errors occurred! #3

gilgamesch47 opened this issue Aug 6, 2019 · 0 comments

Comments

@gilgamesch47
Copy link

gilgamesch47 commented Aug 6, 2019

Hello,
this is my first issue submission so I hope I do everything correctly.

I installed all the dependencies and tried different combinations of folder relations.

My latest folder structure is:

~/GIT/ApproxMVBB.git
~/GIT/GRSFramework.git
~/GIT/build/ApproxMVBB
~/GIT/build/GRSFramework/release/

I got an error that ApproxMVBB couldn't be found (as expected) so I changed "FindApproxMVBBSource.cmake" as follows:

#Find Include Headers
set(ApproxMVBB_SEARCH_PATH "~/GIT/ApproxMVBB/")
set(ApproxMVBB_INC_DIR "~/GIT/ApproxMVBB/include/")

Now it works but I can still not compile.

Terminal output is as follows:

uchi@uchi-B360M-DS3H:~/GIT/build/GRSFramework/release$ cmake ../../../GRSFramework -DGRSF_BUILD_GUI=ON -DGRSF_BUILD_MPI=ON -DGRSF_BUILD_NOGUI=ON -DGRSF_BUILD_SIMCONVERTER=ON
CMake Warning at CMakeLists.txt:27 (MESSAGE):
  Matched Release build!


-- Module path is now set to: /home/uchi/GIT/GRSFramework/cmake/
-- Project name is: GRSFramework-Release
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Compiler ID is: GNU
-- Setting Values for GNU
-- Set make program to /home/uchi/GIT/build/GRSFramework/release/parallelmake.sh
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found components:  doxygen dot 
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") 
-- BOOST_ROOT is set to: 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found Boost: /usr/include (found version "1.58.0") found components:  system thread filesystem serialization chrono date_time atomic 
-- Found PugiXML: /usr/lib/x86_64-linux-gnu/libpugixml.so  
-- PugiXML include = /usr/include
-- PugiXML library = /usr/lib/x86_64-linux-gnu/libpugixml.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Meta: Setup External Projext
-- Found Meta: /home/uchi/GIT/build/GRSFramework/release/src/meta/include  
-- Looking for ASSIMP...
-- ASSIMP_PREFIX_PATH changed.
-- Checking for module 'ASSIMP'
--   No package 'ASSIMP' found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found ASSIMP: optimized;/usr/lib/x86_64-linux-gnu/libassimp.so;debug;/usr/lib/x86_64-linux-gnu/libassimp.so
-- Found Assimp: optimized;/usr/lib/x86_64-linux-gnu/libassimp.so;debug;/usr/lib/x86_64-linux-gnu/libassimp.so (Required is at least version "3") 
-- Found ApproxMVBBSource: ~/GIT/ApproxMVBB/include/  
-- Added  to CMAKE_CXX and CMAKE_C_FLAGS: -std=c++14 -ftree-vectorize -ftree-vectorizer-verbose=0 -fmessage-length=0 -Wno-enum-compare  and -fmessage-length=0 
-- GRSFramework Version: 0.3.0-g5f1e8dca64 extracted from git tags!
-- ==============================Project: GRSFSimGUI ==================================
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- Checking for module 'OIS'
--   Found OIS, version 1.5.0
-- Found OIS: optimized;/usr/local/lib/libOIS.so;debug;/usr/local/lib/libOIS.so
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- Checking for module 'OGRE'
--   Found OGRE, version 1.9.0
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
CMake Warning (dev) at /usr/local/share/cmake-3.15/Modules/FindBoost.cmake:1251 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "chrono" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.15/Modules/FindBoost.cmake:1885 (_Boost_MISSING_DEPENDENCIES)
  cmake/FindOGRE.cmake:322 (find_package)
  projects/granularRigidBodySimulationGUI/CMakeLists.txt:40 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
-- OGRE and OIS Library have been found!
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBExternalSources.cmake:1 (include):
  include could not find load file:

    IncludeInstallFolderPostfix
Call Stack (most recent call first):
  /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:11 (include)
  projects/granularRigidBodySimulationGUI/CMakeLists.txt:197 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Adding  ApproxMVBB - Diameter ======================
-- ====================================================
-- Adding  ApproxMVBB - GeometryPredicates ============
-- Performing Test HAVE__FPU_SETCW
-- Performing Test HAVE__FPU_SETCW - Failed
-- Performing Test HAVE_FPSETPREC
-- Performing Test HAVE_FPSETPREC - Failed
-- Performing Test HAVE__CONTROLFP
-- Performing Test HAVE__CONTROLFP - Failed
-- Performing Test HAVE__CONTROLFP_S
-- Performing Test HAVE__CONTROLFP_S - Failed
-- Performing Test HAVE_FPU_INLINE_ASM_X86
-- Performing Test HAVE_FPU_INLINE_ASM_X86 - Success
-- Floating point control:
            HAVE__FPU_SETCW 
            HAVE_FPSETPREC 
            HAVE__CONTROLFP 
            HAVE__CONTROLFP_S 
            HAVE_FPU_INLINE_ASM_X86 1
-- ====================================================
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:29 (include):
  include could not find load file:

    WriteConfigFile
Call Stack (most recent call first):
  projects/granularRigidBodySimulationGUI/CMakeLists.txt:197 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Link directories are:
-- Linked libraries are:
--       /usr/lib/x86_64-linux-gnu/libboost_system.so
--       /usr/lib/x86_64-linux-gnu/libboost_thread.so
--       -lpthread
--       /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
--       /usr/lib/x86_64-linux-gnu/libboost_serialization.so
--       /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--       /usr/lib/x86_64-linux-gnu/libboost_date_time.so
--       /usr/lib/x86_64-linux-gnu/libboost_atomic.so
--       optimized
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       debug
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       /usr/lib/x86_64-linux-gnu/libz.so
--       /usr/lib/x86_64-linux-gnu/libpugixml.so
--       optimized
--       /usr/lib/x86_64-linux-gnu/libOgreMain.so
--       debug
--       /usr/lib/x86_64-linux-gnu/libOgreMain.so
--       /usr/lib/x86_64-linux-gnu/libboost_thread.so
--       -lpthread
--       /usr/lib/x86_64-linux-gnu/libboost_date_time.so
--       /usr/lib/x86_64-linux-gnu/libboost_system.so
--       /usr/lib/x86_64-linux-gnu/libboost_atomic.so
--       /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--       /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--       optimized
--       /usr/lib/x86_64-linux-gnu/libOgreOverlay.so
--       debug
--       /usr/lib/x86_64-linux-gnu/libOgreOverlay.so
--       optimized
--       /usr/local/lib/libOIS.so
--       debug
--       /usr/local/lib/libOIS.so
-- Add executable:  
-- =========================================================================
-- ==============================Project: GRSFSim ==================================
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBExternalSources.cmake:1 (include):
  include could not find load file:

    IncludeInstallFolderPostfix
Call Stack (most recent call first):
  /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:11 (include)
  projects/granularRigidBodySimulation/CMakeLists.txt:107 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Adding  ApproxMVBB - Diameter ======================
-- ====================================================
-- Adding  ApproxMVBB - GeometryPredicates ============
-- Floating point control:
            HAVE__FPU_SETCW 
            HAVE_FPSETPREC 
            HAVE__CONTROLFP 
            HAVE__CONTROLFP_S 
            HAVE_FPU_INLINE_ASM_X86 1
-- ====================================================
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:29 (include):
  include could not find load file:

    WriteConfigFile
Call Stack (most recent call first):
  projects/granularRigidBodySimulation/CMakeLists.txt:107 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Include directories are:
--       /usr/include
--       /usr/include/eigen3
--       /usr/include/eigen3/unsupported
--       /usr/include
--       /home/uchi/GIT/build/GRSFramework/release/src/meta/include
--       /usr/include
--       /usr/include/assimp
--       /home/uchi/GIT/build/GRSFramework/release/projects/granularRigidBodySimulation/include/
--       /home/uchi/GIT/GRSFramework/projects/granularRigidBodySimulation/include/
--       /home/uchi/GIT/GRSFramework/projects/granularRigidBodySimulation/../granularRigidBodySimulationGUI//include/
--       /home/uchi/GIT/GRSFramework/common/include/
--       /home/uchi/GIT/GRSFramework/common/external/tinyformat/
--       /home/uchi/GIT/GRSFramework/common/external/SRDelegates/include/
--       /home/uchi/GIT/GRSFramework/common/external/FastFunc/include/
--       /home/uchi/GIT/GRSFramework/common/external/getoptpp/
--       /home/uchi/GIT/GRSFramework/common/external/getoptpp/src/
--       /home/uchi/GIT/GRSFramework/common/external/
-- Link directories are:
-- Linked libraries are:
--       /usr/lib/x86_64-linux-gnu/libboost_system.so
--       /usr/lib/x86_64-linux-gnu/libboost_thread.so
--       -lpthread
--       /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
--       /usr/lib/x86_64-linux-gnu/libboost_serialization.so
--       /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--       /usr/lib/x86_64-linux-gnu/libboost_date_time.so
--       /usr/lib/x86_64-linux-gnu/libboost_atomic.so
--       optimized
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       debug
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       /usr/lib/x86_64-linux-gnu/libz.so
--       /usr/lib/x86_64-linux-gnu/libpugixml.so
-- Add executable:  
CMake Error at projects/granularRigidBodySimulation/CMakeLists.txt:195 (ADD_DEPENDENCIES):
  ADD_DEPENDENCIES called with incorrect number of arguments


-- =========================================================================
-- ==============================Project: GRSFSimMPI ==================================
-- Found MPI_C: /usr/lib/openmpi/lib/libmpi.so (found version "3.0") 
-- Found MPI_CXX: /usr/lib/openmpi/lib/libmpi_cxx.so (found version "3.0") 
-- Found MPI: TRUE (found version "3.0")  
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBExternalSources.cmake:1 (include):
  include could not find load file:

    IncludeInstallFolderPostfix
Call Stack (most recent call first):
  /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:11 (include)
  projects/granularRigidBodySimulationMPI/CMakeLists.txt:155 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Adding  ApproxMVBB - Diameter ======================
-- ====================================================
-- Adding  ApproxMVBB - GeometryPredicates ============
-- Floating point control:
            HAVE__FPU_SETCW 
            HAVE_FPSETPREC 
            HAVE__CONTROLFP 
            HAVE__CONTROLFP_S 
            HAVE_FPU_INLINE_ASM_X86 1
-- ====================================================
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:29 (include):
  include could not find load file:

    WriteConfigFile
Call Stack (most recent call first):
  projects/granularRigidBodySimulationMPI/CMakeLists.txt:155 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Include directories are:
--       /usr/include
--       /usr/include/eigen3
--       /usr/include/eigen3/unsupported
--       /usr/include
--       /home/uchi/GIT/build/GRSFramework/release/src/meta/include
--       /usr/include
--       /usr/include/assimp
--       /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent
--       /usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include
--       /usr/lib/openmpi/include/openmpi
--       /usr/lib/openmpi/include
--       /home/uchi/GIT/build/GRSFramework/release/projects/granularRigidBodySimulationMPI/include/
--       /home/uchi/GIT/GRSFramework/projects/granularRigidBodySimulationMPI/include/
--       /home/uchi/GIT/GRSFramework/common/include/
--       /home/uchi/GIT/GRSFramework/common/external/tinyformat/
--       /home/uchi/GIT/GRSFramework/common/external/SRDelegates/include/
--       /home/uchi/GIT/GRSFramework/common/external/FastFunc/include/
--       /home/uchi/GIT/GRSFramework/common/external/getoptpp/
--       /home/uchi/GIT/GRSFramework/common/external/getoptpp/src/
--       /home/uchi/GIT/GRSFramework/common/external/
-- Link directories are:
-- Linked libraries are:
--       /usr/lib/x86_64-linux-gnu/libboost_system.so
--       /usr/lib/x86_64-linux-gnu/libboost_thread.so
--       -lpthread
--       /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
--       /usr/lib/x86_64-linux-gnu/libboost_serialization.so
--       /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--       /usr/lib/x86_64-linux-gnu/libboost_date_time.so
--       /usr/lib/x86_64-linux-gnu/libboost_atomic.so
--       optimized
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       debug
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       /usr/lib/x86_64-linux-gnu/libz.so
--       /usr/lib/x86_64-linux-gnu/libpugixml.so
--       /usr/lib/openmpi/lib/libmpi_cxx.so
--       /usr/lib/openmpi/lib/libmpi.so
-- Add executable:  
CMake Error at projects/granularRigidBodySimulationMPI/CMakeLists.txt:255 (ADD_DEPENDENCIES):
  ADD_DEPENDENCIES called with incorrect number of arguments


-- =========================================================================
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.8.16") found components:  CXX HL 
-- ==============================Project: GRSFConverter ==================================
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBExternalSources.cmake:1 (include):
  include could not find load file:

    IncludeInstallFolderPostfix
Call Stack (most recent call first):
  /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:11 (include)
  projects/converter/CMakeLists.txt:106 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Adding  ApproxMVBB - Diameter ======================
-- ====================================================
-- Adding  ApproxMVBB - GeometryPredicates ============
-- Floating point control:
            HAVE__FPU_SETCW 
            HAVE_FPSETPREC 
            HAVE__CONTROLFP 
            HAVE__CONTROLFP_S 
            HAVE_FPU_INLINE_ASM_X86 1
-- ====================================================
CMake Error at /home/uchi/GIT/ApproxMVBB/cmake/DefineApproxMVBBSources.cmake:29 (include):
  include could not find load file:

    WriteConfigFile
Call Stack (most recent call first):
  projects/converter/CMakeLists.txt:106 (INCLUDE_ALL_ApproxMVBB_SOURCE)


-- Include directories are:
--       /usr/include/hdf5/serial
--       /usr/include
--       /usr/include/eigen3
--       /usr/include/eigen3/unsupported
--       /usr/include
--       /home/uchi/GIT/build/GRSFramework/release/src/meta/include
--       /usr/include
--       /usr/include/assimp
--       /home/uchi/GIT/build/GRSFramework/release/projects/converter/include/
--       /home/uchi/GIT/GRSFramework/projects/converter/include/
--       /home/uchi/GIT/GRSFramework/projects/converter/../granularRigidBodySimulationGUI//include/
--       /home/uchi/GIT/GRSFramework/common/include/
--       /home/uchi/GIT/GRSFramework/common/external/tinyformat/
--       /home/uchi/GIT/GRSFramework/common/external/SRDelegates/include/
--       /home/uchi/GIT/GRSFramework/common/external/FastFunc/include/
--       /home/uchi/GIT/GRSFramework/common/external/getoptpp/
--       /home/uchi/GIT/GRSFramework/common/external/getoptpp/src/
--       /home/uchi/GIT/GRSFramework/common/external/exprtk/
--       /home/uchi/GIT/GRSFramework/common/external/
-- Link directories are:
-- Linked libraries are:
--       /usr/lib/x86_64-linux-gnu/libboost_system.so
--       /usr/lib/x86_64-linux-gnu/libboost_thread.so
--       -lpthread
--       /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
--       /usr/lib/x86_64-linux-gnu/libboost_serialization.so
--       /usr/lib/x86_64-linux-gnu/libboost_chrono.so
--       /usr/lib/x86_64-linux-gnu/libboost_date_time.so
--       /usr/lib/x86_64-linux-gnu/libboost_atomic.so
--       optimized
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       debug
--       /usr/lib/x86_64-linux-gnu/libassimp.so
--       /usr/lib/x86_64-linux-gnu/libz.so
--       /usr/lib/x86_64-linux-gnu/libpugixml.so
--       /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so
--       /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so
--       /usr/lib/x86_64-linux-gnu/libpthread.so
--       /usr/lib/x86_64-linux-gnu/libsz.so
--       /usr/lib/x86_64-linux-gnu/libz.so
--       /usr/lib/x86_64-linux-gnu/libdl.so
--       /usr/lib/x86_64-linux-gnu/libm.so
-- Add executable:  
CMake Error at projects/converter/CMakeLists.txt:190 (add_dependencies):
  add_dependencies called with incorrect number of arguments


-- =========================================================================
-- Configuring incomplete, errors occurred!
See also "/home/uchi/GIT/build/GRSFramework/release/CMakeFiles/CMakeOutput.log".
See also "/home/uchi/GIT/build/GRSFramework/release/CMakeFiles/CMakeError.log".

Hope to get some help on this. Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant