Building LOVE 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
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Building LOVE on Windows

Post by schme16 »

Hi all, I'd love to start building love on my Windows PC, I'm pretty new to software compilation though. I've managed to get the source for 0.5.0 (the current svn is apparently a minefield of bugs, so I hear). What I'm looking for is a quick run through of how to get it compiled under Microsoft Visual Studio 8; Every tine I attempt to compile I get a multitude of errors about missing files... :cry:
My Development Diary - http://shanegadsby.info
User avatar
Almost
Prole
Posts: 42
Joined: Fri Aug 21, 2009 8:04 pm
Location: Canada
Contact:

Re: Building LOVE on Windows

Post by Almost »

Do you have SDL?
User avatar
partymetroid
Citizen
Posts: 80
Joined: Thu Feb 18, 2010 6:06 am
Location: Branson, State of Misery
Contact:

Re: Building LOVE on Windows

Post by partymetroid »

Which files are missing? Post the output or just the library names, and we'll help you find them. :)
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: Building LOVE on Windows

Post by schme16 »

I've managed to get the project to find all the sdl files, as well as some lua one it was whining about, but now it does this:

Code: Select all

1>------ Build started: Project: love, Configuration: Debug Win32 ------
1>Compiling...
1>love.cpp
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(741) : error C2065: 'SIGALRM' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(742) : error C2065: 'SIGBUS' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(743) : error C2065: 'SIGCHLD' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(744) : error C2065: 'SIGCONT' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(746) : error C2065: 'SIGHUP' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(749) : error C2065: 'SIGKILL' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(750) : error C2065: 'SIGPIPE' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(751) : error C2065: 'SIGQUIT' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(753) : error C2065: 'SIGSTOP' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(755) : error C2065: 'SIGTSTP' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(756) : error C2065: 'SIGTTIN' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(757) : error C2065: 'SIGTTOU' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(758) : error C2065: 'SIGUSR1' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(759) : error C2065: 'SIGUSR2' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(760) : error C2065: 'SIGPOLL' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(761) : error C2065: 'SIGPROF' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(762) : error C2065: 'SIGSYS' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(763) : error C2065: 'SIGTRAP' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(764) : error C2065: 'SIGURG' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(765) : error C2065: 'SIGVTALRM' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(766) : error C2065: 'SIGXCPU' : undeclared identifier
1>c:\users\shane gadsby\desktop\love\trunk\src\common\constants.h(767) : error C2065: 'SIGXFSZ' : undeclared identifier
My Development Diary - http://shanegadsby.info
User avatar
partymetroid
Citizen
Posts: 80
Joined: Thu Feb 18, 2010 6:06 am
Location: Branson, State of Misery
Contact:

Re: Building LOVE on Windows

Post by partymetroid »

Apparently LOVE has a download for the dependencies in their download section. :?
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: Building LOVE on Windows

Post by schme16 »

OK, I started from scratch, using just the trunk (possibly the problem, I guess) and the precompiled libraries for win32; now I get this:

Code: Select all

1>Linking...
1>fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207'
1>LINK : fatal error LNK1257: code generation failed
any ideas?
My Development Diary - http://shanegadsby.info
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 18 guests