Project

General

Profile

Bug #11133

OS X build fails to find libpugixml

Added by Moritz Moeller over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Buildsystem
Target version:
Start date:
09/05/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
git master branch
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

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.

Associated revisions

Revision 02aa30e8
Added by Roman Lebedev over 3 years ago

Merge pull request #1262 from mazhe/master

Rawspeed: Rs-identify: CMakeLists.txt: properly link against JPEG and Pugixml. Fixes #11133

History

#1 Updated by Roman Lebedev over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#2 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top