Hi,
I’m working with pfgerard and we’re trying to get the pulse engine to work in Unity.
The problem comes at compilation time of the Pulse-Superbuild.sln.
I’m getting lots of errors, that point to missing libraries (Qt, BLAS, CUDA, etc.). My understanding is that you don’t need to install anything apart from CMake and Java, is that right? I followed the instructions here:
https://gitlab.kitware.com/physiology/engine#build-environment
I assumed that the missing libraries are fetched and downloaded, but is that not the case?
Do I need to install Qt and others?
Thanks for your help,
Antoine
Here’s an extract of these errors:
– Found unsuitable Qt version “” from NOTFOUND
– Looking for pthread.h
3>-- Looking for pthread.h - not found
3>-- Found Threads: TRUE
3>-- Looking for MKL BLAS: not found
3>-- Looking for Goto BLAS: not found
3>-- Looking for Open BLAS: not found
3>-- Looking for Eigen BLAS: not found
3>-- Looking for Eigen BLAS: not found
3>-- Looking for Atlas BLAS: not found
3>-- Looking for PhiPACK BLAS: not found
3>-- Looking for CXML BLAS: not found
3>-- Looking for DXML BLAS: not found
3>-- Looking for SunPerf BLAS: not found
3>-- Looking for SCSL BLAS: not found
3>-- Looking for SGIMATH BLAS: not found
3>-- Looking for IBM ESSL BLAS: not found
3>-- Looking for IBM ESSL MT BLAS: not found
3>-- Looking for ACML BLAS: not found
3>-- Looking for ACML BLAS: not found
3>-- Looking for ACML BLAS: not found
3>-- Looking for Apple BLAS: not found
3>-- Looking for NAS BLAS: not found
3>-- Looking for Generic BLAS: not found
3>-- Looking for Generic BLAS: not found
3>-- Looking for Generic BLAS: not found–
A library with BLAS API not found. Please specify library location.
3> BLA_VENDOR has been set to All but blas libraries could not be found or
3> check of symbols failed.
3>
3> Please indicate where to find blas libraries. You have three options:
3>
3> - Option 1: Provide the installation directory of BLAS library with cmake
3> option: -DBLAS_DIR=your/path/to/blas
3>
3> - Option 2: Provide the directory where to find BLAS libraries with cmake
3> option: -DBLAS_LIBDIR=your/path/to/blas/libs
3>
3> - Option 3: Update your environment variable (Linux: LD_LIBRARY_PATH,
3> Windows: LIB, Mac: DYLD_LIBRARY_PATH)
3>
3>
3>
3> To follow libraries detection more precisely you can activate a verbose
3> mode with -DBLAS_VERBOSE=ON at cmake configure.
3>
3> You could also specify a BLAS vendor to look for by setting
3> -DBLA_VENDOR=blas_vendor_name.
3>-- Looking for Generic BLAS: not found
3>-- Looking for Generic BLAS: not found
– LAPACK requires BLAS.
3>-- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
3>-- Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES)
3>-- Could NOT find SUPERLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES SUPERLU_VERSION_OK)
3>-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
3>-- Could NOT find BLAS (missing: BLAS_SEQ_LIBRARIES BLAS_LIBRARY_DIRS)
3>-- Performing Test SCOTCH_Num_4
3>-- Performing Test SCOTCH_Num_4 - Failed
3>-- Performing Test SCOTCH_Num_8
3>-- Performing Test SCOTCH_Num_8 - Failed
3>-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
3>-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
3>-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)
3>-- Performing Test PTSCOTCH_Num_4
3>-- Performing Test PTSCOTCH_Num_4 - Failed
3>-- Performing Test PTSCOTCH_Num_8
3>-- Performing Test PTSCOTCH_Num_8 - Failed
3>-- A version of Pastix has been found but pastix_nompi.h does not exist in the include directory. Because Eigen tests require a version without MPI, we disable the Pastix backend.
3>-- Could NOT find SPQR (missing: SPQR_INCLUDES SPQR_LIBRARIES)
3>-- Found unsuitable Qt version “” from NOTFOUND
3>-- Performing Test COMPILER_SUPPORT_FASTMATH
3>-- Performing Test COMPILER_SUPPORT_FASTMATH - Failed
3>-- Performing Test COMPILER_SUPPORT_FPFAST
3>-- Performing Test COMPILER_SUPPORT_FPFAST - Success
3>-- Could NOT find Boost
3>-- Could NOT find GOOGLEHASH (missing: GOOGLEHASH_INCLUDES GOOGLEHASH_COMPILE)
3>-- Could NOT find ADOLC (missing: ADOLC_INCLUDES ADOLC_LIBRARIES)
3>-- Could NOT find MPFR (missing: MPFR_INCLUDES MPFR_LIBRARIES MPFR_VERSION_OK) (Required is at least version “2.3.0”)
3>-- Could NOT find GMP (missing: GMP_INCLUDES GMP_LIBRARIES)
3>-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
3>-- Could NOT find FFTW (missing: FFTW_INCLUDES FFTW_LIBRARIES)
3>-- Found OpenGL: opengl32
3>-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
3>CMake Warning (dev) at unsupported/test/CMakeLists.txt:126 (if):
3> Policy CMP0054 is not set: Only interpret if() arguments as variables or
3> keywords when unquoted. Run “cmake --help-policy CMP0054” for policy
3> details. Use the cmake_policy command to set the policy and suppress this
3> warning.
3>CUDA_TOOLKIT_ROOT_DIR not found or specified
3>-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version “7.0”)
3>-- Found unsuitable Qt version “” from NOTFOUND
3>-- Qt4 not found, so disabling the mandelbrot and opengl demos
6>CMake Error at Pulse.cmake:58 (find_package):
6> By not providing “FindDirent.cmake” in CMAKE_MODULE_PATH this project has
6> asked CMake to find a package configuration file provided by “Dirent”, but
6> CMake did not find one.
6>
6> Could not find a package configuration file provided by “Dirent” with any
6> of the following names:
6>
6> DirentConfig.cmake
6> dirent-config.cmake
6>
6> Add the installation prefix of “Dirent” to CMAKE_PREFIX_PATH or set
6> “Dirent_DIR” to a directory containing one of the above files. If “Dirent”
6> provides a separate development package or SDK, be sure it has been
6> installed.
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: The command “setlocal
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: cd C:\Users\antoi\physiology\builds\install\bin
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: C:
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: “C:\Program Files\CMake\bin\cmake.exe” -DTYPE:STRING=genData -P run.cmake
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmErrorLevel
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: exit /b %1
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmDone
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: setlocal
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: cd C:\Users\antoi\physiology\builds\install\bin
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: C:
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: “C:\Program Files\CMake\bin\cmake.exe” -DTYPE:STRING=genStates -P run.cmake
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmErrorLevel
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: exit /b %1
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :cmDone
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
7>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5): error MSB3073: :VCEnd” exited with code 1.
7>Done building project “PulseData.vcxproj” – FAILED.