Hello,
following the instructions for building cadet from source as outlined in BUILD-WINDOWS.md but also tried the alternative methods listed in the following thread:
I keep getting fatal errors just before I install: msbuild.exe INSTALL.vcxproj /p:Configuration=Release;Platform=x64
.
When I follow the step by step procedure by downloading the individual components (e.g., HDF5, Sundials, etc.) I end up getting this error in this step: " cmake -DCMAKE_INSTALL_PREFIX="<ROOT>\cadet" -DBUILD_TESTS=OFF -G "Visual Studio 16 2019" -A x64 -DBLA_VENDOR=Intel10_64lp_seq -DENABLE_STATIC_LINK_LAPACK=ON ..\code\
" and this is what appears on my CMD:
Found LAPACK: FALSE
Found TBB: TRUE
Version 2021.11 (Interface 12110)
Include C:/Users/Kostas/CADET/Libs/tbb/include
Definitions __TBB_NO_IMPLICIT_LINKAGE=1
Libs C:/Users/Kostas/CADET/Libs/tbb/lib/intel64/vc14/tbb.lib
Found SUNDIALS: TRUE
Version 3.2.1
Packaged
Found SuperLU: FALSE
Found UMFPACK: FALSE
Found HDF5: TRUE
Version 1.14.3
Includes C:/Users/Kostas/CADET/Libs/hdf5/include
Libs C:/Users/Kostas/CADET/Libs/hdf5/lib/hdf5.lib
Defs
Found Matlab: TRUE
Version 9.10
In C:/Program Files/MATLAB/R2021a
Includes C:/Program Files/MATLAB/R2021a/extern/include
Libs C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libmex.lib;C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libmx.lib;C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libMatlabDataArray.lib;C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libMatlabEngine.lib;C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libmwlapack.lib;C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libmwblas.lib;Matlab_TBB_LIBRARY-NOTFOUND;Matlab_UMFPACK_LIBRARY-NOTFOUND
MKL C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libmwlapack.lib C:/Program Files/MATLAB/R2021a/extern/lib/win64/microsoft/libmwblas.lib
LAPACK functions have trailing underscore: OFF
Declares mxCreateUninitNumericMatrix: ON
Declares mxCreateUninitNumericArray: ON
TBB Matlab_TBB_LIBRARY-NOTFOUND (interface version )
Parallelization (TBB compatibility):
UMFPACK Matlab_UMFPACK_LIBRARY-NOTFOUND (enforced OFF)
-----------------------------------------------------------------------
-- Configuring done (2.1s)
CMake Error at test/CMakeLists.txt:45 (add_executable):
Error evaluating generator expression:
$<TARGET_OBJECTS:libcadet_object>
Objects of target "libcadet_object" referenced but no such target exists.
CMake Error at test/CMakeLists.txt:45 (add_executable):
Error evaluating generator expression:
$<TARGET_OBJECTS:libcadet_object>
Objects of target "libcadet_object" referenced but no such target exists.
CMake Error at test/CMakeLists.txt:45 (add_executable):
Error evaluating generator expression:
$<TARGET_OBJECTS:libcadet_object>
Objects of target "libcadet_object" referenced but no such target exists.
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE_NAME:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE_NAME:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE_NAME:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE:libcadet_shared>
No target "libcadet_shared"
CMake Error at src/cadet-cli/CMakeLists.txt:36 (add_custom_command):
Error evaluating generator expression:
$<TARGET_FILE_NAME:libcadet_shared>
No target "libcadet_shared"
CMake Error at test/CMakeLists.txt:45 (add_executable):
No SOURCES given to target: testRunner
CMake Generate step failed. Build files cannot be regenerated correctly.
Any idea what might cause it?
Best regards,
Kostas