Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't compile on my mac osx (10.4.11 - PPC)
05-15-2010, 10:24 AM,
#1
I can't compile on my mac osx (10.4.11 - PPC)
Hi, i try to compile sources unsuccesfull on my mac. I read the Wiki suggestions for building and YES, i push the button Big Grin But after many reported compiler errors i checked the project settings for fitting my env. And unfortunately some files seem to be missing (the list below):

carsurfacetype.h
collision_detection.cpp
collision_detection.h
scenegraph.cpp
scenegraph.h
serialization.h
track_object.cpp
tracksurfacetype.h


So i download the 2009-06-15 source package and there i found the missing files but in others folders. I try to compile this package in Xcode but an error for missing file reveal some misplaced library path in the project settings. No fear, i can adjust it 8) . But at next compile time the errors increase from 1 to 1008 Confusedhock:. An outlook reveal a very messy (for me) situation for this xcode project version. Then i come back to the svn revision 2726 that seemed more clean IMHO and there i merged missing files from the 2009-06-15 source package. I know this is already a horrific best-practice but in my ignorance I did not see other alternatives. To my surprise the errors fell again. And as far as I understand it the errors concerns the Mac 10.4 universal sdk. The five source files prior the "car.cpp" successfully compiled.
This is the error log :
Code:
CompileC build/vdrift.build/Release-Deployment/vdrift.build/Objects-normal/ppc/car.o /Users/§§§§§/vdrift/tools/osx/../../src/car.cpp normal ppc c++ com.apple.compilers.gcc.4_0
    cd /Users/§§§§§/vdrift/tools/osx
    /Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O3 -fmessage-length=0 -mtune=G4 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -I/Users/§§§§§/vdrift/tools/osx/build/vdrift.build/Release-Deployment/vdrift.build/vdrift.hmap -mdynamic-no-pic -F/Users/§§§§§/vdrift/tools/osx/build/Release-Deployment -F/Users/§§§§§/vdrift/tools/osx -I/Users/§§§§§/vdrift/tools/osx/build/Release-Deployment/include -I../../bullet -I../../include -ISDL.framework/Headers -I/Users/§§§§§/vdrift/tools/osx/build/vdrift.build/Release-Deployment/vdrift.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/§§§§§/vdrift/tools/osx/../../src/car.cpp -o /Users/§§§§§/vdrift/tools/osx/build/vdrift.build/Release-Deployment/vdrift.build/Objects-normal/ppc/car.o
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/tr1/hashtable: In instantiation of 'Internal::hash_code_base<TEXTUREINFO, std::pair<const TEXTUREINFO, std::tr1::shared_ptr<TEXTURE> >, Internal::extract1st<std::pair<const TEXTUREINFO, std::tr1::shared_ptr<TEXTURE> > >, std::equal_to<TEXTUREINFO>, std::tr1::hash<TEXTUREINFO>, Internal::mod_range_hashing, Internal::default_ranged_hash, false>':
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/tr1/hashtable:733:   instantiated from 'std::tr1::hashtable<TEXTUREINFO, std::pair<const TEXTUREINFO, std::tr1::shared_ptr<TEXTURE> >, std::allocator<std::pair<const TEXTUREINFO, std::tr1::shared_ptr<TEXTURE> > >, Internal::extract1st<std::pair<const TEXTUREINFO, std::tr1::shared_ptr<TEXTURE> > >, std::equal_to<TEXTUREINFO>, std::tr1::hash<TEXTUREINFO>, Internal::mod_range_hashing, Internal::default_ranged_hash, Internal::prime_rehash_policy, false, true, true>'
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/tr1/unordered_map:59:   instantiated from 'std::tr1::unordered_map<TEXTUREINFO, std::tr1::shared_ptr<TEXTURE>, std::tr1::hash<TEXTUREINFO>, std::equal_to<TEXTUREINFO>, std::allocator<std::pair<const TEXTUREINFO, std::tr1::shared_ptr<TEXTURE> > >, false>'
/Users/§§§§§/vdrift/tools/osx/../../include/objectmanager.h:62:   instantiated from 'OBJECTMANAGER<TEXTUREINFO, TEXTURE, TextureInfoHash, TextureInfoEqual>'
/Users/§§§§§/vdrift/tools/osx/../../include/texturemanager.h:27:   instantiated from here
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/tr1/hashtable:610: error: 'Internal::hash_code_base<Key, Value, ExtractKey, Equal, H1, H2, Internal::default_ranged_hash, false>::m_h1' has incomplete type
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/tr1/functional:1096: error: declaration of 'struct std::tr1::hash<TEXTUREINFO>'

This is my environment:
---------------------------------------------------------------------------------------------------
Hardware
IMac 2.1 GHz PowerPC G5 SDRAM 1.5 GB (HDD Free space >60 GB)

Software
development tools: Xcode version 2.5 (Component versions: Xcode IDE: 799.0,Xcode Core: 798.0,ToolSupport: 794.0)
compiler: gcc version 4.0.1 (Apple Computer, Inc. build 5370) Target: powerpc-apple-darwin8 Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ Thread model posix
vdrift: development version (svn revision 2726)
dependencies:
SDL (included in the revision)
SDL-image (included in the revision)
SDL-gfx (included in the revision)
SDL-net (included in the revision)
OpenGL device drivers (included in the revision)
Vorbis (included in the revision)
Bullet Physics Library (included in the revision)
---------------------------------------------------------------------------------------------------

Thanks for the help you can give me and sorry for my bad inglisch :oops:
Reply


Messages In This Thread
I can't compile on my mac osx (10.4.11 - PPC) - by devscrap - 05-15-2010, 10:24 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-15-2010, 11:02 AM
[No subject] - by devscrap - 05-15-2010, 12:29 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-15-2010, 12:44 PM
[No subject] - by devscrap - 05-15-2010, 12:57 PM
[No subject] - by abs1nth - 05-16-2010, 08:59 AM
[No subject] - by devscrap - 05-16-2010, 10:23 AM
[No subject] - by abs1nth - 05-16-2010, 02:18 PM
[No subject] - by NaN - 05-16-2010, 03:45 PM
[No subject] - by devscrap - 05-16-2010, 08:01 PM
[No subject] - by devscrap - 05-16-2010, 09:00 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-17-2010, 11:44 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-17-2010, 11:48 AM
[No subject] - by NaN - 05-17-2010, 12:12 PM
[No subject] - by abs1nth - 05-17-2010, 12:48 PM
[No subject] - by devscrap - 05-18-2010, 06:57 AM
[No subject] - by NaN - 05-18-2010, 08:14 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-18-2010, 10:32 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-18-2010, 10:34 AM
[No subject] - by abs1nth - 05-18-2010, 03:55 PM
[No subject] - by devscrap - 05-19-2010, 04:28 AM
[No subject] - by NaN - 05-19-2010, 06:44 AM
[No subject] - by devscrap - 06-20-2010, 02:38 PM
[No subject] - by NaN - 06-20-2010, 03:33 PM
[No subject] - by abs1nth - 06-21-2010, 06:23 PM
[No subject] - by NaN - 06-22-2010, 01:41 AM
[No subject] - by NaN - 06-25-2010, 02:10 PM
[No subject] - by abs1nth - 07-17-2010, 06:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)