Problems with Darkplaces compiling(MinGW)

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Max_Salivan
Posts: 96
Joined: Thu Dec 15, 2011 1:00 pm

Problems with Darkplaces compiling(MinGW)

Post by Max_Salivan »

Hello all!
I cant compile thi engine under MinGW(i get sdl,dx headers)

Got this error-_-
Image

P.S: i used this for compiling

Code: Select all

make DP_MAKE_TARGET=mingw CC="gcc" CFLAGS_RELEASE='-DSUPPORTDIRECTX' cl-release
Sorry for my english :)
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Problems with Darkplaces compiling(MinGW)

Post by Spike »

try CFLAGS_RELEASE='-DNO_SSE -DSUPPORTDIRECTX'
Max_Salivan
Posts: 96
Joined: Thu Dec 15, 2011 1:00 pm

Re: Problems with Darkplaces compiling(MinGW)

Post by Max_Salivan »

now its wants libjpeg.h

i found it,but needs something else
Sorry for my english :)
Spike
Posts: 2914
Joined: Fri Nov 05, 2004 3:12 am
Location: UK
Contact:

Re: Problems with Darkplaces compiling(MinGW)

Post by Spike »

it got further then, that's good I guess.
And yes, external dependancies suck. its probably much easier to compile it for linux, as you can just apt-get whatever dependancies, hurrah for that.
Jay Dolan
Posts: 59
Joined: Tue Jan 22, 2008 7:16 pm
Location: Naples, FL
Contact:

Re: Problems with Darkplaces compiling(MinGW)

Post by Jay Dolan »

Yea, I would actually consider cross-compiling for Windows with Fedora. While I'm generally not a fan of Fedora, it seems to have the best cross-compiling support. This is what we use for Quake2World -- we have a Fedora box running Jenkins and cross-compiling for Windows. Here are our build scripts, if it's of any use to you:

MingW cross compilation on Fedora:
https://github.com/jdolan/quake2world/t ... ingw-cross

Continuous integration scripts to drive the build through Jenkins:
https://github.com/jdolan/quake2world/t ... rt/jenkins
Max_Salivan
Posts: 96
Joined: Thu Dec 15, 2011 1:00 pm

Re: Problems with Darkplaces compiling(MinGW)

Post by Max_Salivan »

i'll try this http://forums.inside3d.com/viewtopic.php?t=1221 on hackintosh :lol:

because i cant compile DP with MinGW-_-
Sorry for my english :)
Post Reply