05-18-2010, 06:57 AM,
|
|
devscrap
Junior Member
|
Posts: 9
Threads: 1
Joined: May 2010
|
|
Just for info:
i managed to successfully compile the baseline 2009-06-15 (a nice goal for myself) just fixing the path of a misplaced component (bullet) in the xcode project file. The vdrift app just xcode toasted run very well and now i can start to learn the code. Your posts have been enlightening. Thanks
I would like to submit some questions:
1) Can i use the svn data-trunk repository instead the one supplied with the baseline 2009-06-15 ? At first sight it appears not. I guess?
2) And if so, why ?
3) The boost library are not used in this baseline ? I guess?
4) Apart boost and the Techincal Report 1 nightmare what are the most important changes with regard to graphics and physics of the game compared to baseline 2009-06-15 ?
5) Where can I find a revision history with some detailed notes ?
Sorry for the stupid questions but before May 15 I did not even know the existence of this game. I'm not lazy. I swear I'm reading everything available on the wiki and forum. :oops:
Thanks in advance for wasting your time for replies
p.s.
it's a great job what you did with this game.
|
|
05-18-2010, 08:14 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:Can i use the svn data-trunk repository instead the one supplied with the baseline 2009-06-15 ?
I am afraid you can't. There have been some changes in the shaders and gui. But cars and tracks might work.
Quote:most important changes with regard to graphics and physics
For the physics(changed/rewritten):
- collision detection/resolution
- tires and suspension simulation
Quote:revision history with some detailed notes
Look into:
http://vdrift.net/Forum/viewtopic.php?t=1309
http://vdrift.net/Forum/viewtopic.php?t=1327
http://vdrift.net/Forum/viewtopic.php?t=1308
|
|
05-18-2010, 10:32 AM,
|
|
joevenzon
Administrator
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
abs1nth Wrote: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);
could be used but i don't know if it does regeneration of mipmaps
I'm guessing that if you upgrade your GLEW to the latest version you'll pick both of these up.
As a side note, glGenerateMipmap is used for real-time hardware accelerated mipmap generation (i.e. generation of mipmaps every frame), the other method isn't fast enough for this.
|
|
05-19-2010, 04:28 AM,
|
|
devscrap
Junior Member
|
Posts: 9
Threads: 1
Joined: May 2010
|
|
Hi, i was able to compile the last revision (2740) on my Imac (G5 -10.4.11) now. The vdrift app run and i'm very happy to strat to learn a lot. :-)
Thanks to everybody for the suggestions, the tricks, the tips, the links and the non-stop working for fixing and improving this real programming workshop and school. So now I can only dive through the code and maybe make a contribution, who knows... :lol:
Siete in gamba ragazzi. :wink:
Ciao
|
|
06-20-2010, 02:38 PM,
|
|
devscrap
Junior Member
|
Posts: 9
Threads: 1
Joined: May 2010
|
|
Hi, since the revision 2748 (the last that worked) i can't compile the trunk (today rev. 2809).
This is the error from xcode:
Code: Checking Dependencies
CompileC build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/sky.o /Users/¶¶¶/vdrift-last/tools/osx/../../src/sky.cpp normal ppc c++ com.apple.compilers.gcc.4_0
cd /Users/¶¶¶/vdrift-last/tools/osx
/Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -DDEBUG=1 -fmessage-length=0 -mtune=G4 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -I/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/vdrift.hmap -mdynamic-no-pic -F/Users/¶¶¶/vdrift-last/tools/osx/build/Debug -F/Users/¶¶¶/vdrift-last/tools/osx -I/Users/¶¶¶/vdrift-last/tools/osx/build/Debug/include -I../../bullet -I../../include -ISDL.framework/Headers -I/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/¶¶¶/vdrift-last/tools/osx/../../src/sky.cpp -o /Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/sky.o
/Users/¶¶¶/vdrift-last/tools/osx/../../src/sky.cpp: In member function 'bool SKY::Load(const std::string&)':
/Users/¶¶¶/vdrift-last/tools/osx/../../src/sky.cpp:55: error: no matching function for call to 'FBTEXTURE::Init(int, int, FBTEXTURE::TARGET, bool, bool, bool, bool, std::basic_ostream<char, std::char_traits<char> >&)'
/Users/¶¶¶/vdrift-last/tools/osx/../../include/fbtexture.h:66: note: candidates are: void FBTEXTURE::Init(GLSTATEMANAGER&, int, int, FBTEXTURE::TARGET, FBTEXTURE::FORMAT, bool, bool, std::ostream&, int, bool)
searching in the forum i found this:
http://vdrift.net/Forum/viewtopic.php?p=10619#10619
But also removing the file "sky.cpp" the error is delayed from compile time to link time :
Code: Ld /Users/¶¶¶/vdrift-last/tools/osx/build/Debug/vdrift.app/Contents/MacOS/vdrift normal ppc
mkdir /Users/¶¶¶/vdrift-last/tools/osx/build/Debug/vdrift.app/Contents/MacOS
cd /Users/¶¶¶/vdrift-last/tools/osx
/Developer/usr/bin/g++-4.0 -o /Users/¶¶¶/vdrift-last/tools/osx/build/Debug/vdrift.app/Contents/MacOS/vdrift -L/Users/¶¶¶/vdrift-last/tools/osx/build/Debug -F/Users/¶¶¶/vdrift-last/tools/osx/build/Debug -F/Users/¶¶¶/vdrift-last/tools/osx -filelist /Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/vdrift.LinkFileList -framework OpenGL -framework SDL_image -framework SDL_net -framework SDL -framework AppKit -framework SDL_gfx -framework GLExtensionWrangler -framework Ogg -framework Vorbis -arch ppc -Wl,-Y,1455 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/Developer/usr/bin/../libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
CARENGINEINFO<double>::SetTorqueCurve(double, std::vector<std::pair<double, double>, std::allocator<std::pair<double, double> > >)
CARENGINEINFO<double>::CARENGINEINFO()
CARENGINE<double>::DebugPrint(std::basic_ostream<char, std::char_traits<char> >&)
CARENGINE<double>::ComputeForces(double, double, double)
CARENGINE<double>::Init(CARENGINEINFO<double> const&)
CARENGINE<double>::Serialize(joeserialize::Serializer&)
CARENGINE<double>::CARENGINE()
CONFIGVARIABLE::DebugPrint(std::basic_ostream<char, std::char_traits<char> >&)
CONFIGVARIABLE::Set(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
CONFIGVARIABLE::strTrim(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
CONFIGVARIABLE::strLCase(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
CONFIGVARIABLE::CONFIGVARIABLE(CONFIGVARIABLE const&)
CONFIGVARIABLE::CONFIGVARIABLE()
CONFIGVARIABLE::operator=(CONFIGVARIABLE const&)
CONFIGVARIABLE::operator<(CONFIGVARIABLE const&)
FBOBJECT::SetCubeSide(FBTEXTURE::CUBE_SIDE)
FBOBJECT::End(GLSTATEMANAGER&, std::basic_ostream<char, std::char_traits<char> >&)
FBOBJECT::Init(GLSTATEMANAGER&, std::vector<FBTEXTURE*, std::allocator<FBTEXTURE*> >, std::basic_ostream<char, std::char_traits<char> >&, bool)
FBOBJECT::Begin(GLSTATEMANAGER&, std::basic_ostream<char, std::char_traits<char> >&, float)
FBOBJECT::DeInit()
FBOBJECT::IsCubemap() const
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINEINFO<double>::SetTorqueCurve(double, std::vector<std::pair<double, double>, std::allocator<std::pair<double, double> > >)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINEINFO<double>::CARENGINEINFO()
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINE<double>::DebugPrint(std::basic_ostream<char, std::char_traits<char> >&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINE<double>::ComputeForces(double, double, double)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINE<double>::Init(CARENGINEINFO<double> const&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINE<double>::Serialize(joeserialize::Serializer&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/cardynamics.o reference to undefined CARENGINE<double>::CARENGINE()
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::DebugPrint(std::basic_ostream<char, std::char_traits<char> >&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::Set(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::strTrim(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::strLCase(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::CONFIGVARIABLE(CONFIGVARIABLE const&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::CONFIGVARIABLE()
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::operator=(CONFIGVARIABLE const&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/configfile.o reference to undefined CONFIGVARIABLE::operator<(CONFIGVARIABLE const&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/graphics.o reference to undefined FBOBJECT::SetCubeSide(FBTEXTURE::CUBE_SIDE)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/graphics.o reference to undefined FBOBJECT::End(GLSTATEMANAGER&, std::basic_ostream<char, std::char_traits<char> >&)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/graphics.o reference to undefined FBOBJECT::Init(GLSTATEMANAGER&, std::vector<FBTEXTURE*, std::allocator<FBTEXTURE*> >, std::basic_ostream<char, std::char_traits<char> >&, bool)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/graphics.o reference to undefined FBOBJECT::Begin(GLSTATEMANAGER&, std::basic_ostream<char, std::char_traits<char> >&, float)
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/graphics.o reference to undefined FBOBJECT::DeInit()
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/graphics.o reference to undefined FBOBJECT::IsCubemap() const
/Users/¶¶¶/vdrift-last/tools/osx/build/vdrift.build/Debug/vdrift.build/Objects-normal/ppc/main.o reference to undefined FBOBJECT::DeInit()
collect2: ld returned 1 exit status
So, is there any framework that I must update (Glew etc. etc.)? I guess not since all the fameworks are provided with the trunk. But everything can be :-)
Thanks in advance for the suggestions.
|
|
|