Libc++ dependencies

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Libc++ dependencies

Post by masterfalcon »

It appears that you are trying to link with the OS X libc++ dependencies rather than those for iOS.
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

For some reason it is not finding any of the iOS dependencies. The iOS dependencies are extracted into the ogre source dir where the build dir is. I included the file structure at the bottom, but it should be pretty normal. The OSX dependencies are out of the source folder.

I deleted the cmake cache and cleared the build directory many times and redownloaded the source but no dice.

Checking whether C compiler has -isysroot
Checking whether C compiler has -isysroot - yes
Checking whether C compiler supports OSX deployment target flag
Checking whether C compiler supports OSX deployment target flag - no
Checking whether CXX compiler has -isysroot
Checking whether CXX compiler has -isysroot - yes
Checking whether CXX compiler supports OSX deployment target flag
Checking whether CXX compiler supports OSX deployment target flag - no
Configuring OGRE 1.9.0unstable
Check size of void*
Check size of void* - done
Performing Test OGRE_GCC_HAS_SSE
Performing Test OGRE_GCC_HAS_SSE - Success
Performing Test OGRE_GCC_VISIBILITY
Performing Test OGRE_GCC_VISIBILITY - Success
Detected g++ 4.2.1

Enabling GCC visibility flags
Skipping -fvisibility-inlines-hidden due to linker issues
Check if the system is big endian
Searching 16 bit integer
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
Check size of unsigned short - done
Using unsigned short
Check if the system is big endian - little endian
Search path: /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/../Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/../Dependencies
Looking for ZLIB...
Found PkgConfig: /opt/local/bin/pkg-config (found version "0.28")
checking for module 'zzip-zlib-config'
package 'zzip-zlib-config' not found
Found ZLIB: optimized;/usr/lib/libz.dylib;debug;/usr/lib/libz.dylib
Looking for ZZip...
checking for module 'zziplib'
package 'zziplib' not found
Could not locate ZZip
Looking for FreeImage...
checking for module 'freeimage'
package 'freeimage' not found
Could not locate FreeImage
Looking for FREETYPE...
checking for module 'freetype2'
package 'freetype2' not found
CMAKE_PREFIX_PATH: /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/../Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/../Dependencies;/usr/local;/usr/lib/i386-linux-gnu
CMAKE_PREFIX_PATH: /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/../Dependencies;/Prog/Frameworks/OgreMain/sources/1.9new/ogre/../Dependencies;/usr/local;/usr/lib/i386-linux-gnu
Could not locate FREETYPE
Found OpenGL: /System/Library/Frameworks/OpenGL.framework
Looking for Cg...
Cg_PREFIX_PATH changed.
checking for module 'Cg'
package 'Cg' not found
Could not locate Cg
Looking for POCO...
checking for module 'POCO'
package 'POCO' not found
Could not locate POCO
Looking for TBB...
Could not locate TBB
Looking for GLSL_Optimizer...
GLSL_Optimizer_PREFIX_PATH changed.
checking for module 'GLSL_Optimizer'
package 'GLSL_Optimizer' not found
Could not locate GLSL_Optimizer
Looking for HLSL2GLSL...
HLSL2GLSL_PREFIX_PATH changed.
checking for module 'HLSL2GLSL'
package 'HLSL2GLSL' not found
Could not locate HLSL2GLSL
Looking for OIS...
OIS_PREFIX_PATH changed.
checking for module 'OIS'
package 'OIS' not found
Could not locate OIS
Found Doxygen: /Applications/Doxygen.app/Contents/Resources/doxygen
Looking for Softimage...
Softimage_PREFIX_PATH changed.
Could not locate Softimage
Could NOT find TinyXML (missing: TINYXML_INCLUDE_DIR TINYXML_LIBRARIES)
Looking for CppUnit...
checking for module 'cppunit'
package 'cppunit' not found
Could not locate CppUnit

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ zlib
+ OpenGL
+ OpenGL 3+
+ OpenGL ES 1.x
+ OpenGL ES 2.x
+ OpenGL ES 3.x
+ Doxygen
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ zziplib: Extract data from zip archives <http://zziplib.sourceforge.net>
+ freeimage: Support for commonly used graphics image formats <http://freeimage.sourceforge.net>
+ freetype: Portable font engine <http://www.freetype.org>
+ cg: C for graphics shader language <http://developer.nvidia.com/object/cg_toolkit.html>
+ boost: Boost (general) <http://boost.org>
+ boost-thread: Used for threading support <http://boost.org>
+ boost-date_time: Used for threading support <http://boost.org>
+ POCO: POCO framework <http://pocoproject.org/>
+ tbb: Threading Building Blocks <http://www.threadingbuildingblocks.org/>
+ GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
+ HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
+ OIS: Input library needed for the samples <http://sourceforge.net/projects/wgois>
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>
+ TinyXML: TinyXML needed for building OgreXMLConverter <FALSE>
+ CppUnit: Library for performing unit tests <http://cppunit.sourceforge.net>
-----------------------------------------------------------------------------


