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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
yang
Prole
Posts: 3
Joined: Wed Mar 29, 2017 11:10 pm

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

Post 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.
Last edited by yang on Thu Mar 30, 2017 1:38 am, edited 2 times in total.
User avatar
yang
Prole
Posts: 3
Joined: Wed Mar 29, 2017 11:10 pm

Re: Building 64-bit LÖVE on windows

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 218 guests