Compiling LÖVE under windows
Posted: Wed Mar 25, 2009 10:18 pm
Is there any way to compile LÖVE sources under windows? If no then how to compile it on linux for use on 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.
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 ==========