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

erro with "No package 'gtkmm-3.0' found" when installing on macOS #194

Closed ShunhuiYao closed 4 years ago

ShunhuiYao commented 4 years ago

Configuring frontend

-- Checking for module 'gtkmm-3.0' -- No package 'gtkmm-3.0' found CMake Error at /opt/local/share/cmake-3.14/Modules/FindPkgConfig.cmake:457 (message): A required package was not found Call Stack (most recent call first): /opt/local/share/cmake-3.14/Modules/FindPkgConfig.cmake:642 (_pkg_check_modules_internal) cmake/modules/FindGTKMM3.cmake:13 (pkg_check_modules) frontend/CMakeLists.txt:24 (find_package)

-- Configuring incomplete, errors occurred!

kpeeters commented 4 years ago

Something must have gone wrong when you installed the prerequisites. Are you sure you did brew install gtkmm3 adwaita-icons ? What does brew doctor spit out?

ShunhuiYao commented 4 years ago

I have followed the instructions , so it yields

Updating Homebrew...
Warning: gtkmm3 3.24.2 is already installed and up-to-date
To reinstall 3.24.2, run `brew reinstall gtkmm3`
Warning: adwaita-icon-theme 3.36.0 is already installed and up-to-date
To reinstall 3.36.0, run `brew reinstall adwaita-icon-theme`
kpeeters commented 4 years ago

Try erasing your build directory and then rerunning cmake. Also try brew doctor in case there are any problems with brew. The problem is with brew, cadabra cannot find the gtkmm installation.