Order of the Butterfly
Posts: 404 from 2014/6/11
From: Germany
Hi.
Today I've installed the new SDK and wanted to play a little bit with the new ObjC API.
Flow Studio is nice.
It would be helpful if there could be templates for new files which give a starting scaffolding.
In the case of ObjC something like:
- the right imports
- a main function which sets up OBApplication
- and a template OBApplication delegate class
It wasn't very clear which imports are required.
I figured it would be SDK:Frameworks/includes/ob/OBFramework.h
However, Flow Studio sets up the ObjC project with "-I/gg/Framework/includes" which isn't correct and OBFramework.h couldn't be found.
At linking, Flow Studio always adds a "-noixemul" to CLIB_DEBUG (CLIB_RELEASE) which doesn't seem to work as I always get "/bin/sh: -noixemul: not found".
I couldn't find in the project settings where Flow Studio pulls the "-noixemul" flag from.
When removing it manually in the makefile it will add it again after using the Flow Studio "build" button.
Removing the "-noixemul" and executing make from CLI creates a new error:
Code:
linking ObjCTest_DEBUG
/bin/sh: helloworld_DEBUG.mo: No such file or directory
make: *** [ObjCTest_DEBUG] Error 1
Although the file "helloworld_DEBUG.mo" exists in the folder.
What am I missing?
Cheers,
Manfred