I am trying to get Fuzzy spoons template compiling.
I checked out the code here
svn co
https://irrlicht.svn.sourceforge.net/sv ... hes/ogl-es irrlicht-ogl-es
Then I had to copy the zlib and libpng from the irrlciht 1.7/source into the iphone one
Then I deleted
First, search every ".mm" files and remove them from the project:
- AppDelegate.mm
- CIrrDeviceMacOSX.mm
- OSXClipboard.mm (only deleted this one)
Then, launch "Get Info" on the MacOSX Project (on the top left of the Xcode window), select the "iPhone Simulator 3.x" inside "Base SDK for All Configurations"
Click on "Build and Run" in top center of the window.
Debugger should launch with an error on HelloWorld_dbg.app, it is normal !
Now irrlicht.a should be build inside this path:
- source/Irrlicht/MacOSX/build/Debug-iphonesimulator
ok this worked
Download the excellent template of FuzzYspo0N
http://www.mediafire.com/file/i1juyzy3m ... ateApp.zip
unzip it inside an empty folder
Copy the "irrlicht.a" inside the root of this folder and rename it "libIrrlichtdev.a"
Now open the iPhoneTemplateApp/irrlichtApplication.xcodeproj
Do "Get Info" on "libIrrlichtdev.a", Choose the new path (the file inside the root folder) and close the window the red file should be black now.
Do "Get Info" on "include" directory and pick the irrlicht include directory, now the include directory should be black too.
OK got all of them except it wants a libIrrlichtsim.a????
And I get the following errors
Undefined symbols:
".objc_class_name_NSObject", referenced from:
.objc_class_name_irrlichtAppDelegate in irrlichtAppDelegate.o
"irr::video::createTRNormalMap(irr::video::CBurningVideoDriver*)", referenced from:
irr::video::CBurningVideoDriver::CBurningVideoDriver(irr::SIrrlichtCreationParameters const&, irr::io::IFileSystem*, irr::video::IImagePresenter*)in libIrrlichtdev.a(CSoftwareDriver2.o)
irr::video::CBurningVideoDriver::CBurningVideoDriver(irr::SIrrlichtCreationParameters const&, irr::io::IFileSystem*, irr::video::IImagePresenter*)in libIrrlichtdev.a(CSoftwareDriver2.o)
".objc_class_name_UIApplication", referenced from:
literal-pointer@__OBJC@__cls_refs@UIApplication in Application.o
".objc_class_name_UIView", referenced from:
.objc_class_name_EAGLView in EAGLView.o
"irr::io::CArchiveLoaderWAD::CArchiveLoaderWAD(irr::io::IFileSystem*)", referenced from:
irr::io::CFileSystem::CFileSystem()in libIrrlichtdev.a(CFileSystem.o)
irr::io::CFileSystem::CFileSystem()in libIrrlichtdev.a(CFileSystem.o)
".objc_class_name_NSTimer", referenced from:
literal-pointer@__OBJC@__cls_refs@NSTimer in irrlichtAppDelegate.o
".objc_class_name_NSNumber", referenced from:
literal-pointer@__OBJC@__cls_refs@NSNumber in EAGLView.o
"irr::video::createTRStencilShadow(irr::video::CBurningVideoDriver*)", referenced from:
irr::video::CBurningVideoDriver::CBurningVideoDriver(irr::SIrrlichtCreationParameters const&, irr::io::IFileSystem*, irr::video::IImagePresenter*)in libIrrlichtdev.a(CSoftwareDriver2.o)
irr::video::CBurningVideoDriver::CBurningVideoDriver(irr::SIrrlichtCreationParameters const&, irr::io::IFileSystem*, irr::video::IImagePresenter*)in libIrrlichtdev.a(CSoftwareDriver2.o)
"irr::scene::CHalflifeMDLMeshFileLoader::CHalflifeMDLMeshFileLoader(irr::scene::ISceneManager*)", referenced from:
irr::scene::CSceneManager::CSceneManager(irr::video::IVideoDriver*, irr::io::IFileSystem*, irr::gui::ICursorControl*, irr::scene::IMeshCache*, irr::gui::IGUIEnvironment*)in libIrrlichtdev.a(CSceneManager.o)
irr::scene::CSceneManager::CSceneManager(irr::video::IVideoDriver*, irr::io::IFileSystem*, irr::gui::ICursorControl*, irr::scene::IMeshCache*, irr::gui::IGUIEnvironment*)in libIrrlichtdev.a(CSceneManager.o)
".objc_class_name_EAGLContext", referenced from:
literal-pointer@__OBJC@__cls_refs@EAGLContext in EAGLView.o
"irr::CIrrDeviceIPhone::CIrrDeviceIPhone(irr::SIrrlichtCreationParameters const&)", referenced from:
_createDeviceEx in libIrrlichtdev.a(Irrlicht.o)
".objc_class_name_NSAutoreleasePool", referenced from:
literal-pointer@__OBJC@__cls_refs@NSAutoreleasePool in main.o
".objc_class_name_NSDictionary", referenced from:
literal-pointer@__OBJC@__cls_refs@NSDictionary in EAGLView.o
".objc_class_name_CAEAGLLayer", referenced from:
literal-pointer@__OBJC@__cls_refs@CAEAGLLayer in EAGLView.o
ld: symbol(s) not found
collect2: ld returned 1 exit status