6

I've created a static library C++ project but when I compile I get the following error:

XCode Error Message

XCode 4.1 (Lion) doesn't show me any more information what's going wrong. I'm using clang.

How can I find out what went wrong?

jhasse
  • 2,379
  • 1
  • 30
  • 40

1 Answers1

6

I have read elsewhere, and confirmed myself, that the problem is that Xcode is suppressing the output from stdout.

As a work around, in Xcode, flip open the display of the commands being executed and copy and paste them into a Terminal session and run lib tool from there.

Gary Makin
  • 3,109
  • 1
  • 19
  • 27
  • 2
    This was a perfect suggestion. I have was having problems with libtool failing and it was a simple problem with the PATH - but there were no error messages. The only additional thing I had to do was replace the setenv statements in the log with export ones because I'm using the bash shell. Thanks. – Sean Doyle Dec 16 '11 at 20:16