← Back to team overview

kicad-developers team mailing list archive

libboost-filesystem.a mac build confusion?

 

Hi folks,

Anyone ever see this before?

clang: warning: argument unused during compilation: '-XLinker,-cref'
clang: warning: argument unused during compilation:
'-XLinker,-Map=_pcbnew.kiface.map'
Undefined symbols for architecture x86_64:
  "_fchmodat", referenced from:
      boost::filesystem::detail::permissions(boost::filesystem::path
const&, boost::filesystem::perms, boost::system::error_code*) in
libboost_filesystem.a(operations.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface] Error 1
make[1]: *** [pcbnew/CMakeFiles/pcbnew_kiface.dir/all] Error 2

Stack Overflow says that I should be linking against
libboost_filesystem.dylib. I'll take a look, but wondering if anyone has
seen this before.

Adam Wolf
Cofounder and Engineer
W&L

Follow ups