Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Gustra on February 15, 2004, 10:29:41 pm
-
Hi,
I checked out the Icculus port but cannot get it to run properly on my host (Debian sarge, Linux 2.4.24, Geforce 2 (ASUS v7700), gcc 3.3.3). I had to move -lGL to the end of the link line in the Makefile to get it to link properly, and I use a CVS version of OpenAL as well. After I start the executable, it does seem to manipulate the video settings but all I get is a screen with "noice" on it, just as if the video memory is filled with random data.
Checking the log, everything seem to load fine for a while, but then it starts getting a lot of things like this:
General: Bitmap is to small at 0x0.
General: Not rendering a texture because it didn't fit in VRAM!
...
BmpMan: Loading cursor1.ani[1] for the first time.
Paging: Loading cursor1.ani[1] (5x7x16x--)
Error: !!DEBUG!! t->texture_handle == 0
...
General: WARNING: Error setting aabitmap texture!
Then I tried running the Icculus installer but got a segfault:
Verifying archive integrity... All good.
Uncompressing Freespace 2 for Linux........
./setup.sh: line 250: 19750 Segmentation fault "$setup" "$@"
This could be the result of a library version incompatibily, I suppose. The setup file appears to be linked against glibc2.1 and I got 2.2 (a CVS release according to the debian packager).
I thought perhaps the FSO would work better but after running configure no makefile.linux was produced (as described in the README) and using the ordinary Makefile did not work either.
Everybody else seem to have no problem so what I am missing?
Regards,
/Gunnar
Edit: trimmed a line
-
The ordinary Makefile should work for FSO, any particular errors?
-
I got compilation errors:
In file included from ddsutils/ddsutils.h:8,
from bmpman/bmpman.cpp:608:
directx/vddraw.h:72: error: syntax error before `*' token
And a lot of similar errors, i.e. as if a file is missing. The Makefile does contain i686-pc-linux-gnu settings, e.g. "build".
/Gunnar
-
our Linux build is still more theoretical than actual, but I beleve it was compileing a while ago.
-
Ok, I wasn't actually thinking there was anything wrong with it. My first guess is that there is something wrong here on my end, but I was hoping somebody else might've recognized some error. It seems a little odd to me that directx-files would be part of the compilation for Linux, but I don't really know anything about how SDL and OpenGL, so I couldn't rule it out. I'll continue to try to see if I can work it out.
/Gunnar
-
See if there is anything strange in your config.log file. Also are you using FSO CVS or the version from bKtHeG? I don't think the CVS version will work yet but someone can correct me if I'm wrong, I haven't done an update in a while. Look in the "FS2_Open Linux Discussion" thread for my last post on the last page to find a download link if you don't have bKtHeG's code.
-
I used the CVS version so that is probably it, then. I'll try the other one, cheers. There are a few suspicious lines in the log:
conftest.cc:16: error: `exit' undeclared (first use this function)
But I think that the Makefile looked o.k.
/Gunnar
-
Forget i said something...
Cheers
-
Yeah, need to get bk to commit his stuff :)