Dear CMB team,
I am having some weird issues with cmb-superbuild.
I am executing the following cmake command.
Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DSUPERBUILD_PACKAGE_MODE:STRING=aeva -DENABLE_opencascadesession:STRING=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -Sc:/cmb-superbuild -BC:/cmb-build/RelWithDebInfo -G Ninja
This works well on my machine. But when my colleague uses the same command to build, the following error popped out.
[build] CMake Error at cmake/aevaDependencies.cmake:34 (find_package):
[build] Found package configuration file:
[build]
[build] C:/cmb-build/RelWithDebInfo/install/lib/cmake/smtk-22.07.100/smtkConfig.cmake
[build]
[build] but it set smtk_FOUND to FALSE so package "smtk" is considered to be NOT
[build] FOUND. Reason given by package:
[build]
[build] The following imported targets are referenced, but are missing:
[build] DelaunayShape DelaunayMesh DelaunayMisc DelaunayValidation
[build] DelaunayDiscretization vtkSMTKSourceExt vtkSMTKModelExt
[build]
[build] Call Stack (most recent call first):
[build] CMakeLists.txt:25 (include)
[build]
[build]
[build] -- Configuring incomplete, errors occurred!
[build] See also "C:/cmb-build/RelWithDebInfo/superbuild/aevasession/build/CMakeFiles/CMakeOutput.log".
[build] See also "C:/cmb-build/RelWithDebInfo/superbuild/aevasession/build/CMakeFiles/CMakeError.log".
[build] CMake Error at C:/cmb-build/RelWithDebInfo/superbuild/sb-aevasession-configure.cmake:47 (message):
[build] Failed with exit code 1
[build]
We tried to clean rebuild several times, it is always the same error. And this didn’t happen on my machine. The build process on my machine was smooth and successful.
Any help is appreciated!
Thanks,
Yang