Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows_find_library fails to find gdk and gdkmm #233

Closed
amnonjw opened this issue Jun 1, 2021 · 3 comments
Closed

windows_find_library fails to find gdk and gdkmm #233

amnonjw opened this issue Jun 1, 2021 · 3 comments
Labels
bug An actual bug windows Windows specific

Comments

@amnonjw
Copy link

amnonjw commented Jun 1, 2021

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
Copy link
Owner

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

@dg0yt
Copy link

dg0yt commented Dec 13, 2023

Note microsoft/vcpkg#35627.

@kpeeters
Copy link
Owner

As it seems unlikely that vcpkg will have gtkmm-3.0 packages and I lack the resources to make them myself, the recommended route to build Cadabra on windows is now to use MSYS2. This is also what I use to generate the Windows installer for every release (and because that happens automatically, it will be monitored for build issues). I will close this issue, but feel free to re-open if there is any new development around gtkmm-3.0 vcpkg.

Eventually Cadabra will move to gtkmm-4 and this problem will go away by itself, but I have no estimate of time frame for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An actual bug windows Windows specific
Projects
None yet
Development

No branches or pull requests

3 participants