[XCode] Help

667 views
Skip to first unread message

Luis Daniel

unread,
Feb 4, 2012, 11:43:14 AM2/4/12
to appropriating-n...@googlegroups.com
Hey everyone, 

I've been trying to get the FFT examples (BasicExample) to work and I keep coming up with this error:
Clang LLVM 1.0 Error
Command /Developer/usr/bin/clang failed with exit code 1

When I go to build settings and change the Compiler for C/C++ from Apple LLVM Compiler to LLVM GCC 4.2, I get this error:
LLVM GCC 4.2 Error
Command /Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

Anyone know what I'm doing wrong?

Doug Thistlethwaite

unread,
Feb 4, 2012, 1:09:04 PM2/4/12
to appropriating-n...@googlegroups.com
I was getting this error too

the fix is you need to download the libraries from:

you then need to put them in the 'libs' folder of the addon.
it should look like this:
openFrameworks/addons/ofxFft/libs/fftw/lib/osx/fftw3f.a

it should work then.

this is detailed in the readme.md in the repo.
 
- – -
Doug Thistlethwaite
this...@gmail.com
773-505-1533

me » thisdoug.com
coming » gowalk.it


Luis Daniel

unread,
Feb 4, 2012, 1:28:47 PM2/4/12
to appropriating-n...@googlegroups.com
Already did that and still doesn't work : {

Doug Thistlethwaite

unread,
Feb 4, 2012, 1:51:35 PM2/4/12
to appropriating-n...@googlegroups.com
hmm, 

I am using Xcode4 on Lion

did you set your base SDK to 10.6 for both the target and the project?
did you set the compiler to LLVM GCC 4.2 for both the target and the project?
did you set the active scheme to BasicExample (not openFrameworks)?

screenshot attached.
Screen Shot 2012-02-04 at 1.48.54 PM.png

Gabriella Levine

unread,
Oct 21, 2012, 11:05:35 AM10/21/12
to appropriating-n...@googlegroups.com
I had no problem usually following what Doug wrote in order to get the code to run, but recently, I've been trying some codes that After fixing this, as Doug wrote, I'm getting the errors: Lexical or PreProcessor Issue: 'ofMain.h' file not found and cannot figure out where to find that file, where it should be, but the main.cpp file is addressing it

looking on the forum but didn't quite figure it out yet from there either 

Kyle McDonald

unread,
Oct 21, 2012, 11:07:56 AM10/21/12
to appropriating-n...@googlegroups.com, appropriating-n...@googlegroups.com
Is this specific to ofxFft? If so I can take a look today and make sure it's running with 0072. Hopefully there's nothing Xcode 4/osx 10.8 specific involved.


yin

unread,
Oct 21, 2012, 11:14:43 AM10/21/12
to Gabriella Levine, appropriating-n...@googlegroups.com

Gabby, I sometimes have this prob too. For me it was that one time I left out include ofmain.h in testapp.h

And another time I messed up sth in header search path

Gabriella Levine

unread,
Oct 28, 2012, 9:45:47 PM10/28/12
to appropriating-n...@googlegroups.com, Gabriella Levine
ok. i have to check for that. but it is actually the same error happening for all my old code  :) that used to work.  that I'm downloading from the appNewTech class...
which is what confuses me. What i have tried to change is the base SDK and the compiler
but it doesnt work with either
Reply all
Reply to author
Forward
0 new messages