----------------------------------------------------------------------------
FEATURE SUMMARY
----------------------------------------------------------------------------

Building components:
+ Paging
+ Terrain
+ RTShader System
+ RTShader System Core Shaders
+ RTShader System Extensions Shaders
+ Volume
Building plugins:
+ BSP scene manager
+ Octree scene manager
+ Portal connected zone scene manager
+ Particle FX
Building rendersystems:
+ OpenGL
Building executables:
+ Tools
Building core features:
+ DDS image codec

Build type: dynamic
Threading support: none
Use double precision: disabled
Allocator type: nedmalloc (pooling)
STL containers use allocator: enabled
Strings use allocator: disabled
Memory tracker (debug): disabled
Memory tracker (release): disabled
Use new script compilers:
Use Boost: disabled

----------------------------------------------------------------------------

Configuring done

=======================================



::BUILD DIR FILE_STRUCTURE::
AUTHORS
BUGS
build_IOS
build_OSX
BuildingOgre.txt
BuildingOgreWindowsPhone.txt
BuildingOgreWinRT.txt
CMake
CMakeLists.txt
Components
COPYING
CTestConfig.cmake
Docs
iOSDependencies
OgreMain
Other
PlugIns
README
RenderSystems
Samples
Scripts
SDK
Tests
Tools
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Libc++ dependencies

Post by masterfalcon »

What is the CMake command that you are using?
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

I am using the cmake gui.

I configure once the source and build paths are set
I hit the 'advanced button'
I 'add entry' the OGRE_BUILD_PLATFORM_APPLE_IOS flag, set it on and hit configure
I scroll down to OGRE_CONFIG_ENABLE_LIBCPP_SUPPORT, set it on and hit configure
I hit generate to get the xcode file which I open and build.

I've attached a zip of the xcode error log, the cmake build log and screenshots of the cmake settings and directory structure.

Cmake seems to find the dependencies, apart from boost atomic, but they are giving errors when building, towards the very end of the build.

I am using the libcpp dependencies downloaded from sources on the ogre site. I just tried with a brand new download.
Last edited by caseybasichis on Sun Aug 04, 2013 6:19 pm, edited 1 time in total.
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

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

Re: Libc++ dependencies

Post by masterfalcon »

Let me update the dependencies. I have an updated set on my machine.
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

Hey hey,

I tried with the new dependencies. It seems to get much further but snags on what appears to be a few non dependency items related to String and RBTree.

ProcessInfoPlistFile build_IOS/bin/Debug/SampleBrowser.app/Info.plist build_IOS/Samples/Browser/CMakeFiles/SampleBrowser.dir/Info.plist
cd /Prog/Frameworks/OgreMain/sources/1.9new/ogre
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/CMakeFiles/SampleBrowser.dir/Info.plist -genpkginfo /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug/SampleBrowser.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug/SampleBrowser.app/Info.plist

