News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

classic environment is no longer supported

Started by PeterWW, March 28, 2013, 02:23:39 PM

Previous topic - Next topic

PeterWW

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))

stahta01

Not really likely that you will get an answer. This site is for Code::Blocks questions.

I strongly suggest posting your question on a more on topic site like http://forums.wxwidgets.org/

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]