[Solved] Help Building Love2D from Source
Posted: Fri Jul 27, 2018 2:48 am
I am trying to build Love2D from the source as is, then I'm going to try building it with some power patches, but I'm running into some problems so hopefully someone here has done it and can help.
I'm following the steps on https://love2d.org/wiki/Building_L%C3%96VE and then on https://bitbucket.org/rude/megasource. I'm on Windows, I have downloaded Visual Studio 2017, mercurial, and cmake.
I'm running the following commands from within the "Select Developer Command Prompt for VS 2017"
After running the first cmake there are multiple tests that fail and files that are not found. Here are some examples.
After running the second cmake it ends with this many errors. Heres an example of one of the errors.
The contents of build/love/Release are the following.
Final note, I plan on using power patches from http://lua-users.org/wiki/LuaPowerPatches.
I'm following the steps on https://love2d.org/wiki/Building_L%C3%96VE and then on https://bitbucket.org/rude/megasource. I'm on Windows, I have downloaded Visual Studio 2017, mercurial, and cmake.
I'm running the following commands from within the "Select Developer Command Prompt for VS 2017"
Code: Select all
hg clone https://bitbucket.org/rude/megasource megasource
cd megasource
hg clone https://bitbucket.org/rude/love libs/love
cmake -G "Visual Studio 15" -H. -Bbuild
cmake --build build --target love/love --config Release
Code: Select all
-- Performing Test HAVE_BITSCANFORWARD64_INTRINSIC
-- Performing Test HAVE_BITSCANFORWARD64_INTRINSIC - Failed
-- Performing Test HAVE_BITSCANFORWARD_INTRINSIC
-- Performing Test HAVE_BITSCANFORWARD_INTRINSIC - Success
-- Looking for sysconf
-- Looking for sysconf - not found
-- Looking for aligned_alloc
-- Looking for aligned_alloc - not found
Code: Select all
92 Warning(s)
121 Error(s)
Code: Select all
c:\users\xxx\documents\megasource\libs\love\src\common\stringmap.h(33): error
C3190: 'void std::vector<std::string,std::allocator<_Ty>>::emplace_back(const char
*const &)' with the provided template arguments is not the explicit instantiation
of any member function of 'std::vector<std::string,std::allocator<_Ty>>' [C:\User
s\xxx\Documents\megasource\build\love\liblove.vcxproj]
Code: Select all
love_3p_box2d.lib love_3p_lodepng.lib love_3p_physfs.lib
love_3p_ddsparse.lib love_3p_lua53.lib love_3p_wuff.lib
love_3p_enet.lib love_3p_luasocket.lib love_3p_xxhash.lib
love_3p_glad.lib love_3p_lz4.lib
love_3p_glslang.lib love_3p_noise1234.lib