Building 2.1 samples on iOS Topic is solved

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Building 2.1 samples on iOS

Post by Jay721 »

I'm trying to build the samples and test them on my iPhone. Whenever I try to build any sample, I get the following build error:

Code: Select all

ld: framework not found Cocoa
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas?
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1279
Contact:

Re: Building 2.1 samples on iOS

Post by dark_sylinc »

That happened me once when my build folder was first used for building macOS and then I later changed it to build for iOS (i.e. CMake was accidentally ran without OGRE_BUILD_PLATFORM_APPLE_IOS defined).

I suggest you delete your build folder and follow the build instructions for iOS again.
Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Re: Building 2.1 samples on iOS

Post by Jay721 »

Thanks!
Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

Re: Building 2.1 samples on iOS

Post by Jay721 »

Hi, another problem I've stumbled across. When trying to run the ShadowMapDebugging sample on iOS, it crashes and I get this error on Xcode:

Code: Select all

libc++abi.dylib: terminating with uncaught exception of type Ogre::ItemIdentityException: OGRE EXCEPTION(5:ItemIdentityException): Workspace definition 'ShadowMapDebuggingWorkspace' not found in CompositorManager2::addWorkspace at OgreSource/OgreMain/src/Compositor/OgreCompositorManager2.cpp (line 498)
Any ideas? :/
Post Reply