Page 1 of 1

compiling love .7 on windows

Posted: Mon Dec 06, 2010 1:14 pm
by tharkas
Has anyone managed to compile 0.7 release with VC 2008? I'm getting lots of errors.

Re: compiling love .7 on windows

Posted: Mon Dec 06, 2010 1:27 pm
by zac352
Are you missing libraries?
I guess you can't run ./configure... :o:

Re: compiling love .7 on windows

Posted: Mon Dec 06, 2010 2:16 pm
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:

Re: compiling love .7 on windows

Posted: Wed Dec 08, 2010 8:24 am
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.

Re: compiling love .7 on windows

Posted: Wed Dec 08, 2010 8:48 am
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?

Re: compiling love .7 on windows

Posted: Wed Dec 08, 2010 12:33 pm
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...

Re: compiling love .7 on windows

Posted: Wed Dec 08, 2010 2:17 pm
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:

Re: compiling love .7 on windows

Posted: Wed Dec 08, 2010 3:33 pm
by bartbes
Yeah, you probably need to set the include folders for every single module if you want to built them separately.

Re: compiling love .7 on windows

Posted: Wed Dec 08, 2010 8:51 pm
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.