THELI icon indicating copy to clipboard operation
THELI copied to clipboard

Compiling Theli on MacOS Monterey

Open mheida opened this issue 2 years ago • 0 comments

Hi, I'm trying to install Theli on my MacOS Monterey and I'm running into some issues. I've installed the build dependencies, most of them through Macports, and I'm using the macports gcc11 and g++11 compilers. When I run 'make', I get an error saying that it can't find 'wcs.h' (see below). That file actually does exist but apparently make can't find it. I've tried explicitly adding the wcslib folder that contains the file to my path but that doesn't help. Any pointers would be much appreciated!

Marianne

/opt/local/libexec/qt5/bin/uic readmes/tutorials.ui -o ui_tutorials.h g++-mp-11 -c -pipe -Xpreprocessor -fopenmp -Wall -O3 -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.13 -Wall -Wextra -Wno-unused-parameter -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/mheida/software/THELI-master/src"' -I. -I/usr/include/wcslib/ -I/usr/local/include/wcslib/ -I/opt/local/libexec/qt5/lib/QtPrintSupport.framework/Headers -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtTest.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o main.o main.cc In file included from abszp/../myimage/myimage.h:23, from abszp/abszeropoint.h:25, from mainwindow.h:27, from main.cc:20: abszp/../myimage/../tools/detectedobject.h:27:10: fatal error: wcs.h: No such file or directory 27 | #include <wcs.h> | ^~~~~~~ compilation terminated.

mheida avatar Apr 06 '22 12:04 mheida