Page 1 of 1

Build problem on MAC

Posted: Mon Oct 10, 2011 6:54 pm
by frank_frl
Hi Eran,

with the latest versions of CL I can't build my projects on my MAC anymore.
You are generating a file called '$(ProjectName).txt' now, which causes the problem:

Code: Select all

g++ -o ./MACRelease/AFA @"/Users/franklichtner/Dev/c-projects/AFA/AFA.txt" -L/Users/franklichtner/Dev/c-projects/MyLibs/lib  -L. -L.  -lfrlconfig -llicsystem -lplotter -lmycomps -lwxSerialize -lcrypto -lportaudio -lsndfile  `/Users/franklichtner/Dev/wxMac-2.8.12/GCCBuildReleaseMacUnicode/wx-config --inplace --exec-prefix="/Users/franklichtner/Dev/wxMac-2.8.12/GCCBuildReleaseMacUnicode" --libs --gl-libs`  -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon
i686-apple-darwin9-g++-4.0.1: @/Users/franklichtner/Dev/c-projects/AFA/AFA.txt: No such file or directory
Any suggestions?

Regards

Frank

Re: Build problem on MAC

Posted: Mon Oct 10, 2011 8:52 pm
by eranif
Uncheck:

Settings -> Build Settings -> Compilers -> <compiler name> -> Advanced -> Pass object list to the linker via file

I wonder why it fails to generate the file though...
Eran

Re: Build problem on MAC

Posted: Tue Oct 11, 2011 12:07 pm
by frank_frl
Thanks Eran,

I wasn't aware of this new setting.

Regards

Frank