OS X build fails to find libpugixml
During the build, this fails:
/opt/local/bin/clang++-mp-3.9 -D_DARWIN_C_SOURCE -fopenmp=libomp -Wall -fno-strict-aliasing -pthread -march=native -msse2 -g -fPIC -O2 -g -DNDEBUG -O2 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/usr/lib CMakeFiles/darktable-rs-identify.dir/rawspeed-identify.cpp.o -o darktable-rs-identify librawspeed.a -lpugixml -ljpeg
clang: warning: argument unused during compilation: '-pthread'
ld: library not found for -lpugixml
pugixml is installed in /opt/local/lib via MacPorts. It seems though, that the /opt/local/lib path is not specified via -L.
I only get this error since I started building with MacPort's clang 3.9. I switched to this because I can't get the build to use openMP with Apple clang and I can't get the build to work at all using MacPort's gcc 4.9 only.
#1 Updated by Roman Lebedev over 3 years ago
- % Done changed from 0 to 100
- Status changed from New to Fixed
Applied in changeset darktable|02aa30e885d67cf70fc580f3771cf4d640885122.