Simple Guide to iOS Ogre ...

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Simple Guide to iOS Ogre ...

Post by James Moon »

Hello..

I am new to Mac and iOS program, but have some experience in programming C++, python etc.

But, I have no basic about Cmake, terminal commands, dependencies ...

It's been few days, I couldn't find a way to make my own application via Ogre template.

Of course, I read '15 minutes ... ', but the images are gone today.
http://www.ogre3d.org/tikiwiki/ogreOnIphoneFast

I guess it is Wiki, so nobody is care. But, I hope a decent guide is made by some power users of Ogre.

There are many 'New' programmers in iOs (I am one of those) and there are very few 'Open source 3D engine' for it.

I think the Orge is the best and quite widely used (my feeling).

I suggest to make more detailed version of install tutorial. Like..

.. Mac OSX 10.6.x Xcode 3.2.6. Ogre 1.7.x Cmake 2.8.0 guide (maybe the most people use this ??)

.. Mac OSX 10.7.x Xcode 4.x Ogre 1.7.x Cmake 2.8.3 guide (maybe the latest version, for early adapter?)

I am feeling that I need to study cmake, and I am nervous to study other things, and I don't know what it is.

I just hope to install a template, start a new project in Xcode, start coding.

I hope Ogre is the most used engine. If the documents are kind, it is possible.

I just don't go to NeoAxis.

Maybe I know too little to use Ogre, but I think that I know the least to use Ogre.

If I can use Ogre, every programmer can use it.

:oops: :oops:
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Re: Simple Guide to iOS Ogre ...

Post by jacmoe »

I'll see about fixing the images... :wink:

/* fixed */
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

Sounds great! More documentation would be much appreciated. Don't forget to mention the Xcode templates too.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Re: Simple Guide to iOS Ogre ...

Post by jacmoe »

Give credit to Metaldev - he's the OIS simple guide man.
I'm responsible for bringing it back from the dead.. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

Thank you for the works.. But, I have same errors..

Questions.. and Opinions..

At the document of '15 minutes...'
Step 2) Install Xcode project templates (for Ogre3D/iOS)

You can find Xcode project templates HERE(external link)
Follow the path into: ogre-dependencies-mac > your ogre version > download the proper template for your version of Xcode

Follow the steps of the installer (if you have Xcode open you don't need to close it).
Ogre_Xcode4_Templates_20110728.pkg.zip ==> Xcode4 ?

Ogre_Xcode_Templates_20101211.pkg.zip ==> The other Xcode versions? Like 3.2.6 ??


And what is the 'dependencies' for?..

My error is as follows..
/Users/MOOON/Desktop/IphoneOgreTest/build/IphoneOgreTest.build/Debug-iphonesimulator/IphoneOgreTest.build/Script-9CE2F95410E0A0250099B92A.sh: line 4: /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp: No such file or directory

OgreCamera.h No such file....
I think I need some more help.. :D :)
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

The dependencies are libraries that OGRE depends on, prebuilt for your convenience.

You are correct about the templates.

As for your error. It assumes that your dev tools are installed in the default location which is /Developer. It should be more flexible, but this is sufficient for the majority of users.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

Thank you for the fast reply.

But, I don't get your point.
As for your error. It assumes that your dev tools are installed in the default location which is /Developer. It should be more flexible, but this is sufficient for the majority of users.
Ogre is installed /User/.../Ogre...
And Xcode is install as you said. /Developer

The errors are caused from this, how can I solve the problem?

I got 199 errors.. Most of them are 'No such file or directory'..

I think I am bothering you. :? Sorry for that.
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

Oh don't worry, you're not bothering me at all.

Hmm. Are there any spaces in the path to where Ogre is installed? Oh, are you building Ogre from source or is this a project from template?
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

Hmm. Are there any spaces in the path to where Ogre is installed? Oh, are you building Ogre from source or is this a project from template?
Thank you for your answers..

No spaces at all... /Users/MOOON/DevFolderz/MacOgreSDK/iPhoneOgreSDK --> for iphone , it has iPhoneDependencies folder.

..... /MacOgreSDK/MacOgreSDK --> for Mac App , it has Dependencies folder.

I didn't build with Cmake. I just installed OgreSDK_v1-7-3.dmg and OgreSDK_iOS_v1-7-3.dmg.

And I installed the template Ogre_Xcode_Templates_20101211.pkg

I edit the Library search path in Xcode.. Added two folders. I guess whether "" exists or not doesn't matter.

