Linker error, Xcode 5 and Armadillo: "library not found for -larmadillo.4.0.2" -


i'm trying install , compile small example program using armadillo framework, unfortunately i'm getting linker errors. here steps far:

  • installed armadillo
  • edited config.hpp remove constant definition of arma_use_wrapper
  • added accelerate framework xcode project
  • added /usr/include/ header search paths
  • added /usr/lib/ library search paths
  • added libarmadillo.dylib "link binary libraries" section
  • modified include statements #include "/usr/include/armadillo"

specifically, linker error in xcode 5 follows:

> ld: library not found -larmadillo.4.0.2 clang: error: linker > command failed exit code 1 (use -v see invocation) 

does have clues i'm missing/doing wrong? i've tried solutions posted in similar questions no success, in advance!

edit: interestingly, compiling , running example programs in terminal functions correctly!

i'm not sure why, removing link libarmadillo.dylib in "link binary libraries" section has solved problem , program compiles!


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -