Page 2 of 2

Re: cmake errors

Posted: Sat Dec 22, 2012 5:15 am UTC
by danmal

You need to download and install the directx SDK.


Re: cmake errors

Posted: Sat Feb 02, 2013 12:08 am UTC
by Ivancool

You need to download and install the directx SDK.

In theory you don't, just extract the attached files in MINGW/mingw/include folder. Anyway i can't compile got some errors and if i fix them pointing to the right libraries i screw up other libraries like freetype. So before persisting i have a dumb question.
It is possible to compile unvanquished with MINGW in windows? If so Can you provide your cmakecache file and more information like MINGW version, additional compiler flags, etc?

Thank you.

PD:If is possible, i'm interested in MINGW crosscompile in linux.


Re: cmake errors

Posted: Sat Feb 02, 2013 12:48 am UTC
by Ishq

It's possible, but, it's a little painful if you aren't familiar with how CMake works. I worked on Unvanquished with MinGW32, and in fact one of our alpha releases was built with MinGW32. As for crosscompile, I'm sure that's also possible, but probably even more painful.


Re: cmake errors

Posted: Sat Feb 02, 2013 1:50 am UTC
by velociostrich

As for setting the paths, I've gone and detailed all of them for you on the wiki. Now, it's been a while since I actually had a working build on Windows with MinGW, but (iirc) it worked in QtCreator (which uses the Code::Blocks CMake generator)... but not Code::Blocks. I do recall having this same issue that DirectX somehow becomes a dependency, and I don't know how I worked around it, but I think you're right that, no, it shouldn't be required. Sometime next week I may attempt another Windows build.