The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (Linux)
|
I can't compile on my mac osx (10.4.11 - PPC) - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: I can't compile on my mac osx (10.4.11 - PPC) (/showthread.php?tid=1287) Pages:
1
2
|
I can't compile on my mac osx (10.4.11 - PPC) - devscrap - 05-15-2010 Hi, i try to compile sources unsuccesfull on my mac. I read the Wiki suggestions for building and YES, i push the button 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 hock:. 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 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: - joevenzon - 05-15-2010 GCC 4.0.1 is pretty old. Can you get a newer version? Also, if you're using the sources from SVN, you should not mix it with sources from the last release. If there are files missing from the xcode project, it's because the xcode project is out of date and needs to be updated to delete files that aren't in SVN any more and add files that are new in SVN. You can browse the latest SVN trunk here: http://svn.vdrift.net/viewvc.cgi/trunk/?root=VDrift Make sure that the files you have match what is in SVN. - devscrap - 05-15-2010 Hi Joe, thanks for the reply. I know that you should not mix sweet and salty. I'm sorry :?. Believe me, while i mixing, scratchin and jamming i told myself: -It isn't the right thing- :roll:. So i trashed my frankenstein-revision(damn I had almost fond) :cry:, i cleaned my env and i followed the WIKI suggestions step by step. Now i 've got a brand new folder (I promise not to mess) and the question is: who is that update the xcode prj to fit the svn revision? And above, it's my configuration to be inaccurate? About the gcc: until today this version work very well for my pourpose. But if you know well-know problems with this version please you can suggest me a release that fit well. Thanks again for your interest. - joevenzon - 05-15-2010 I haven't used xcode before. Could you try to update the xcode project yourself? It should just need files removed and added to the project so it matches the files in SVN. - devscrap - 05-15-2010 Yes i can do So other peoples who run mac can use it. Wow this means that i'm a developer now ?. Hey Maaaa!!! Listen. I'm developer Ma. Sorry :oops: Just Kidding :wink: - abs1nth - 05-16-2010 i can have a look. do you want to compile SVN trunk or 2009-06-15? please do not try to install a different gcc version, one should get gcc only as part of the Xcode tools directly from apple. i guess xcode 2.5 is the last version for 10.4.11? - devscrap - 05-16-2010 Hi abs, i narrowed the scope so i working with the svn trunk. No, i do not try to install a different version of gcc, because it's a core component of xcode tool that suite very well for my others biz. Yes the 2.5 it's a bugfixes release for tiger (10.4.11) and a smoother rolling-tool for porting existing projects to 10.5 platform. The annoyng thing: if you need a PPC-only clean SDK you must download again the Macosx10.4SDK because the 2.5 installer inexplicably deletes it. Apart from upgrading the xcode project file of vdrift, I need to know what libraries are used and what version in the project. I believe it is used both Boost and ASIO (or boost-asio?). Sure would be easier to have an xcode prj file updated with all references to files, headers and libraries or even with only references to libraries/frameworks; otherwise the task becomes very tricky. I appreciate any assistance in advance. p.s. the precompiled vdrift 2009-06-15 run very well on my sistem @1680x1050 fullscreen with all the ultra fx enabled - abs1nth - 05-16-2010 i made some fixes, there are two problems left: ⢠the boost / asio dependency in httpget. what it is used for, is this dependency here to stay? ⢠some weird c++ error occuring for most files: Code: CompileC vdrift.build/Release-Deployment/vdrift.build/Objects-normal/i386/ai.o ../../src/ai.cpp normal i386 c++ com.apple.compilers.llvmgcc42 - NaN - 05-16-2010 Quote:some weird c++ error occuring for most fileWe are using some tr1 stuff. Is it supported by Apple's GCC? That's a problem: http://discussions.info.apple.com/message.jspa?messageID=11449643 - devscrap - 05-16-2010 the tr1 seem the guilty also in my compile error log. I try to use the 10.4.0SDK instead of 10.4.uSDK but the SDL frameworks included in the revision do not agree my work-around. I will try to use a SDL frameworks builded with 10.4.0SDK on my system. - devscrap - 05-16-2010 ok, Houston... it seems we have a trouble with gcc and tr1. I tried to compile the svn revision (now 2732) on a linux x86 box (ubuntu 8.04 LTS) et voila an error very similar to what I got on my Mac PPC : Code: scons: Reading SConscript files ... - joevenzon - 05-17-2010 The httpget file and asio are used for nothing at the moment. The asio lib is the non-boost one, although it still requires a few header-only boost libs. http://think-async.com/ - joevenzon - 05-17-2010 We could change objectmanager.h to use std::map instead of std::tr1::unordered_map.... - NaN - 05-17-2010 Switched to std::map (r2734). - abs1nth - 05-17-2010 thanks. two problems remain: ⢠GL_MAX_COLOR_ATTACHMENTS is undefined, but GL_MAX_COLOR_ATTACHMENTS_EXT is available instead... ⢠there is no glGenerateMipmap() but only glGenerateMipmapEXT(). alternatively Code: glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE); |