Cinder Forums




gui = new mowa::sgui::SimpleGUI( ci::app::App::get() );_gui->textColor = ColorA(1,1,1,1);_gui->lightColor = ColorA(1, 0, 1, 1);_gui->darkColor = ColorA(0.05,0.05,0.05, 1);_gui->bgColor = ColorA(0.15, 0.15, 0.15, 1.0);
if( event.getChar() == ci::app::KeyEvent::KEY_h ) {
_gui->setEnabled( !_gui->isEnabled() );
}
gl::TextureFont::drawString instead. I have got a normal frame rate on iOS since I changed that in my code. gl::drawString is in fact a debug method.
I am sorry I can't commit this code right now because I have changed it so much that it is not flexible anymore.
Baptiste
Ld ./build/Debug/GUIHelloWorld.app/Contents/MacOS/GUIHelloWorld normal i386
cd /Users/andrl2/Documents/C++/GUIHelloWorld/xcode
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -L/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/build/Debug -F/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/build/Debug -filelist /Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/GUIHelloWorld.LinkFileList -mmacosx-version-min=10.5 ../../cinder_0.8.4_mac/lib/libcinder_d.a -lcurl -framework Cocoa -framework OpenGL -framework Carbon -framework CoreVideo -framework QTKit -framework QuickTime -framework Accelerate -framework AudioToolbox -framework AudioUnit -framework CoreAudio -o /Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/Debug/GUIHelloWorld.app/Contents/MacOS/GUIHelloWorld
duplicate symbol _main in:
/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/GUIHelloWorldApp.o
/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/BasicApp.o
duplicate symbol _main in:
/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/GUIHelloWorldApp.o
/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/ButtonsAndTexturesApp.o
duplicate symbol _main in:
/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/GUIHelloWorldApp.o
/Users/andrl2/Documents/C++/GUIHelloWorld/xcode/./build/GUIHelloWorld.build/Debug/GUIHelloWorld.build/Objects-normal/i386/GroupingApp.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
