dbeurle / spkrd

Loudspeaker design software
GNU Lesser General Public License v2.1
1 stars 1 forks source link

OSX Installation #19

Open xaviliz opened 4 years ago

xaviliz commented 4 years ago

Hi!

I tried to build it in OSX (High Sierra). I got this error:

cmake .. && cmake --build . CMake Error at /usr/local/Cellar/cmake/3.17.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.17.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.17.2/share/cmake/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) CMakeLists.txt:10 (find_package)

It was looking for libXml2, I have installed the package with brew but still the same error.

Do you have any suggestion.

Thanks in advance, XL

dbeurle commented 4 years ago

Hi! Unfortunately this problem is due to the use pkgconfig to find the GTK3 libraries:

find_package(PkgConfig REQUIRED)
pkg_check_modules(GTKMM3 REQUIRED gtk+-3.0 glibmm-2.4 gtkmm-3.0 gdkmm-3.0)

Is there an equivalent of this on osx?

xaviliz commented 3 years ago

Hey @dbeurle

sorry I missed this conversation.

Ok, I see. mmm... not sure if there is some equivalent, but I think this could work in OSX: https://wiki.gnome.org/Projects/GTK/OSX/Building

I have to change my machine this weekend. After that I will try it again, otherwise maybe I build a Linux VM

dbeurle commented 3 years ago

@xaviliz You can turn on notifications on the right hand side.

It seems that support for GTK outside of Linux is patchy. I think you'll have the best luck with a VM. If you get it all working, I'd appreciate some feedback so I can make the process easier. Most of the code was written 20 years ago and I've spent a lot of time just bringing it up to scratch but some features aren't quite there yet. Any help would be appreciated :-)