"/Users/MOOON/DevFolder/MacOgreSDK/iPhoneOgreSDK/lib/Release"
"/Users/MOOON/DevFolder/MacOgreSDK/iPhoneOgreSDK/lib"

I use Xcode 3.2.6. and want to develope iPad app.

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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

Could you post some more of the build log?
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Build Log..

Post by James Moon »

I just copy and paste ... I wonder if it is right..

Thank you for your reply..

Code: Select all

Build IphoneOGRE of project IphoneOGRE with configuration Debug

PhaseScriptExecution "Copy media folder" build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Script-9CE2F95410E0A0250099B92A.sh
cd /Users/MOOON/Desktop/IphoneOGRE
setenv ACTION build
setenv ALTERNATE_GROUP staff
setenv ALTERNATE_MODE u+w,go-w,a+rX
setenv ALTERNATE_OWNER MOOON
setenv ALWAYS_SEARCH_USER_PATHS NO
setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
setenv APPLE_INTERNAL_DIR /AppleInternal
setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
setenv APPLY_RULES_IN_COPY_FILES NO
setenv ARCHS i386
setenv ARCHS_STANDARD_32_BIT i386
setenv ARCHS_UNIVERSAL_IPHONE_OS i386
setenv BUILD_COMPONENTS "headers build"
setenv BUILD_DIR /Users/MOOON/Desktop/IphoneOGRE/build
setenv BUILD_ROOT /Users/MOOON/Desktop/IphoneOGRE/build
setenv BUILD_STYLE Debug
setenv BUILD_VARIANTS normal
setenv BUILT_PRODUCTS_DIR /Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator
setenv CACHE_ROOT /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501
setenv CCHROOT /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501
setenv CHMOD /bin/chmod
setenv CHOWN /usr/sbin/chown
setenv CLASS_FILE_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/JavaClasses
setenv CLEAN_PRECOMPS YES
setenv CLONE_HEADERS NO
setenv CODESIGNING_FOLDER_PATH /Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator/IphoneOGRE.app
setenv CODE_SIGN_CONTEXT_CLASS XCCodeSignContext
setenv COMMAND_MODE legacy
setenv COMPOSITE_SDK_DIRS /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501/CompositeSDKs
setenv COMPRESS_PNG_FILES YES
setenv CONFIGURATION Debug
setenv CONFIGURATION_BUILD_DIR /Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator
setenv CONFIGURATION_TEMP_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator
setenv CONTENTS_FOLDER_PATH IphoneOGRE.app
setenv COPYING_PRESERVES_HFS_DATA NO
setenv COPY_PHASE_STRIP NO
setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
setenv CP /bin/cp
setenv CURRENT_ARCH i386
setenv CURRENT_VARIANT normal
setenv DEAD_CODE_STRIPPING NO
setenv DEBUGGING_SYMBOLS YES
setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
setenv DEPLOYMENT_LOCATION NO
setenv DEPLOYMENT_POSTPROCESSING NO
setenv DERIVED_FILES_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources
setenv DERIVED_FILE_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources
setenv DERIVED_SOURCES_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources
setenv DEVELOPER_APPLICATIONS_DIR /Applications/Developer/Applications
setenv DEVELOPER_BIN_DIR /Applications/Developer/usr/bin
setenv DEVELOPER_DIR /Applications/Developer
setenv DEVELOPER_FRAMEWORKS_DIR /Applications/Developer/Library/Frameworks
setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Applications/Developer/Library/Frameworks\""
setenv DEVELOPER_LIBRARY_DIR /Applications/Developer/Library
setenv DEVELOPER_SDK_DIR /Applications/Developer/SDKs
setenv DEVELOPER_TOOLS_DIR /Applications/Developer/Tools
setenv DEVELOPER_USR_DIR /Applications/Developer/usr
setenv DEVELOPMENT_LANGUAGE English
setenv DOCUMENTATION_FOLDER_PATH IphoneOGRE.app/English.lproj/Documentation
setenv DO_HEADER_SCANNING_IN_JAM NO
setenv DSTROOT /tmp/IphoneOGRE.dst
setenv DWARF_DSYM_FILE_NAME IphoneOGRE.app.dSYM
setenv DWARF_DSYM_FOLDER_PATH /Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator
setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator
setenv ENABLE_HEADER_DEPENDENCIES YES
setenv ENABLE_OPENMP_SUPPORT NO
setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".svn .git CVS"
setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) CVS .svn .git *.xcodeproj *.xcode *.pbproj *.pbxproj"
setenv EXECUTABLES_FOLDER_PATH IphoneOGRE.app/Executables
setenv EXECUTABLE_FOLDER_PATH IphoneOGRE.app
setenv EXECUTABLE_NAME IphoneOGRE
setenv EXECUTABLE_PATH IphoneOGRE.app/IphoneOGRE
setenv FILE_LIST /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects/LinkFileList
setenv FIXED_FILES_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/FixedFiles
setenv FRAMEWORKS_FOLDER_PATH IphoneOGRE.app/Frameworks
setenv FRAMEWORK_FLAG_PREFIX -framework
setenv FRAMEWORK_SEARCH_PATHS "\"/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator\" "
setenv FRAMEWORK_VERSION A
setenv FULL_PRODUCT_NAME IphoneOGRE.app
setenv GCC3_VERSION 3.3
setenv GCC_DYNAMIC_NO_PIC YES
setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
setenv GCC_OBJC_LEGACY_DISPATCH YES
setenv GCC_OPTIMIZATION_LEVEL 0
setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
setenv GCC_PRECOMPILE_PREFIX_HEADER YES
setenv GCC_PREFIX_HEADER IphoneOGRE_Prefix.pch
setenv GCC_PREPROCESSOR_DEFINITIONS DEBUG
setenv GCC_SYMBOLS_PRIVATE_EXTERN NO
setenv GCC_THUMB_SUPPORT NO
setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
setenv GCC_VERSION 4.2
setenv GCC_VERSION_IDENTIFIER __2
setenv GENERATE_MASTER_OBJECT_FILE NO
setenv GENERATE_PKGINFO_FILE YES
setenv GENERATE_PROFILING_CODE NO
setenv GID 20
setenv GROUP staff
setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
setenv HEADER_SEARCH_PATHS "\"/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator/include\" _OGRESDK_ROOT_/iPhoneDependencies/include _OGRESDK_ROOT_/include/OGRE _OGRESDK_ROOT_/include/OGRE/Plugins/BSPSceneManager _OGRESDK_ROOT_/include/OGRE/Plugins/OctreeSceneManager _OGRESDK_ROOT_/include/OGRE/Plugins/OctreeZone _OGRESDK_ROOT_/include/OGRE/Plugins/ParticleFX _OGRESDK_ROOT_/include/OGRE/Plugins/PCZSceneManager _OGRESDK_ROOT_/include/OGRE/iPhone _OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES _OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES/APPLE"
setenv ICONV /usr/bin/iconv
setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
setenv INFOPLIST_FILE IphoneOGRE-Info.plist
setenv INFOPLIST_OUTPUT_FORMAT binary
setenv INFOPLIST_PATH IphoneOGRE.app/Info.plist
setenv INFOPLIST_PREPROCESS NO
setenv INFOSTRINGS_PATH IphoneOGRE.app/English.lproj/InfoPlist.strings
setenv INSTALL_DIR /tmp/IphoneOGRE.dst/Applications
setenv INSTALL_GROUP staff
setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
setenv INSTALL_OWNER MOOON
setenv INSTALL_PATH /Applications
setenv INSTALL_ROOT /tmp/IphoneOGRE.dst
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
setenv JAVA_ARCHIVE_CLASSES YES
setenv JAVA_ARCHIVE_TYPE JAR
setenv JAVA_COMPILER /usr/bin/javac
setenv JAVA_FOLDER_PATH IphoneOGRE.app/Java
setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
setenv JAVA_JAR_FLAGS cv
setenv JAVA_SOURCE_SUBDIR .
setenv JAVA_USE_DEPENDENCIES YES
setenv JAVA_ZIP_FLAGS -urg
setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
setenv KEEP_PRIVATE_EXTERNS NO
setenv LD_GENERATE_MAP_FILE NO
setenv LD_MAP_FILE_PATH /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-LinkMap-normal-i386.txt
setenv LD_OPENMP_FLAGS -fopenmp
setenv LEX /Applications/Developer/usr/bin/lex
setenv LIBRARY_FLAG_NOSPACE YES
setenv LIBRARY_FLAG_PREFIX -l
setenv LIBRARY_SEARCH_PATHS "\"/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator\" _OGRESDK_ROOT_/iPhoneDependencies/lib _OGRESDK_ROOT_/iPhoneDependencies/lib/release _OGRESDK_ROOT_/lib _OGRESDK_ROOT_/lib/release"
setenv LINKER_DISPLAYS_MANGLED_NAMES NO
setenv LINK_FILE_LIST_normal_i386 /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/IphoneOGRE.LinkFileList
setenv LINK_WITH_STANDARD_LIBRARIES YES
setenv LOCALIZED_RESOURCES_FOLDER_PATH IphoneOGRE.app/English.lproj
setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
setenv LOCAL_APPS_DIR /Applications
setenv LOCAL_DEVELOPER_DIR /Library/Developer
setenv LOCAL_LIBRARY_DIR /Library
setenv MACH_O_TYPE mh_execute
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv MAC_OS_X_PRODUCT_BUILD_VERSION 11B26
setenv MAC_OS_X_VERSION_ACTUAL 1071
setenv MAC_OS_X_VERSION_MAJOR 1070
setenv MAC_OS_X_VERSION_MINOR 0701
setenv NATIVE_ARCH i386
setenv NATIVE_ARCH_32_BIT i386
setenv NATIVE_ARCH_64_BIT x86_64
setenv NATIVE_ARCH_ACTUAL x86_64
setenv NO_COMMON YES
setenv OBJC_ABI_VERSION 2
setenv OBJECT_FILE_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects
setenv OBJECT_FILE_DIR_normal /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal
setenv OBJROOT /Users/MOOON/Desktop/IphoneOGRE/build
setenv ONLY_ACTIVE_ARCH NO
setenv OPTIMIZATION_LEVEL 0
setenv OS MACOS
setenv OSAC /usr/bin/osacompile
setenv PACKAGE_TYPE com.apple.package-type.wrapper.application
setenv PASCAL_STRINGS YES
setenv PATH "/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Developer/Headers /Applications/Developer/SDKs /Applications/Developer/Platforms"
setenv PBDEVELOPMENTPLIST_PATH IphoneOGRE.app/pbdevelopment.plist
setenv PFE_FILE_C_DIALECTS c++
setenv PKGINFO_FILE_PATH /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/PkgInfo
setenv PKGINFO_PATH IphoneOGRE.app/PkgInfo
setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
setenv PLATFORM_DEVELOPER_BIN_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/Library
setenv PLATFORM_DEVELOPER_SDK_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
setenv PLATFORM_DEVELOPER_TOOLS_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
setenv PLATFORM_DEVELOPER_USR_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
setenv PLATFORM_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform
setenv PLATFORM_NAME iphonesimulator
setenv PLATFORM_PRODUCT_BUILD_VERSION 8F190
setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 40300
setenv PLIST_FILE_OUTPUT_FORMAT binary
setenv PLUGINS_FOLDER_PATH IphoneOGRE.app/PlugIns
setenv PREBINDING NO
setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
setenv PRECOMP_DESTINATION_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/PrefixHeaders
setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
setenv PRIVATE_HEADERS_FOLDER_PATH IphoneOGRE.app/PrivateHeaders
setenv PRODUCT_NAME IphoneOGRE
setenv PRODUCT_SETTINGS_PATH /Users/MOOON/Desktop/IphoneOGRE/IphoneOGRE-Info.plist
setenv PRODUCT_TYPE com.apple.product-type.application
setenv PROFILING_CODE NO
setenv PROJECT IphoneOGRE
setenv PROJECT_DERIVED_FILE_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/DerivedSources
setenv PROJECT_DIR /Users/MOOON/Desktop/IphoneOGRE
setenv PROJECT_FILE_PATH /Users/MOOON/Desktop/IphoneOGRE/IphoneOGRE.xcodeproj
setenv PROJECT_NAME IphoneOGRE
setenv PROJECT_TEMP_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build
setenv PUBLIC_HEADERS_FOLDER_PATH IphoneOGRE.app/Headers
setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
setenv REMOVE_CVS_FROM_RESOURCES YES
setenv REMOVE_GIT_FROM_RESOURCES YES
setenv REMOVE_SVN_FROM_RESOURCES YES
setenv REZ_COLLECTOR_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/ResourceManagerResources
setenv REZ_OBJECTS_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/ResourceManagerResources/Objects
setenv REZ_SEARCH_PATHS "\"/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator\" "
setenv RUN_CLANG_STATIC_ANALYZER NO
setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
setenv SCRIPTS_FOLDER_PATH IphoneOGRE.app/Scripts
setenv SCRIPT_INPUT_FILE_COUNT 0
setenv SCRIPT_OUTPUT_FILE_COUNT 0
setenv SDKROOT /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
setenv SDK_DIR /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
setenv SDK_NAME iphonesimulator4.3
setenv SDK_PRODUCT_BUILD_VERSION 8F190
setenv SED /usr/bin/sed
setenv SEPARATE_STRIP NO
setenv SEPARATE_SYMBOL_EDIT NO
setenv SET_DIR_MODE_OWNER_GROUP YES
setenv SET_FILE_MODE_OWNER_GROUP NO
setenv SHALLOW_BUNDLE YES
setenv SHARED_DERIVED_FILE_DIR /Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator/DerivedSources
setenv SHARED_FRAMEWORKS_FOLDER_PATH IphoneOGRE.app/SharedFrameworks
setenv SHARED_PRECOMPS_DIR /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders
setenv SHARED_SUPPORT_FOLDER_PATH IphoneOGRE.app/SharedSupport
setenv SKIP_INSTALL YES
setenv SOURCE_ROOT /Users/MOOON/Desktop/IphoneOGRE
setenv SRCROOT /Users/MOOON/Desktop/IphoneOGRE
setenv STANDARD_C_PLUS_PLUS_LIBRARY_TYPE dynamic
setenv STRINGS_FILE_OUTPUT_ENCODING binary
setenv STRIP_INSTALLED_PRODUCT YES
setenv STRIP_STYLE all
setenv SUPPORTED_DEVICE_FAMILIES "1 2"
setenv SYMBOL_REPOSITORY_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/SymbolRepositories
setenv SYMROOT /Users/MOOON/Desktop/IphoneOGRE/build
setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
setenv SYSTEM_APPS_DIR /Applications
setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
setenv SYSTEM_DEMOS_DIR /Applications/Extras
setenv SYSTEM_DEVELOPER_APPS_DIR /Applications/Developer/Applications
setenv SYSTEM_DEVELOPER_BIN_DIR /Applications/Developer/usr/bin
setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Applications/Developer/Applications/Utilities/Built Examples"
setenv SYSTEM_DEVELOPER_DIR /Applications/Developer
setenv SYSTEM_DEVELOPER_DOC_DIR "/Applications/Developer/ADC Reference Library"
setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Applications/Developer/Applications/Graphics Tools"
setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Applications/Developer/Applications/Java Tools"
setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Applications/Developer/Applications/Performance Tools"
setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Applications/Developer/ADC Reference Library/releasenotes"
setenv SYSTEM_DEVELOPER_TOOLS /Applications/Developer/Tools
setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Applications/Developer/ADC Reference Library/documentation/DeveloperTools"
setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Applications/Developer/ADC Reference Library/releasenotes/DeveloperTools"
setenv SYSTEM_DEVELOPER_USR_DIR /Applications/Developer/usr
setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Applications/Developer/Applications/Utilities
setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
setenv SYSTEM_LIBRARY_DIR /System/Library
setenv TARGETED_DEVICE_FAMILY 1,2
setenv TARGETNAME IphoneOGRE
setenv TARGET_BUILD_DIR /Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator
setenv TARGET_NAME IphoneOGRE
setenv TARGET_TEMP_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build
setenv TEMP_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build
setenv TEMP_FILES_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build
setenv TEMP_FILE_DIR /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build
setenv TEMP_ROOT /Users/MOOON/Desktop/IphoneOGRE/build
setenv UID 501
setenv UNLOCALIZED_RESOURCES_FOLDER_PATH IphoneOGRE.app
setenv UNSTRIPPED_PRODUCT NO
setenv USER MOOON
setenv USER_APPS_DIR /Users/MOOON/Applications
setenv USER_LIBRARY_DIR /Users/MOOON/Library
setenv USE_DYNAMIC_NO_PIC YES
setenv USE_HEADERMAP YES
setenv USE_HEADER_SYMLINKS NO
setenv VALIDATE_PRODUCT NO
setenv VALID_ARCHS i386
setenv VERBOSE_PBXCP NO
setenv VERSIONPLIST_PATH IphoneOGRE.app/version.plist
setenv VERSION_INFO_BUILDER MOOON
setenv VERSION_INFO_FILE IphoneOGRE_vers.c
setenv VERSION_INFO_STRING "\"@(#)PROGRAM:IphoneOGRE  PROJECT:IphoneOGRE-\""
setenv WRAPPER_EXTENSION app
setenv WRAPPER_NAME IphoneOGRE.app
setenv WRAPPER_SUFFIX .app
setenv XCODE_APP_SUPPORT_DIR /Applications/Developer/Library/Xcode
setenv XCODE_PRODUCT_BUILD_VERSION 10M2518
setenv XCODE_VERSION_ACTUAL 0400
setenv XCODE_VERSION_MAJOR 0400
setenv XCODE_VERSION_MINOR 0400
setenv YACC /Applications/Developer/usr/bin/yacc
setenv _REAL_SDKROOT iphoneos
/bin/sh -c /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Script-9CE2F95410E0A0250099B92A.sh

