![]() When setting VTK_DIR to /our_build_folder/lib/cmake/vtk-9.1, then when configuring the above CMake file, we get errors: CMake Error at X:/arboreta_auto_build/lib/cmake/vtk-9.1/vtk-config.cmake:138 (include): The CMake file for one of our apps (actually a library), that are using VTK, looks (snippet) like this. We basically want a binary VTK build package that we can just copy into our build folder, and from there build our ‘on top of VTK’ apps. However, when only the the ‘install’ folder of VTK is present, we have problems with apps finding VTK headers and libraries properly. When building the ‘install’ target of VTK, all binaries and headers, etc, are copied to our Build folder.Īpplications that are to use VTK, subsequently, are using CMake. Before that, however, we are trying to build manually. Please read VCPKG documentation.īasically, just install VCPKG, and configure F3D using -DCMAKE_TOOLCHAIN_FILE=/scripts/buildsystems/vcpkg.cmake option.We are trying to setup our applications, that uses VTK (9.1), to be automatically built by our build system, Gitlab. A manifest file vcpkg.json is available at your convenience. It’s possible to use VCPKG to automatically build dependencies. F3D_BINDINGS_JAVA: Generate java bindings (requires Java and JNI).F3D_BINDINGS_PYTHON: Generate python bindings (requires Python and pybind11). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |