Hi,
I don't know if I've done something wrong, most likely have, but I'm trying to build this repo after using VCPKG.
-
I used VCPKG to install the magnum packages and used this command and installed the following libraries and cloned this repo:
./vcpkg install --head corrade magnum magnum-integration imgui
-
I set CMAKE_TOOLCHAIN_FILE to my VCPKG cmake file in build systems (vcpkg/scripts/buildsystems/vcpkg.cmake) and built the project with only the WITH_IMGUI_EXAMPLE set to ON.
However, after attempting a build, my CMake returns this:
main] Building folder: magnum-examples-master-2
[build] Starting build
[proc] Executing command: /usr/local/bin/cmake --build ~/Downloads/magnum-examples-master/build --config Debug --target all -j 14 --
[build] -- Found Magnum: ~/vcpkg/installed/x64-osx/include
[build] -- Found Corrade: ~/vcpkg/installed/x64-osx/include found components: Containers rc Main
[build] -- Found Corrade: ~/vcpkg/installed/x64-osx/include found components: Containers rc Utility
[build] -- Found Magnum: ~/vcpkg/installed/x64-osx/include found components: GL
[build] -- Found Magnum: ~/vcpkg/installed/x64-osx/include found components: GL Shaders
[cmake] -- Found ImGui: ~/vcpkg/installed/x64-osx/include
[build] CMake Error at /usr/local/Cellar/cmake/3.21.3_1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
[build] Could NOT find MagnumIntegration (missing: ImGui)
[build]
[build] Reason given by package: ImGui is not built by default. Make sure you enabled WITH_IMGUI when building Magnum Integration.
[build]
[build] Call Stack (most recent call first):
[build] /usr/local/Cellar/cmake/3.21.3_1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
[build] modules/FindMagnumIntegration.cmake:329 (find_package_handle_standard_args)
[build] ~/vcpkg/scripts/buildsystems/vcpkg.cmake:786 (_find_package)
[build] src/imgui/CMakeLists.txt:47 (find_package)
[build]
[build]
[build] -- Configuring incomplete, errors occurred!
[build] See also "~/Downloads/magnum-examples-master/build/CMakeFiles/CMakeOutput.log".
[build] make: *** [cmake_check_build_system] Error 1
[build] Build finished with exit code 2
Could someone help me understand what I've done wrong. As you can tell I'm using Clang as my compiler and I'm currently running macOS.
Thanks,
George
Hi,
I don't know if I've done something wrong, most likely have, but I'm trying to build this repo after using VCPKG.
I used VCPKG to install the magnum packages and used this command and installed the following libraries and cloned this repo:
./vcpkg install --head corrade magnum magnum-integration imguiI set CMAKE_TOOLCHAIN_FILE to my VCPKG cmake file in build systems (vcpkg/scripts/buildsystems/vcpkg.cmake) and built the project with only the
WITH_IMGUI_EXAMPLEset to ON.However, after attempting a build, my CMake returns this:
Could someone help me understand what I've done wrong. As you can tell I'm using Clang as my compiler and I'm currently running macOS.
Thanks,
George