CompileC build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/Objects-normal/i386/SampleBrowser.o Samples/Browser/src/SampleBrowser.cpp normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Prog/Frameworks/OgreMain/sources/1.9new/ogre
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch i386 -fmessage-length=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions "-DCMAKE_INTDIR=\"Debug-iphonesimulator\"" -DBOOST_THREAD_VERSION=4 -DBOOST_ALL_NO_LIB -DUSE_RTSHADER_SYSTEM -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -fexceptions -fasm-blocks -funroll-loops -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=5.0 -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/OgreMain/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/OgreMain/include/iOS -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/include -I/opt/local/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/include/OIS -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Samples/Common/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Components/RTShaderSystem/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Components/Overlay/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/PlugIns/BSPSceneManager/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/PlugIns/CgProgramManager/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/PlugIns/OctreeSceneManager/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/PlugIns/OctreeZone/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/PlugIns/ParticleFX/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/PlugIns/PCZSceneManager/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/RenderSystems/Direct3D9/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/RenderSystems/Direct3D11/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/RenderSystems/GLES/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/RenderSystems/GLES2/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Samples/Browser/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Components/Paging/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Components/Terrain/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/Components/Volume/include -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/DerivedSources/i386 -I/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug -Wall -Winit-self -Wno-overloaded-virtual -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wshadow -Wno-missing-field-initializers -Wno-long-long -DDEBUG -mno-thumb -pthread -x objective-c++ -MMD -MT dependencies -MF /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/Objects-normal/i386/SampleBrowser.d --serialize-diagnostics /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/Objects-normal/i386/SampleBrowser.dia -c /Prog/Frameworks/OgreMain/sources/1.9new/ogre/Samples/Browser/src/SampleBrowser.cpp -o /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/Objects-normal/i386/SampleBrowser.o

clang: warning: argument unused during compilation: '-mno-thumb'

Ld build_IOS/bin/Debug/SampleBrowser.app/SampleBrowser normal i386
cd /Prog/Frameworks/OgreMain/sources/1.9new/ogre
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug -L/Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug-iphonesimulator -L/Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib -F/Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug -filelist /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/Samples/Browser/OGRE.build/Debug-iphonesimulator/SampleBrowser.build/Objects-normal/i386/SampleBrowser.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework CoreGraphics -framework QuartzCore -framework UIKit -Wl,-search_paths_first -Wl,-headerpad_max_install_names /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreMainStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_OctreeSceneManagerStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_BSPSceneManagerStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_ParticleFXStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_PCZSceneManagerStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_OctreeZoneStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreRTShaderSystemStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreOverlayStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreTerrainStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreVolumeStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libRenderSystem_GLESStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libRenderSystem_GLES2Static.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug/libOIS.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_BezierPatch.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_CameraTrack.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Character.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Compositor.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_DualQuaternion.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_DynTex.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_FacialAnimation.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Grass.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Instancing.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Lighting.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_MeshLod.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_NewInstancing.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Ocean.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_ParticleFX.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_PNTriangles.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_ShaderSystem.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_ShaderSystemTexturedFog.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_ShaderSystemMultiLight.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Shadows.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_SkeletalAnimation.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_SkyBox.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_SkyDome.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_SkyPlane.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Smoke.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_SphereMapping.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Terrain.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_EndlessWorld.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Tesselation.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_TextureFX.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_TextureArray.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Transparency.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_VolumeTex.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_VolumeCSG.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_VolumeTerrain.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Water.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_BSP.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_CelShading.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_DeferredShading.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_CubeMapping.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Dot3Bump.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Fresnel.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_Isosurf.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_ParticleGS.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libSample_SSAO.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_OctreeSceneManagerStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_BSPSceneManagerStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_ParticleFXStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_OctreeZoneStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libPlugin_PCZSceneManagerStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreRTShaderSystemStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreOverlayStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug/libfreetype.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreTerrainStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgrePagingStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreVolumeStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libRenderSystem_GLESStatic.a -framework OpenGLES /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libRenderSystem_GLES2Static.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/lib/iphonesimulator/Debug/libOgreMainStatic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug/libFreeImage.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug/libzzip.a /usr/lib/libz.dylib /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/libboost_thread.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/libboost_date_time.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/libboost_system.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/libboost_atomic.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/libboost_chrono.a /Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug/libOIS.a -stdlib=libc++ -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -o /Prog/Frameworks/OgreMain/sources/1.9new/ogre/build_IOS/bin/Debug/SampleBrowser.app/SampleBrowser

