Closed EarthenSky closed 3 years ago
Do you make
the megasource? You need to first compile the megasource and then love.js?
https://github.com/Davidobot/love.js/blob/master/build_lovejs.bat#L11 should actually do that. Does that command get run correctly?
emsdk path to ..\emsdk\emsdk_env C:\Users\Grigor\git\megasource to ......\megasource twice
Try making them absolute paths?
https://github.com/Davidobot/love.js/blob/master/build_lovejs.bat#L6 this line is quite important for activating emsdk within the bat file.
I changed the paths to be absolute, but the megasource still fails to be make'd. It does however seem to activate emsdk within the shell since it adds a bunch of directories to the path, then finds the emcmake
command to call.
I am building once more now with cloning love & megasource & clearing cmake cache, just in case -- here is the result of running the new build_lovejs.bat
command-output-2.txt
Sorry, no clue. I don't have access to a PC rn or time to work on this project specifically. The prebuilt binaries should work just fine.
darn, well thanks for your help anyways!
I've been trying to build the love.js source on windows 10 but
build_lovejs.bat
fails to compile the megasource.My current error is that
make
will complain that it cannot find certain files that are included in the megasource as*.h.in
but never get converted to*.in
. It looks like I either don't have some necessary dependency or cmake is failing somehow.The following is the results of running the build command: command-out.txt
Thanks in advance for any help you can provide.
note: the following is the commands I ran to get to this point (perhaps I am doing something blatantly wrong?)
git clone https://github.com/Davidobot/love.js.git
git clone https://github.com/Davidobot/megasource.git
cd megasource/libs/
git clone https://github.com/Davidobot/love.git
cd ..
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
emsdk.bat install latest
emsdk.bat activate latest
cd ..
..\emsdk\emsdk_env
C:\Users\Grigor\git\megasource
to..\..\..\megasource
twicechoco install cmake
(using this cmake instead incurs similar output) /choco install make
choco install pkgconfiglite