dagg wrote:dude, welcome, what ebuild are you using?
I had no problem either with the ebuild or hand compilation
no ebuild, compiling on my own
loki1950 wrote:Firstly welcome to our forum Aiwendil and i see from the config log that it's Python 2.6.2 that you are using that may be the issue not sure but there maybe some hints for you in this thread
http://vegastrike.sourceforge.net/forum ... =5&t=14746 but that was with gcc 4.4 as well as Python 2.6.2 but I'm not a coder just the guy with the patiences to read all the logs,and I am not in my fedora install ATM but Win7 as i try to get it to build there.Hopefully one of the other members can enlighten you as to the cause for your errors.
Enjoy the Choice
Ah, thx, must have missed that thread. Helped a lot with my problem. I could compile src/cmd/basecomputer.cpp by changing the define in line 3148 to "#if (__GLIBC__>2 || __GLIBC_MINOR__>=10) || (defined(_WIN32) && !defined(CYGWIN))". The "versionsort" #if didn't work for me.
Ran into another problem later about a missing target "objconv/mesher/Converter.cpp" for "objconv/mesher/mesher-Converter.o", but could solve that for now by only doing a "make vegastrike vegaserver vssetup" instead of a make all. Will look into this later on and to see if it works with cmake.
Oh, and thx for the welcomes too
.
[Edit]
Okay, tried out a few things about mesher. First problem was that "cmake ." didn't run because it couldn't find Converter.cpp which really wasn't in my objconv/mesher dir. No idea how I did this, can't remember that I did anything in that directory (especially not deleting files
). But I did a lot of "make distclean"s and switching between autotools/cmake. No idea if that could lead to a file being deleted. So I solved this by checking out the vegastrike tree with svn again. Got cmake to run again and with the above fix I was able to compile vegastrike, vegaserver and vssetup again. But a "make mesher" still returns an error.
Code: Select all
#LC_ALL=C make mesher
Scanning dependencies of target mesher
Built target mesher
Linking CXX executable mesher
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file mesher: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [objconv/mesher] Error 1
make[2]: *** [objconv/CMakeFiles/mesher.dir/all] Error 2
make[1]: *** [objconv/CMakeFiles/mesher.dir/rule] Error 2
make: *** [mesher] Error 2
Not that the mesher executable is really important for me...Just giving these infos here in case someone finds them useful. Right now I'm happy that I got all else to compile and can run vegastrike. So thanks again for all the help.
[Edit2]
Ok, this is getting funny.
Things I did:
Code: Select all
#svn co https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike
...
#cd vegastrike
#cmake .
#vim src/cmd/basecomputer.cpp
[changed the line 3148 as stated above]
#make
[error when linking mesher from above]
#make vegastrike vegaserver vssetup
[no problem here]
#LC_ALL=C make mesher
[again the error from above...LC_ALL=C to have english output to post it here]
Scanning dependencies of target mesher
Built target mesher
Linking CXX executable mesher
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot open output file mesher: Is a directory
collect2: ld returned 1 exit status
make[3]: *** [objconv/mesher] Error 1
make[2]: *** [objconv/CMakeFiles/mesher.dir/all] Error 2
make[1]: *** [objconv/CMakeFiles/mesher.dir/rule] Error 2
make: *** [mesher] Error 2
#ls objconv/mesher/
6_texture_box.mtl
Converter.h
expat.h
from_obj.cpp
mesh_io.h
mesher.vcproj
to_OgreMesh.cpp
6_texture_box.obj
Modules
expat.lib
from_obj.h
mesher.dsp
test.xmesh
to_OgreMesh.h
BFXM specification.txt
PrecompiledHeaders
from_BFXM.cpp
main.cpp
mesher.dsw
to_BFXM.cpp
to_obj.cpp
Converter.cpp
expat.dll
from_BFXM.h
mesh.h
mesher.sln
to_BFXM.h
to_obj.h
#make mesher
Built target mesher
[100%] Built target mesher
#ls objconv/mesher/
6_texture_box.mtl
Converter.h
expat.h
from_obj.cpp
mesh_io.h
mesher.sln
to_BFXM.h
to_obj.h
6_texture_box.obj
Modules
expat.lib
from_obj.h
mesher
mesher.vcproj
to_OgreMesh.cpp
BFXM specification.txt
PrecompiledHeaders
from_BFXM.cpp
main.cpp
mesher.dsp
test.xmesh
to_OgreMesh.h
Converter.cpp
expat.dll
from_BFXM.h
mesh.h
mesher.dsw
to_BFXM.cpp
to_obj.cpp
#ls -ls objconv/mesher
insgesamt 676
4 -rw-r--r-- 1 olorin olorin 1166 15. Jun 15:35 6_texture_box.mtl
4 -rw-r--r-- 1 olorin olorin 830 15. Jun 15:35 6_texture_box.obj
8 -rw-r--r-- 1 olorin olorin 4456 15. Jun 15:35 BFXM specification.txt
8 -rw-r--r-- 1 olorin olorin 5847 15. Jun 15:35 Converter.cpp
8 -rw-r--r-- 1 olorin olorin 7068 15. Jun 15:35 Converter.h
4 drwxr-xr-x 3 olorin olorin 4096 15. Jun 15:35 Modules
4 drwxr-xr-x 3 olorin olorin 4096 15. Jun 15:35 PrecompiledHeaders
136 -rw-r--r-- 1 olorin olorin 135168 15. Jun 15:35 expat.dll
28 -rw-r--r-- 1 olorin olorin 26371 15. Jun 15:35 expat.h
16 -rw-r--r-- 1 olorin olorin 14902 15. Jun 15:35 expat.lib
48 -rw-r--r-- 1 olorin olorin 48376 15. Jun 15:35 from_BFXM.cpp
4 -rw-r--r-- 1 olorin olorin 417 15. Jun 15:35 from_BFXM.h
20 -rw-r--r-- 1 olorin olorin 18622 15. Jun 15:35 from_obj.cpp
4 -rw-r--r-- 1 olorin olorin 237 15. Jun 15:35 from_obj.h
4 -rw-r--r-- 1 olorin olorin 517 15. Jun 15:35 main.cpp
4 -rw-r--r-- 1 olorin olorin 43 15. Jun 15:35 mesh.h
4 -rw-r--r-- 1 olorin olorin 50 15. Jun 15:35 mesh_io.h
0 lrwxrwxrwx 1 olorin olorin 55 15. Jun 15:50 mesher -> /home/olorin/games/VegaStrike/vegastrike/objconv/mesher
12 -rw-r--r-- 1 olorin olorin 10382 15. Jun 15:35 mesher.dsp
4 -rw-r--r-- 1 olorin olorin 506 15. Jun 15:35 mesher.dsw
4 -rw-r--r-- 1 olorin olorin 871 15. Jun 15:35 mesher.sln
8 -rw-r--r-- 1 olorin olorin 6935 15. Jun 15:35 mesher.vcproj
208 -rw-r--r-- 1 olorin olorin 204821 15. Jun 15:35 test.xmesh
64 -rw-r--r-- 1 olorin olorin 59297 15. Jun 15:35 to_BFXM.cpp
8 -rw-r--r-- 1 olorin olorin 7573 15. Jun 15:35 to_BFXM.h
48 -rw-r--r-- 1 olorin olorin 47968 15. Jun 15:35 to_OgreMesh.cpp
4 -rw-r--r-- 1 olorin olorin 1972 15. Jun 15:35 to_OgreMesh.h
4 -rw-r--r-- 1 olorin olorin 20 15. Jun 15:35 to_obj.cpp
4 -rw-r--r-- 1 olorin olorin 1 15. Jun 15:35 to_obj.h
#ls -la mesher
lrwxrwxrwx 1 olorin olorin 55 15. Jun 15:48 mesher -> /home/olorin/games/VegaStrike/vegastrike/objconv/mesher
So it "compiles" after some tries, but leaves me with a symbolic link mesher pointing to the vegastrike/objconv/mesher directory in the vegastrike/objconv/mesher and vegastrike directory.