Hi,
I am new to C::B. When I compile a simple WX app in OSX 10.7.5 in release mode and click on it, the app does not run and I get a message "classic environment is no longer supported".
I have included the build log below - I've been through the forums but can't find a solution. What am I doing wrong?
Thanks
-------------- Build: Release in AUITest (compiler: GNU GCC Compiler)---------------
g++ -Wall -I/opt/local/lib/wx/include/osx_cocoa-unicode-2.9 -I/opt/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -O2 -I/opt/local/lib/wx/include/osx_cocoa-unicode-2.9 -I/opt/local/include/wx-2.9 -I/opt/local/include/wx-2.9/wx/osx -c /Active/WXC++/CodeBlocks/AUITest/src/main.cpp -o obj/Release/src/main.o
g++ -o bin/Release/AUITest obj/Release/src/main.o -s -L/opt/local/lib -framework IOKit -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau_xrc-2.9 -lwx_osx_cocoau_webview-2.9 -lwx_osx_cocoau_html-2.9 -lwx_osx_cocoau_qa-2.9 -lwx_osx_cocoau_adv-2.9 -lwx_osx_cocoau_core-2.9 -lwx_baseu_xml-2.9 -lwx_baseu_net-2.9 -lwx_baseu-2.9
ld: warning: option -s is obsolete and being ignored
Output size is 104.07 KB
Running target post-build steps
/Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r -o bin/Release/AUITest
Process terminated with status 0 (0 minute(s), 14 second(s))
0 error(s), 1 warning(s) (0 minute(s), 14 second(s))