/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Script-9CE2F95410E0A0250099B92A.sh: line 4: /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp: No such file or directory

CompileC build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/main.o Classes/main.cpp normal i386 objective-c++ com.apple.compilers.gcc.4_2
cd /Users/MOOON/Desktop/IphoneOGRE
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -mdynamic-no-pic -DDEBUG -isysroot /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -fexceptions -fvisibility-inlines-hidden -mmacosx-version-min=10.6 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -iquote /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-generated-files.hmap -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-own-target-headers.hmap -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-all-target-headers.hmap -iquote /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-project-headers.hmap -F/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator -I/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator/include -I_OGRESDK_ROOT_/iPhoneDependencies/include -I_OGRESDK_ROOT_/include/OGRE -I_OGRESDK_ROOT_/include/OGRE/Plugins/BSPSceneManager -I_OGRESDK_ROOT_/include/OGRE/Plugins/OctreeSceneManager -I_OGRESDK_ROOT_/include/OGRE/Plugins/OctreeZone -I_OGRESDK_ROOT_/include/OGRE/Plugins/ParticleFX -I_OGRESDK_ROOT_/include/OGRE/Plugins/PCZSceneManager -I_OGRESDK_ROOT_/include/OGRE/iPhone -I_OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES -I_OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES/APPLE -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources/i386 -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources -include /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/IphoneOGRE_Prefix-eiupmitykqrbvlcxetwllcdolmqr/IphoneOGRE_Prefix.pch -c /Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp -o /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/main.o

