VOGONS

Common searches


First post, by yop83

User metadata
Rank Newbie
Rank
Newbie

I tried to compile Dosbox 0.63 from the source on a slackware box at school...

The ./configure goes well, but sadly the make quits with an error when compiling gui related files....

Here's a copy of the error:

sdlmain.cpp: In function `GFX_Modes GFX_SetSize(unsigned int, unsigned int,
unsigned int, double, double, void (*)())':
sdlmain.cpp:480: error: invalid conversion from `int' to `GLenum' <-- that's ugly!
sdlmain.cpp: In function `void GFX_EndUpdate()':
sdlmain.cpp:637: error: invalid conversion from `int' to `GLenum'
make[3]: *** [sdlmain.o] Error 1
make[3]: Leaving directory `/.../dosbox-0.63/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/.../dosbox-0.63/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/.../dosbox-0.63'
make: *** [all] Error 2

If anyone can help me, it'd be great... I'm sure it's a small error [I mean, others did compile it under linux, right?]

Thanks
--Yop83

P.S: I'm running under the bash shell.. The version of SDL installed is 1.2.7..

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it seems like dosbox doesn\'t like your opengl headers.

you could try
./configure --disable-opengl

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by yop83

User metadata
Rank Newbie
Rank
Newbie

It now compiles!
Thanks a lot!

I've not tested the binary yet, since I currently have only SSH access to the pcs, but I will run it soon to make sure it can run things even without the opengl support.

--Yop83