cmake errors

Release and discuss things you've made, including mods.
User avatar
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: cmake errors

Postby danmal » Sat Dec 22, 2012 5:15 am UTC

You need to download and install the directx SDK.
Posts: 14
Joined: Mon Jan 28, 2013 10:24 pm UTC

Re: cmake errors

Postby Ivancool » Sat Feb 02, 2013 12:08 am UTC

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.
(68.8 KiB) Downloaded 174 times
User avatar
Project Head
Posts: 1138
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: cmake errors

Postby Ishq » Sat Feb 02, 2013 12:48 am UTC

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.
User avatar
Posts: 318
Joined: Thu Mar 08, 2012 6:24 pm UTC

Re: cmake errors

Postby velociostrich » Sat Feb 02, 2013 1:50 am UTC

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.

Return to “Community Development”

Who is online

Users browsing this forum: No registered users and 4 guests