0

I am trying to compile a c++ project into a lib, using Xcode 4.6. Also it is a wxWidgets project I chose C/C++ Library when build the project then I and my files and click build, the error like this

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1

I'v taken hours to fix it but nothing useful, please advise, thank you in advance.

ldav1s
  • 15,885
  • 2
  • 53
  • 56
worrd
  • 31
  • 3

1 Answers1

0

Find an error noting compiling failed, because Reachability is missing. I'd propose that you check your compiling environment has latest (or compatible) version of the library.And give me what happens

Shouri
  • 39
  • 6
  • thank you, I have solved the problem.It's actually because of "other linker flags", I removed 4 flags and it can build successfully.But I don't not why..the 4 flags are -lexpat -lz -lpthread -liconv – worrd Aug 20 '13 at 08:16