In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:8:24: error: OgreCamera.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:9:24: error: OgreEntity.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:10:28: error: OgreLogManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:11:25: error: OgreOverlay.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:12:32: error: OgreOverlayElement.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:13:32: error: OgreOverlayManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:14:22: error: OgreRoot.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:15:26: error: OgreViewport.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:16:30: error: OgreSceneManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:17:30: error: OgreRenderWindow.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:18:28: error: OgreConfigFile.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:20:27: error: OIS/OISEvents.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:21:33: error: OIS/OISInputManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:22:29: error: OIS/OISKeyboard.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:23:26: error: OIS/OISMouse.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:25:34: error: OIS/OISMultiTouch.h: No such file or directory
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:50,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:24:18: error: Ogre.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:43:30: error: OgreGLESPlugin.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:46:30: error: OgreD3D9Plugin.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:37:22: error: macUtils.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:47:21: error: windows.h: No such file or directory
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:50,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:94: error: ISO C++ forbids declaration of 'GLESPlugin' with no type
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:94: error: expected ';' before '*' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:97: error: ISO C++ forbids declaration of 'D3D9Plugin' with no type
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:97: error: expected ';' before '*' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h: In member function 'void Ogre::StaticPluginLoader::load()':
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'Root' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'root' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'Root' is not a class or namespace
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: 'mGLESPlugin' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: 'OGRE_NEW' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: expected `;' before 'GLESPlugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:118: error: 'mD3D9Plugin' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:118: error: expected `;' before 'D3D9Plugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h: In member function 'void Ogre::StaticPluginLoader::unload()':
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:173: error: 'OGRE_DELETE' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:173: error: expected `;' before 'mD3D9Plugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:182: error: expected `;' before 'mGLESPlugin'
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h: At global scope:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected template-name before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected `{' before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected unqualified-id before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/main.cpp:189: error: expected declaration before end of line

CompileC build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/DemoApp.o Classes/DemoApp.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /Users/MOOON/Desktop/IphoneOGRE
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -mdynamic-no-pic -DDEBUG -isysroot /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -fexceptions -fvisibility-inlines-hidden -mmacosx-version-min=10.6 -gdwarf-2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -iquote /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-generated-files.hmap -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-own-target-headers.hmap -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-all-target-headers.hmap -iquote /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-project-headers.hmap -F/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator -I/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator/include -I_OGRESDK_ROOT_/iPhoneDependencies/include -I_OGRESDK_ROOT_/include/OGRE -I_OGRESDK_ROOT_/include/OGRE/Plugins/BSPSceneManager -I_OGRESDK_ROOT_/include/OGRE/Plugins/OctreeSceneManager -I_OGRESDK_ROOT_/include/OGRE/Plugins/OctreeZone -I_OGRESDK_ROOT_/include/OGRE/Plugins/ParticleFX -I_OGRESDK_ROOT_/include/OGRE/Plugins/PCZSceneManager -I_OGRESDK_ROOT_/include/OGRE/iPhone -I_OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES -I_OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES/APPLE -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources/i386 -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources -include /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/IphoneOGRE_Prefix-gxqdpezsmdezhubyoswwcrfiyzma/IphoneOGRE_Prefix.pch -c /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp -o /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/DemoApp.o

In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:8:24: error: OgreCamera.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:9:24: error: OgreEntity.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:10:28: error: OgreLogManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:11:25: error: OgreOverlay.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:12:32: error: OgreOverlayElement.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:13:32: error: OgreOverlayManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:14:22: error: OgreRoot.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:15:26: error: OgreViewport.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:16:30: error: OgreSceneManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:17:30: error: OgreRenderWindow.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:18:28: error: OgreConfigFile.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:20:27: error: OIS/OISEvents.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:21:33: error: OIS/OISInputManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:22:29: error: OIS/OISKeyboard.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:23:26: error: OIS/OISMouse.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:25:34: error: OIS/OISMultiTouch.h: No such file or directory
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:50,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:24:18: error: Ogre.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:43:30: error: OgreGLESPlugin.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:46:30: error: OgreD3D9Plugin.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp:5:23: error: OgreLight.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp:6:38: error: OgreWindowEventUtilities.h: No such file or directory
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:50,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:94: error: ISO C++ forbids declaration of 'GLESPlugin' with no type
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:94: error: expected ';' before '*' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:97: error: ISO C++ forbids declaration of 'D3D9Plugin' with no type
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:97: error: expected ';' before '*' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h: In member function 'void Ogre::StaticPluginLoader::load()':
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'Root' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'root' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'Root' is not a class or namespace
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: 'mGLESPlugin' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: 'OGRE_NEW' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: expected `;' before 'GLESPlugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:118: error: 'mD3D9Plugin' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:118: error: expected `;' before 'D3D9Plugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h: In member function 'void Ogre::StaticPluginLoader::unload()':
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:173: error: 'OGRE_DELETE' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:173: error: expected `;' before 'mD3D9Plugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:182: error: expected `;' before 'mGLESPlugin'
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.h:8,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/DemoApp.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h: At global scope:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected template-name before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected `{' before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected unqualified-id before '<' token

CompileC build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/OgreFramework.o Classes/OgreFramework.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /Users/MOOON/Desktop/IphoneOGRE
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -mdynamic-no-pic -DDEBUG -isysroot /Applications/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -fexceptions -fvisibility-inlines-hidden -mmacosx-version-min=10.6 -gdwarf-2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -iquote /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-generated-files.hmap -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-own-target-headers.hmap -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-all-target-headers.hmap -iquote /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/IphoneOGRE-project-headers.hmap -F/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator -I/Users/MOOON/Desktop/IphoneOGRE/build/Debug-iphonesimulator/include -I_OGRESDK_ROOT_/iPhoneDependencies/include -I_OGRESDK_ROOT_/include/OGRE -I_OGRESDK_ROOT_/include/OGRE/Plugins/BSPSceneManager -I_OGRESDK_ROOT_/include/OGRE/Plugins/OctreeSceneManager -I_OGRESDK_ROOT_/include/OGRE/Plugins/OctreeZone -I_OGRESDK_ROOT_/include/OGRE/Plugins/ParticleFX -I_OGRESDK_ROOT_/include/OGRE/Plugins/PCZSceneManager -I_OGRESDK_ROOT_/include/OGRE/iPhone -I_OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES -I_OGRESDK_ROOT_/include/OGRE/RenderSystems/GLES/APPLE -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources/i386 -I/Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/DerivedSources -include /var/folders/2n/4wy_3d71647233q27lfdxrsh0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/IphoneOGRE_Prefix-gxqdpezsmdezhubyoswwcrfiyzma/IphoneOGRE_Prefix.pch -c /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp -o /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Objects-normal/i386/OgreFramework.o

In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:8:24: error: OgreCamera.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:9:24: error: OgreEntity.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:10:28: error: OgreLogManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:11:25: error: OgreOverlay.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:12:32: error: OgreOverlayElement.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:13:32: error: OgreOverlayManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:14:22: error: OgreRoot.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:15:26: error: OgreViewport.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:16:30: error: OgreSceneManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:17:30: error: OgreRenderWindow.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:18:28: error: OgreConfigFile.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:20:27: error: OIS/OISEvents.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:21:33: error: OIS/OISInputManager.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:22:29: error: OIS/OISKeyboard.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:23:26: error: OIS/OISMouse.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:25:34: error: OIS/OISMultiTouch.h: No such file or directory
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:50,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:24:18: error: Ogre.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:43:30: error: OgreGLESPlugin.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:46:30: error: OgreD3D9Plugin.h: No such file or directory
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp:5:22: error: macUtils.h: No such file or directory
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:50,
                 from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:94: error: ISO C++ forbids declaration of 'GLESPlugin' with no type
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:94: error: expected ';' before '*' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:97: error: ISO C++ forbids declaration of 'D3D9Plugin' with no type
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:97: error: expected ';' before '*' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h: In member function 'void Ogre::StaticPluginLoader::load()':
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'Root' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'root' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:108: error: 'Root' is not a class or namespace
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: 'mGLESPlugin' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: 'OGRE_NEW' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:114: error: expected `;' before 'GLESPlugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:118: error: 'mD3D9Plugin' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:118: error: expected `;' before 'D3D9Plugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h: In member function 'void Ogre::StaticPluginLoader::unload()':
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:173: error: 'OGRE_DELETE' was not declared in this scope
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:173: error: expected `;' before 'mD3D9Plugin'
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreStaticPluginLoader.h:182: error: expected `;' before 'mGLESPlugin'
In file included from /Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp:3:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h: At global scope:
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected template-name before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected `{' before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.h:56: error: expected unqualified-id before '<' token
/Users/MOOON/Desktop/IphoneOGRE/Classes/OgreFramework.cpp:278: error: expected declaration before end of line
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

Ah ha, I see the problem. If you look in your header search paths you'll see _OGRESDK_ROOT_. This is a variable that is supposed to be replaced in the installer with the path to where your SDK is installed. This only affects the Xcode 3 template installer.

It frequently fails to replace it but I've never been able to reproduce the issue myself. All you have to do is replace it with the path and then you should be ready to go.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

OK. I am glad you find the answer. Masterfalcon

But, the 'header search path' column is empty. I tried the same as library search path, but it doesn't work.

I installed the template.dmg again, but it's not the answer, either.

Would you describe the steps to cure this problem?

Many thanks
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

Are you looking in target or project settings? Target settings always trump project settings.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Less errors.. Thanks..

Post by James Moon »

But, still I got 8 errors..

I am posting the screen shot..

Thank you for your answers.. I hope I didn't ruin your weekend. :wink:
You do not have the required permissions to view the files attached to this post.
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

CHeck on the library search path. The variable might be in there too.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

Yes.. I miss some, but I got 3 errors..

Would you look it over ?
You do not have the required permissions to view the files attached to this post.
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

The first one still perplexes me. Could you check that /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp exists?

Then for the other two, there is probably more info in the build log that might help figure out what the error is about.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

Masterfalcon. The 2 files are in the right folder. Exec files.

Is there anything I can do, instead of installing all again?

Regards
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

It's possible that this is another case where the _OGRESDK_PATH_ variable is causing problems.

What are the contents of /Users/MOOON/Desktop/IphoneOGRE/build/IphoneOGRE.build/Debug-iphonesimulator/IphoneOGRE.build/Script-9CE2F95410E0A0250099B92A.sh?

And then also, any more of the build log pertaining to those other two build errors.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

The content of the file..

Code: Select all

#!/bin/sh
mkdir -p "${PROJECT_DIR}"/build/"${CONFIGURATION}""${EFFECTIVE_PLATFORM_NAME}"/"${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"

/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn  -resolve-src-symlinks "${PROJECT_DIR}"/Resources/media "${PROJECT_DIR}"/build/"${CONFIGURATION}""${EFFECTIVE_PLATFORM_NAME}"/"${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"
And there is nothing more. If you want, I will zip the entire folder and send you.

Regards.
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

Sure, that sounds like a good idea.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

I zipped it and store here.

https://files.ucloud.com/pf/D916037_6551576_081681

I hope this success. ^^

Thanks
Life is Lila. Kretone.Tnaru.net
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: Simple Guide to iOS Ogre ...

Post by masterfalcon »

I wasn't able to reproduce the errors that you're seeing. I'm using Xcode 4 however.
James Moon
Gnoblar
Posts: 15
Joined: Tue Jul 12, 2011 3:27 pm

Re: Simple Guide to iOS Ogre ...

Post by James Moon »

It's been a quite a time. I found some error in my system.

I installed Xcode 4 and unintalled it several times. And I format my macbook air and install Lion and Xcode4.

I will test it again. Thank you again, I hope I won't need any help. :wink: :wink:
Life is Lila. Kretone.Tnaru.net