Build Issue with iOS4.2.1
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Build Issue with iOS4.2.1
Have you tried debugging? There is no file named bug.material that is included with Ogre, perhaps there's something strange in there?
-
bstafford
- Gnoblar
- Posts: 15
- Joined: Sat Jan 08, 2011 12:33 am
Re: Build Issue with iOS4.2.1
Actually, bug.material shows up in the prebuilt OgreSDK I downloaded (media/materials/scripts). Not sure if that's the problem anyways.
Thanks,
Brian
Thanks,
Brian
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Build Issue with iOS4.2.1
You know what? That file accidentally made it into the prebuilt SDK, you can safely delete it and you should have no problems.
-
EverConfused
- Gnoblar
- Posts: 1
- Joined: Fri Feb 18, 2011 4:50 am
Re: Build Issue with iOS4.2.1
Hi,
Just thought I'd let you know that the "ld: file not found: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/umbrella/IOKit.host" problem is still happens in the latest 1.8 source. And, deleting both -lIOKit entries for sample browser's 'other linkers' property still removes the error too.
Cheers,
EC
Just thought I'd let you know that the "ld: file not found: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/umbrella/IOKit.host" problem is still happens in the latest 1.8 source. And, deleting both -lIOKit entries for sample browser's 'other linkers' property still removes the error too.
Cheers,
EC
-
TaeHyungKim
- Kobold
- Posts: 31
- Joined: Thu Jun 03, 2010 4:03 pm
- Location: Korea
Re: Build Issue with iOS4.2.1
hi , i fix 2nd problem,, so i notice my fix.
i found that samples/browser/cmakelist.txt file has bug
at 1.7.1 ,i think that file is correct , but 1.7.2 is errored.
at 1.7.1
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/SampleBrowser.app)
at 1.7.2
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)/SampleBrowser.app)
so that is errored when build for simulator mode.. so you change bottom line
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)/SampleBrowser.app)
to
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/SampleBrowser.app)
that will work ^^
i found that samples/browser/cmakelist.txt file has bug
at 1.7.1 ,i think that file is correct , but 1.7.2 is errored.
at 1.7.1
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/SampleBrowser.app)
at 1.7.2
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)/SampleBrowser.app)
so that is errored when build for simulator mode.. so you change bottom line
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)/SampleBrowser.app)
to
set (OGRE_SAMPLE_CONTENTS_PATH ${OGRE_BINARY_DIR}/bin/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/SampleBrowser.app)
that will work ^^
-
pasu
- Gnoblar
- Posts: 6
- Joined: Fri Aug 12, 2011 7:33 am
Re: Build Issue with iOS4.2.1
Hello, my english is not well
i use OGRE for some months and like it very much,now ,i want to show it on Mac and iPhone as a research for our embedded team
in fact yesterday i built ogre on mac and iphone all night,but it only successful half:),OGRE is well on Mac
on iphone, i met the same problem like this,but i try many ways,but not ok
when i built Samples,an last built SampleBrowser Project,there is an error"Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1"
i used SDK and Source(Version 1.7.2),then ,i changed CMake from 2.8.0 to 2.8.5
then , i changed Souce to version 1.7.3
at last ,there are only one way to use,i delete iokit in the link(Other Linker Flags),
i had try debug and release two ways
but the error is still here,so i had to go home unhappily
iOS4.3 + Xcode4
who can give me some suggestion?
Thanks:)
pasu
i use OGRE for some months and like it very much,now ,i want to show it on Mac and iPhone as a research for our embedded team
in fact yesterday i built ogre on mac and iphone all night,but it only successful half:),OGRE is well on Mac
on iphone, i met the same problem like this,but i try many ways,but not ok
when i built Samples,an last built SampleBrowser Project,there is an error"Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1"
i used SDK and Source(Version 1.7.2),then ,i changed CMake from 2.8.0 to 2.8.5
then , i changed Souce to version 1.7.3
at last ,there are only one way to use,i delete iokit in the link(Other Linker Flags),
i had try debug and release two ways
but the error is still here,so i had to go home unhappily
iOS4.3 + Xcode4
who can give me some suggestion?
Thanks:)
pasu
-
masterfalcon
- OGRE Retired Team Member

- Posts: 4270
- Joined: Sun Feb 25, 2007 4:56 am
- Location: Bloomington, MN
- x 126
Re: Build Issue with iOS4.2.1
A little bit more from the build log about that error would be helpful. Have you tried cleaning before building again after changing configurations?
-
pasu
- Gnoblar
- Posts: 6
- Joined: Fri Aug 12, 2011 7:33 am
Re: Build Issue with iOS4.2.1
sometime i clean it and rebuild
now i am at home without mac
i will try tomorrow and show the result here
thanks,happy weekend:)
now i am at home without mac
i will try tomorrow and show the result here
thanks,happy weekend:)
-
pasu
- Gnoblar
- Posts: 6
- Joined: Fri Aug 12, 2011 7:33 am
Re: Build Issue with iOS4.2.1
Hi,sir
now ,i build and run OGRE on Mac and iPad(Simulation) successfully.
from your suggession,i read the error message,that is an easy bug,but i am no sure whether myself or other make that,i will try it later
it is that:when compile the project,the libraries are saved in debug-simulation file,but SampleBrowser use them from /build/lib/debug
i copy the file from debug-iphonesimulator to file debug,and rebuild SampleBrowser and all is well:)
thank you very much,i like OGRE much more and more
now ,i build and run OGRE on Mac and iPad(Simulation) successfully.
from your suggession,i read the error message,that is an easy bug,but i am no sure whether myself or other make that,i will try it later
it is that:when compile the project,the libraries are saved in debug-simulation file,but SampleBrowser use them from /build/lib/debug
i copy the file from debug-iphonesimulator to file debug,and rebuild SampleBrowser and all is well:)
thank you very much,i like OGRE much more and more