compiling love .7 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
tharkas
Prole
Posts: 4
Joined: Mon Dec 06, 2010 1:11 pm

compiling love .7 on windows

Post by tharkas »

Has anyone managed to compile 0.7 release with VC 2008? I'm getting lots of errors.
User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

Re: compiling love .7 on windows

Post by zac352 »

Are you missing libraries?
I guess you can't run ./configure... :o:
Hello, I am not dead.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: compiling love .7 on windows

Post by TechnoCat »

Yeah, I got it to compile with a bit of help.
After you get the dependencies you are pretty much done though.
And what do you know, here are the dependencies:
Attachments
love-win-sdk.zip
Windows LOVE dependencies
(4.71 MiB) Downloaded 312 times
tharkas
Prole
Posts: 4
Joined: Mon Dec 06, 2010 1:11 pm

Re: compiling love .7 on windows

Post by tharkas »

TechnoCat wrote:Yeah, I got it to compile with a bit of help.
After you get the dependencies you are pretty much done though.
And what do you know, here are the dependencies:
Thank you very much. I'll try to compile it again with these.
tharkas
Prole
Posts: 4
Joined: Mon Dec 06, 2010 1:11 pm

Re: compiling love .7 on windows

Post by tharkas »

I'm getting various errors when I try to compile. I decided I want to try to compile "common" first

here's the error I'm getting

Code: Select all

1>c:\documents and settings\administrator\desktop\love-35c1ee3a978f\love\src\common\runtime.cpp(33) : fatal error C1083: Cannot open include file: 'SDL_mutex.h': No such file or directory
there *is* a 'SDL_mutex.h' file included in the "include" directory under SDL folder. Any tips?
User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

Re: compiling love .7 on windows

Post by zac352 »

tharkas wrote:I'm getting various errors when I try to compile. I decided I want to try to compile "common" first

here's the error I'm getting

Code: Select all

1>c:\documents and settings\administrator\desktop\love-35c1ee3a978f\love\src\common\runtime.cpp(33) : fatal error C1083: Cannot open include file: 'SDL_mutex.h': No such file or directory
there *is* a 'SDL_mutex.h' file included in the "include" directory under SDL folder. Any tips?
Don't use microsoft compilers?* :roll:
*Every product by microsoft I've ever used has exlpoded...
Hello, I am not dead.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: compiling love .7 on windows

Post by TechnoCat »

The way it was pointed out to me was: Just build "love".

As in, right click on the solution, go to configuration and tell everything to not build except the love project.

And in my case, love.exe was building even though those errors were spitting out because those errors were for the other projects (audio, sound, image, etc.). Check your Release folder, it might already be there. :crazy:
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: compiling love .7 on windows

Post by bartbes »

Yeah, you probably need to set the include folders for every single module if you want to built them separately.
tharkas
Prole
Posts: 4
Joined: Mon Dec 06, 2010 1:11 pm

Re: compiling love .7 on windows

Post by tharkas »

TechnoCat wrote:The way it was pointed out to me was: Just build "love".

As in, right click on the solution, go to configuration and tell everything to not build except the love project.

And in my case, love.exe was building even though those errors were spitting out because those errors were for the other projects (audio, sound, image, etc.). Check your Release folder, it might already be there. :crazy:
Thank you very much! That solved my problem. I was trying to build the whole solution. Just clicked on love and it build flawlessly. I updated to VC 2008 to SP1, maybe that helped too, couldn't be sure.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests