Is CVS worth it
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
Is CVS worth it
I have downloaded CVS (data4.x & vegastrike), but cannot get it to run. I tried placing the vegastrike4.3 binary in the bin directory, and it exits with an error in universe.py.
I have attempted compiling the vegastrike binary on linux (gcc 3.4.5) myself, and it doesn't seem to work. The configure shows no errors, but the compiling itself does.
I have tried a lot of things, but can't get anything to work beyond 4.3 Is the CVS version different enough that it would provide different gameplay, or is it not worth any more of my time?
--I know it depends on what I want to do with vegastrike. I usually sit in on current discussions in the forum, and I just want to have fun with the game.
I have attempted compiling the vegastrike binary on linux (gcc 3.4.5) myself, and it doesn't seem to work. The configure shows no errors, but the compiling itself does.
I have tried a lot of things, but can't get anything to work beyond 4.3 Is the CVS version different enough that it would provide different gameplay, or is it not worth any more of my time?
--I know it depends on what I want to do with vegastrike. I usually sit in on current discussions in the forum, and I just want to have fun with the game.
-
- Bounty Hunter
- Posts: 150
- Joined: Wed Dec 15, 2004 8:18 pm
- Location: Ohio
- Contact:
A few graphics have been updated in CVS and, in my opinion, the current CVS stuff seems a lot better in terms of the 'feel' of flight and the game. That may just be related to the fact that I get a lot better performance on the CVS version in OSX or the new stuff in data4.x, though.
Post your make errors and the community will help figure out what went wrong for you.
Post your make errors and the community will help figure out what went wrong for you.
==========
Lonestar
==========
"Not if we jam it! Down scope!"
Lonestar
==========
"Not if we jam it! Down scope!"
-
- Bounty Hunter
- Posts: 150
- Joined: Wed Dec 15, 2004 8:18 pm
- Location: Ohio
- Contact:
config.log usually helps. I usually just clear the screen buffer after a make fails, then run make again. It will start where it left off, leaving just the output from the module it failed to compile. Copy everything and paste it into a post here between quote tags. Also be sure to let us know what distro/driver version/graphics card/etc you are using, since some errors have to do with operating system, opengl implementation, driver problems, etc.
==========
Lonestar
==========
"Not if we jam it! Down scope!"
Lonestar
==========
"Not if we jam it! Down scope!"
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
Weird.
It was finding and messing with a file that was ../.. from the makefile. That is my home directory. There shouldn't be anything in there worth looking at. It found a file with a bunch of email addresses and was thinking it was something. That created a 721kB error log. After I moved that one file, which didn't have anything to do with vegastrike, it dropped the error log to a much more managable 1.8 kB. Weird, I must say. So here is the error log, I rediected the stderr to a file.
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libSDL.so, may conflict with libstdc++.so.6
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libSDL.so, may conflict with libstdc++.so.6
objconv/MeshParse/template_generator.cpp: In function `void UnitBeginElement(const std::string&, const XMLSupport::AttributeList&, XML*)':
objconv/MeshParse/template_generator.cpp:672: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:672: error: expected `;' before "elem"
objconv/MeshParse/template_generator.cpp:673: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:673: error: expected `;' before "top"
objconv/MeshParse/template_generator.cpp:787: error: `elem' was not declared in this scope
objconv/MeshParse/template_generator.cpp:788: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:792: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:793: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:799: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:801: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:802: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp: In function `void UnitEndElement(const std::string&, XML*)':
objconv/MeshParse/template_generator.cpp:850: warning: converting to `int' from `float'
make[1]: *** [objconv/MeshParse/mesh_xml-template_generator.o] Error 1
make: *** [all] Error 2
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libSDL.so, may conflict with libstdc++.so.6
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../i486-slackware-linux/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libSDL.so, may conflict with libstdc++.so.6
objconv/MeshParse/template_generator.cpp: In function `void UnitBeginElement(const std::string&, const XMLSupport::AttributeList&, XML*)':
objconv/MeshParse/template_generator.cpp:672: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:672: error: expected `;' before "elem"
objconv/MeshParse/template_generator.cpp:673: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:673: error: expected `;' before "top"
objconv/MeshParse/template_generator.cpp:787: error: `elem' was not declared in this scope
objconv/MeshParse/template_generator.cpp:788: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:792: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:793: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:799: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:801: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp:802: error: incomplete type `Unit' used in nested name specifier
objconv/MeshParse/template_generator.cpp: In function `void UnitEndElement(const std::string&, XML*)':
objconv/MeshParse/template_generator.cpp:850: warning: converting to `int' from `float'
make[1]: *** [objconv/MeshParse/mesh_xml-template_generator.o] Error 1
make: *** [all] Error 2
Last edited by rigelan on Sat Feb 18, 2006 9:33 pm, edited 2 times in total.
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
Forgot to mention
I forgot to mention - Slackware 10.2 user. Nvidia driver 81.74. Using Gcc 3.4.5
Edit: I got the libstdc errors to go away by upgrading the version. But the UnitBeginElement error is still there.
Edit: I got the libstdc errors to go away by upgrading the version. But the UnitBeginElement error is still there.
-
- Bounty Hunter
- Posts: 150
- Joined: Wed Dec 15, 2004 8:18 pm
- Location: Ohio
- Contact:
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
rigelan that UnitBeginElement is part of mesher the object converter for converting blender and wings3D files to VS binary format so is not nessesary for VS itself that is all that i can offer as i am still learning C/C++ but there are more eyes around here that hav't seen this yet so dont despair.
Enjoy the Choice
Enjoy the Choice
-
- ISO Party Member
- Posts: 445
- Joined: Tue Feb 11, 2003 8:04 am
-
- Developer
- Posts: 1831
- Joined: Mon Mar 07, 2005 10:33 pm
- Contact:
-
- Bounty Hunter
- Posts: 150
- Joined: Wed Dec 15, 2004 8:18 pm
- Location: Ohio
- Contact:
-
- Developer
- Posts: 1831
- Joined: Mon Mar 07, 2005 10:33 pm
- Contact:
-
- Star Pilot
- Posts: 5
- Joined: Wed Feb 22, 2006 11:45 pm
- Location: Norway
When did that happen? Might be prudent for someone to update the documentation or at least put up some notices about this here and there. Everywhere I've looked still says CVS.klauss wrote:That's because Vegastrike has moved to SVN - read this
Moving to Subversion is probably good though, at least for a project like this that seems to like lots of branches.
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
Now trying SVN
Now, I'm trying the current SVN version. It didn't compile on Linux either. My make fails with an entirely different function. It now has problems with al_init.cpp. Is this where the sound is generated?
src/aldrv/al_init.cpp: In function `bool AUDInit()':
src/aldrv/al_init.cpp:186: error: invalid conversion from `ALvoid*' to `ALCcontext*'
src/aldrv/al_init.cpp:186: error: initializing argument 1 of `ALCboolean alcMakeContextCurrent(ALCcontext*)'
src/aldrv/al_init.cpp: In function `void AUDDestroy()':
src/aldrv/al_init.cpp:227: error: invalid conversion from `ALvoid*' to `ALCcontext*'
src/aldrv/al_init.cpp:227: error: initializing argument 1 of `void alcDestroyContext(ALCcontext*)'
./src/cmd/collection.h: At global scope:
./src/cmd/collection.h:54: warning: inline function `void UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[1]: *** [src/aldrv/vegastrike-al_init.o] Error 1
make: *** [all] Error 2
src/aldrv/al_init.cpp: In function `bool AUDInit()':
src/aldrv/al_init.cpp:186: error: invalid conversion from `ALvoid*' to `ALCcontext*'
src/aldrv/al_init.cpp:186: error: initializing argument 1 of `ALCboolean alcMakeContextCurrent(ALCcontext*)'
src/aldrv/al_init.cpp: In function `void AUDDestroy()':
src/aldrv/al_init.cpp:227: error: invalid conversion from `ALvoid*' to `ALCcontext*'
src/aldrv/al_init.cpp:227: error: initializing argument 1 of `void alcDestroyContext(ALCcontext*)'
./src/cmd/collection.h: At global scope:
./src/cmd/collection.h:54: warning: inline function `void UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[1]: *** [src/aldrv/vegastrike-al_init.o] Error 1
make: *** [all] Error 2
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Hmm, it's strange that neither my GCC v. 4.0 and 3.4 don't catch this.
What compiler version do you have (gcc --version)?
The problem is that sometime, OpenAL changed their headers to have a certain function return void* (untyped pointer) to a ALCContext* (a pointer to a defined type).
the code in src/aldrv/al_init.cpp already makes an exception in the code to fix this error for windows.
To fix the error, go to line 151:
Change this code
to
(I.e. delete all but the line before the #endif.
What compiler version do you have (gcc --version)?
The problem is that sometime, OpenAL changed their headers to have a certain function return void* (untyped pointer) to a ALCContext* (a pointer to a defined type).
the code in src/aldrv/al_init.cpp already makes an exception in the code to fix this error for windows.
To fix the error, go to line 151:
Change this code
Code: Select all
#ifndef _WIN32
static ALvoid *context_id=NULL;
#else
static ALCcontext * context_id=NULL;
#endif
Code: Select all
static ALCcontext * context_id=NULL;
-
- Confed Special Operative
- Posts: 291
- Joined: Sat Jan 28, 2006 2:58 am
- Location: Des Moines, Iowa
Got much further than previously. Now I'm coming across another OpenAl reference, I believe.
src/aldrv/vegastrike-al_sound.o(.text+0x266f): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_vector.h:462: undefined reference to `alutLoadWAVMemory'
src/aldrv/vegastrike-al_sound.o(.text+0x26ba): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
src/aldrv/al_sound.cpp:353: undefined reference to `alutUnloadWAV'
collect2: ld returned 1 exit status
make[1]: *** [vegastrike] Error 1
make: *** [all] Error 2
src/aldrv/vegastrike-al_sound.o(.text+0x266f): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
/usr/lib/gcc/i486-slackware-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_vector.h:462: undefined reference to `alutLoadWAVMemory'
src/aldrv/vegastrike-al_sound.o(.text+0x26ba): In function `AUDCreateSoundWAV(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)':
src/aldrv/al_sound.cpp:353: undefined reference to `alutUnloadWAV'
collect2: ld returned 1 exit status
make[1]: *** [vegastrike] Error 1
make: *** [all] Error 2