I think I've followed the instructions on https://bitbucket.org/rude/megasource very accurately, I have the following setup:
* Windows 8.1 64-bit
* Visual Studio 2013
* DirectX SDK
* CMake 2.8.11
* The megasource source code in a folder, with löve's source code in libs/love
Running the command "cmake -G "Visual Studio 11" -H. -Bbuild" give the following output (see attachment)
I have literally no experience of CMake, so any help from someone who does would be very nice
Also, if somebody have an already build Visual Studio project of Löve (doesn't have to be the latest version), that would help just as much.
If there's any information about my setup I didn't include that might be relevant, just ask.
Fail to build VS project with CMake
Fail to build VS project with CMake
- Attachments
-
- output.txt
- Output of CMake
- (9.41 KiB) Downloaded 76 times
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
- slime
- Solid Snayke
- Posts: 3172
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Fail to build VS project with CMake
The megasource readme hasn't been updated yet, but in the cmake -G line you should use "Visual Studio 12" instead of "Visual Studio 11" (since love on windows requires Visual Studio 2013, a.k.a. Visual Studio 12.)
Re: Fail to build VS project with CMake
Yes, that's it! Thanks a lot!
Also, in case somebody wants to update the instructions, that somebody should also add that you need a more modern version of CMake which has support for Visual Studio 12. I tried the latest CMakeMS version, and it worked just fine.
Also, I want to mention that while CMake does manage to build a Visual Studio solution, the solution doesn't actually build Löve; it gets three linker errors. I'll put up an issue when I have time.
Also, in case somebody wants to update the instructions, that somebody should also add that you need a more modern version of CMake which has support for Visual Studio 12. I tried the latest CMakeMS version, and it worked just fine.
Also, I want to mention that while CMake does manage to build a Visual Studio solution, the solution doesn't actually build Löve; it gets three linker errors. I'll put up an issue when I have time.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: No registered users and 4 guests