Installation problem and creating the new app

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Ananditha Roy
Kobold
Posts: 30
Joined: Wed Mar 14, 2012 2:25 pm

Installation problem and creating the new app

Post by Ananditha Roy »

HI ,

I Installed the OgreSDK for ios . I Installed the Cmake , I downloaded the OGRESDK and i downloaded Iphone Dependencies .
I have Placed the iphone Dependencies in the OgreSDK . then i tried to run ogre.Xcodeproject , i got error
some config files are missed . So i have added the files in the bin , then it runned successfully .
And i installed ogre template for xcode .

I started of creating my first application , when i am trying to run , i got
error like ogreCamera .h not found
i have checked in the headersearch path , whether it contains the root of OgreSdk , it is correct, i have added them manually
then i got this error ld: library not found for -lOIS
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang++ failed with exit code 1
Please Help for me , i have been struggling with for one day ..
Thanks in Advance
Last edited by spacegaier on Wed Mar 14, 2012 4:10 pm, edited 1 time in total.
Reason: obvious jammed caps lock (at least I hope that was the reason for that childish thread title spelling) ;)
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: INSTALLATION PROBLEM AND CREATING THE NEW APP

Post by masterfalcon »

I'm going to assume that you're using Xcode 4.

Sounds like you didn't set up the SDK path correctly when creating the project from a template. You can either create a new one or fix the header and library search paths in your existing project.

Note: You may need to escape forward slashes. For example, my SDK is installed at the root level of the hard drive. So I used: \/OgreSDK
Ananditha Roy
Kobold
Posts: 30
Joined: Wed Mar 14, 2012 2:25 pm

Re: Installation problem and creating the new app

Post by Ananditha Roy »

hi ,
My ogre sdk is in the desktop . i have given the path ad below

HEADER_SEARCH_PATHS = "/Users/raghav/Desktop/OgreSDK/include/OGRE/iphone"
"/Users/ananditha/Desktop/OgreSDK/include/OGRE"
"/Users/ananditha/Desktop/OgreSDK/include/OGRE/RenderSystems/GLES"
"/Users/ananditha/Desktop/OgreSDK/include/OGRE/iOS"
"/Users/ananditha/Desktop/OgreSDK/include"
"/Users/ananditha/Desktop/OgreSDK/include/OIS" "/Users/raghav/Desktop/OgreSDK/iOSDependencies/include"
Library Search Paths :

LIBRARY_SEARCH_PATHS =
"/Users/ananditha/Desktop/OgreSDK/lib/Release"
"/Users/ananditha/Desktop/OgreSDK/iOSDependencies/lib/release"
"/Users/anandith/Desktop/OgreSDK/iOSDependencies/lib"

After running my error is : ld: warning: directory not found for option '-L/Users/ananditha/Desktop/OgreSDK/iOSDependencies/lib/release'
ld: warning: directory not found for option '-L/Users/ananditha/Desktop/OgreSDK/iOSDependencies/lib'
ld: library not found for -lboost_thread
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang++ failed with exit code 1


I cant able to find the solution...Please help give t

Thanks
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Installation problem and creating the new app

Post by masterfalcon »

Looks like you misspelled your username in the last library search path. You'll need to make sure that you have the path to libboost_thread.a in that list.
Ananditha Roy
Kobold
Posts: 30
Joined: Wed Mar 14, 2012 2:25 pm

Re: Installation problem and creating the new app

Post by Ananditha Roy »

Hi ,

Thank You Very much . I resolved my all error . Now i can able to run successfully . I looked in to the tutorial ,many concepts lot of confusion where i need to start . Any links to understand the basic things to work in the iphone . please provide me some information. Thanks