kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
215 stars 37 forks source link

windows_find_library fails to find gdk and gdkmm #233

Open amnonjw opened 3 years ago

amnonjw commented 3 years ago

Hi, I'm building vcpkg and cadabra on Windows 10. The commands written in the instructions for Windows first build vcpkg, but when I run the command to build cadabra cmake -DCMAKE_TOOLCHAIN_FILE=C:/Users/... -CMAKE_BUILD_TYPE=RelWithDebInfo ...

(I also added the flag -DCMAKE_INCLUDE_PATH but I use Enterprise\VC\Redist\MSVC\14.29.30036)

it fails with the errors below

CMake Error at cmake/windows.cmake:194 (message): Could NOT find library gdk required for GTKMM3_LIBRARIES Call Stack (most recent call first): cmake/modules/FindGTKMM3.cmake:3 (windows_find_library) C:/Users/amnonjw/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake:772 (_find_package) frontend/CMakeLists.txt:24 (find_package)

CMake Error at cmake/windows.cmake:194 (message): Could NOT find library gdkmm required for GTKMM3_LIBRARIES Call Stack (most recent call first): cmake/modules/FindGTKMM3.cmake:3 (windows_find_library) C:/Users/amnonjw/source/repos/vcpkg/scripts/buildsystems/vcpkg.cmake:772 (_find_package) frontend/CMakeLists.txt:24 (find_package)

kpeeters commented 2 years ago

Are you sure you installed all the required vcpkg packages? Let me know if this is still a problem.

dg0yt commented 6 months ago

Note https://github.com/microsoft/vcpkg/issues/35627.