Build on High Sierra
kvfrans opened this issue · 3 comments
kvfrans commented
Hi,
I was trying to build the environment and kept running into this error:
coinrun.cpp:10:10: fatal error: 'QtCore/QMutexLocker' file not found #include <QtCore/QMutexLocker> ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [.build-release/coinrun.o] Error 1 coinrun: make failed
The solution (with help from here) is to
brew install pkg-config
and then
export PKG_CONFIG_PATH=/usr/local/opt/qt5/lib:/usr/local/opt/qt5/lib/QtWidgets.framework:/usr/local/opt/qt5/lib/pkgconfig
Afterwards the environment compiles successfully, on my system at least.
christopherhesse commented
The PKG_CONFIG_PATH
should be set to export PKG_CONFIG_PATH=/usr/local/opt/qt5/lib/pkgconfig
by default, are those other paths both necessary on your system?
christopherhesse commented
@kvfrans ^
christopherhesse commented
We added pkg-config
to the mac dependencies, I'll close this assuming there's nothing else to adjust.