Page 1 of 1

[SOLVED] Building 64-bit LÖVE on windows

Posted: Wed Mar 29, 2017 11:39 pm
by yang
Hi everyone.

I tried to build 64-bit LÖVE executable by following the instructions on the megasource readme.md

Despite being on 64-bit windows, the CMake script decided to create build files for 32-bit platform. I couldn't find anywhere how to specify architecture for building LÖVE. I tried messing about with the CMake config but I'm a total newbie when it comes to build tools especially CMake and couldn't make it work.

Anyone here know how to specify target platform? I'm running 64-bit Windows 10, using CMake 3.7.2.

Re: Building 64-bit LÖVE on windows

Posted: Thu Mar 30, 2017 1:21 am
by yang
NEVERMIND! Figured it out.

Basically instead of:

Code: Select all

cmake -G "Visual Studio 12" -H. -Bbuild
You gotta do:

Code: Select all

cmake -G "Visual Studio 12 Win64" -H. -Bbuild
Derp.