Open Antokolos opened 1 year ago
P.S.: buildvm.exe also goes to Debug folder, so the following correction is necessary too: set(BUILDVM_PATH ${CMAKE_CURRENT_BINARY_DIR}/buildvm/Debug/${BUILDVM_EXE})
You will need to install MinGW-w64 separately and ensure it will be in the PATH environment. LuaJIT requires the host compiler to run certain utilities on the host to generate the data to embed into the final library build.
P.S. Speaking about MSVC's paths, there is a small tweak needed to avoid MSVC to put libraries into these directories at all. I'll try to apply some.
@Wohlstand Ok,we hope,what you will adapt luajit for msvc. Also why we can't add luajit as subdirectory,because usual lua we can add in android as subdirectory to android project.
I'll try to debug it once I will boot my second Windows machine.
@Wohlstand Whether you commit a new version of luajit,which will do compiling of luajit mor easier?
Hello! Couple days ago I installed Android SDK command line tools from here: https://developer.android.com/studio#command-tools Then I cloned the repository and launched the build via
gradlew build
command Build failed with the following errorthe reason of the error is the following: minilua.exe is located in folder C:\work\Android\LuaJIT-Example-Android\app.cxx\cmake\debug\armeabi-v7a\external\luajit\src\LuaJIT_local-build\src\minilua\ Debug \minilua.exe If the following patch will be applied:
Then the build will fail with the following error: