Page 1 of 1
Problems with Darkplaces compiling(MinGW)
Posted: Thu Apr 10, 2014 4:27 pm
by Max_Salivan
Hello all!
I cant compile thi engine under MinGW(i get sdl,dx headers)
Got this error-_-
P.S: i used this for compiling
Code: Select all
make DP_MAKE_TARGET=mingw CC="gcc" CFLAGS_RELEASE='-DSUPPORTDIRECTX' cl-release
Re: Problems with Darkplaces compiling(MinGW)
Posted: Thu Apr 10, 2014 4:51 pm
by Spike
try CFLAGS_RELEASE='-DNO_SSE -DSUPPORTDIRECTX'
Re: Problems with Darkplaces compiling(MinGW)
Posted: Thu Apr 10, 2014 5:49 pm
by Max_Salivan
now its wants libjpeg.h
i found it,but needs something else
Re: Problems with Darkplaces compiling(MinGW)
Posted: Thu Apr 10, 2014 7:08 pm
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.
Re: Problems with Darkplaces compiling(MinGW)
Posted: Fri Apr 11, 2014 5:09 pm
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
Re: Problems with Darkplaces compiling(MinGW)
Posted: Fri Apr 11, 2014 7:13 pm
by Max_Salivan
i'll try this
http://forums.inside3d.com/viewtopic.php?t=1221 on hackintosh
because i cant compile DP with MinGW-_-