Compiling LÖVE under windows
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Compiling LÖVE under windows
Is there any way to compile LÖVE sources under windows? If no then how to compile it on linux for use on windows?
Re: Compiling LÖVE under windows
just for the record ive never compiled love my self so i could (and probably am) be completely off target
http://www.mingw.org/
http://www.mingw.org/
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Compiling LÖVE under windows
I know there's a Visual Studio project file, so I guess you need to find Visual Studio 2005 Express (the free one), 2008 might do too.
Note that probably everything is done with VC++, and you probably need all the libs LÖVE uses as well.
Note that probably everything is done with VC++, and you probably need all the libs LÖVE uses as well.
Re: Compiling LÖVE under windows
Thanks for info.osgeld wrote:just for the record ive never compiled love my self so i could (and probably am) be completely off target
http://www.mingw.org/
Hm, i can't find it. Neither in sources nor in forumbartbes wrote:I know there's a Visual Studio project file, so I guess you need to find Visual Studio 2005 Express (the free one), 2008 might do too.
Note that probably everything is done with VC++, and you probably need all the libs LÖVE uses as well.
Nevermind, i've found vc2008 project in svn. But which versions of libs do i need? because this happening:
Code: Select all
1>------ Build started: Project: love, Configuration: Release Win32 ------
1>Linking...
1>msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
1>msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _isspace already defined in LIBCMT.lib(_ctype.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: ___iob_func already defined in LIBCMT.lib(_file.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _fclose already defined in LIBCMT.lib(fclose.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _exit already defined in LIBCMT.lib(crt0dat.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _strrchr already defined in LIBCMT.lib(strrchr.obj)
1>LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>Filesystem.obj : error LNK2001: unresolved external symbol "public: __thiscall love::filesystem::physfs::File::File(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (??0File@physfs@filesystem@love@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
1>Sound.obj : error LNK2001: unresolved external symbol "public: __thiscall love::sound::sdlsound::SoundData::SoundData(class love::filesystem::File *)" (??0SoundData@sdlsound@sound@love@@QAE@PAVFile@filesystem@3@@Z)
1>Audio.obj : error LNK2001: unresolved external symbol "public: __thiscall love::audio::openal::Sound::Sound(class love::sound::SoundData *)" (??0Sound@openal@audio@love@@QAE@PAVSoundData@sound@3@@Z)
1>wrap_Audio.obj : error LNK2001: unresolved external symbol "int __cdecl love::audio::openal::wrap_Sound_open(struct lua_State *)" (?wrap_Sound_open@openal@audio@love@@YAHPAUlua_State@@@Z)
1>luasocket.obj : error LNK2001: unresolved external symbol _luaopen_socket_core
1>love.obj : error LNK2001: unresolved external symbol "public: static int __cdecl love::image::devil::Image::__advertise(struct lua_State *)" (?__advertise@Image@devil@image@love@@SAHPAUlua_State@@@Z)
1>C:\Users\Alexsey\Desktop\love-0.5-0\src\platform\msvc2008\Release\love.exe : fatal error LNK1120: 6 unresolved externals
1>Build log was saved at "file://c:\Users\Alexsey\Desktop\love-0.5-0\src\platform\msvc2008\Release\BuildLog.htm"
1>love - 14 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Re: Compiling LÖVE under windows
Megalan:
I haven't really fixed the Release configuration. I would also stay away from the trunk of SVN if I were you. I change it all the time. Yeah, bad practice. I know.
There seems to be a certain interest for compiling LÖVE on Windows. I should probably add a Windows source with all dependencies next release.
I haven't really fixed the Release configuration. I would also stay away from the trunk of SVN if I were you. I change it all the time. Yeah, bad practice. I know.
There seems to be a certain interest for compiling LÖVE on Windows. I should probably add a Windows source with all dependencies next release.
Re: Compiling LÖVE under windows
Whenever that is.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Semrush [Bot] and 6 guests