ld: warning: directory not found for option '-L/Prog/Frameworks/OgreMain/sources/1.9new/ogre/iOSDependencies/lib/Debug-iphonesimulator'
Undefined symbols for architecture i386:
"std::string::compare(std::string const&) const", referenced from:
bool std::operator<<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libFreeImage.a(BitmapAccess.o)
"std::allocator<char>::std::allocator()", referenced from:
_FreeImage_SetMetadata in libFreeImage.a(BitmapAccess.o)
_FreeImage_GetMetadata in libFreeImage.a(BitmapAccess.o)
"std::allocator<char>::~std::allocator()", referenced from:
_FreeImage_SetMetadata in libFreeImage.a(BitmapAccess.o)
_FreeImage_GetMetadata in libFreeImage.a(BitmapAccess.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
_FreeImage_SetMetadata in libFreeImage.a(BitmapAccess.o)
_FreeImage_GetMetadata in libFreeImage.a(BitmapAccess.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:
_FreeImage_Clone in libFreeImage.a(BitmapAccess.o)
_FreeImage_CloneMetadata in libFreeImage.a(BitmapAccess.o)
std::pair<std::string const, FITAG*>::pair(std::string const&, FITAG* const&) in libFreeImage.a(BitmapAccess.o)
std::pair<std::string const, FITAG*>::pair(std::pair<std::string const, FITAG*> const&) in libFreeImage.a(BitmapAccess.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
_FreeImage_Clone in libFreeImage.a(BitmapAccess.o)
_FreeImage_CloneMetadata in libFreeImage.a(BitmapAccess.o)
_FreeImage_SetMetadata in libFreeImage.a(BitmapAccess.o)
_FreeImage_GetMetadata in libFreeImage.a(BitmapAccess.o)
std::pair<std::string const, FITAG*>::~pair() in libFreeImage.a(BitmapAccess.o)
"std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from:
std::_Rb_tree_iterator<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> >::operator--() in libFreeImage.a(BitmapAccess.o)
std::_Rb_tree_iterator<std::pair<std::string const, FITAG*> >::operator--() in libFreeImage.a(BitmapAccess.o)
"std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from:
std::_Rb_tree_iterator<std::pair<std::string const, FITAG*> >::operator++(int) in libFreeImage.a(BitmapAccess.o)
std::_Rb_tree_iterator<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> >::operator++(int) in libFreeImage.a(BitmapAccess.o)
std::_Rb_tree_iterator<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> >::operator++() in libFreeImage.a(BitmapAccess.o)
std::_Rb_tree_iterator<std::pair<std::string const, FITAG*> >::operator++() in libFreeImage.a(BitmapAccess.o)
"std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:
std::_Rb_tree<int, std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*>, std::_Select1st<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> >, std::less<int>, std::allocator<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> > >::erase(std::_Rb_tree_iterator<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> >) in libFreeImage.a(BitmapAccess.o)
std::_Rb_tree<std::string, std::pair<std::string const, FITAG*>, std::_Select1st<std::pair<std::string const, FITAG*> >, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >::erase(std::_Rb_tree_iterator<std::pair<std::string const, FITAG*> >) in libFreeImage.a(BitmapAccess.o)
"std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:
std::_Rb_tree<int, std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*>, std::_Select1st<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> >, std::less<int>, std::allocator<std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<int const, std::map<std::string, FITAG*, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >*> const&) in libFreeImage.a(BitmapAccess.o)
std::_Rb_tree<std::string, std::pair<std::string const, FITAG*>, std::_Select1st<std::pair<std::string const, FITAG*> >, std::less<std::string>, std::allocator<std::pair<std::string const, FITAG*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::string const, FITAG*> const&) in libFreeImage.a(BitmapAccess.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

Just a bit more information.

The Mac OSX version is building fine with the same source, only the iOS isn't building.

Do I run 'make install' in the build directory after the xcode build to set the paths? Will it make separate paths for iOS and OSX?

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

Re: Libc++ dependencies

Post by masterfalcon »

Very strange. Make sure to do a clean build, maybe delete your build folder and reconfigure again. What version of Xcode is this with?

I'm just not able to reproduce it here.
jokoon
Goblin
Posts: 203
Joined: Sun Aug 23, 2009 8:30 am
x 3

Re: Libc++ dependencies

Post by jokoon »

mother of god this doesn't seem like good times.

I pray the final version of ogre 1.9 will be easy to work with on Xcode.
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

Jokoon - I still don't have it working after many months of attempts. It is pretty rough.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Libc++ dependencies

Post by masterfalcon »

I'd love to help make it easier but you need to submit bugs.
caseybasichis
Greenskin
Posts: 100
Joined: Wed Jan 25, 2012 7:50 pm
x 1

Re: Libc++ dependencies

Post by caseybasichis »

Hi,

I just created one here, its my first so I'm not sure if it was done correctly.

https://ogre3d.atlassian.net/browse/OGRE-296
Post Reply