You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building luvi 2.7.0 with WithSharedLibluv=ON fails:
(mkdir -p /home/joerg/Development/git/buildroot/output/build/luvi-v2.7.0/ && cd /home/joerg/Development/git/buildroot/output/build/luvi-v2.7.0/ && rm -f CMakeCache.txt && PATH="/home/joerg/Development/git/buildroot/output/host/bin:/home/joerg/Development/git/buildroot/output/host/sbin:/home/joerg/Development/git/buildroot/output/host/usr/bin:/home/joerg/Development/git/buildroot/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /home/joerg/Development/git/buildroot/output/host/usr/bin/cmake /home/joerg/Development/git/buildroot/output/build/luvi-v2.7.0/ -DCMAKE_TOOLCHAIN_FILE="/home/joerg/Development/git/buildroot/output/host/usr/share/buildroot/toolchainfile.cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DWithSharedLibluv=ON -DTARGET_ARCH=arm -DLUA_PATH=/home/joerg/Development/git/buildroot/output/host/usr/share/luajit-2.0.4/?.lua -DWithPCRE=OFF -DWithSharedPCRE=OFF -DWithOpenSSL=OFF -DWithOpenSSLASM=OFF -DWithSharedOpenSSL=OFF -DWithZLIB=OFF -DWithSharedZLIB=OFF )
-- The C compiler identification is GNU 5.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/joerg/Development/git/buildroot/output/host/usr/bin/arm-linux-musleabi-gcc
-- Check for working C compiler: /home/joerg/Development/git/buildroot/output/host/usr/bin/arm-linux-musleabi-gcc
-- Check for working C compiler: /home/joerg/Development/git/buildroot/output/host/usr/bin/arm-linux-musleabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found luvi version: v2.7.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found LIBLUV: /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-musleabi/sysroot/usr/lib/libluv.so
-- Found LUAJIT: /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-musleabi/sysroot/usr/lib/libluajit-5.1.so
-- Found LIBUV: /home/joerg/Development/git/buildroot/output/host/usr/arm-buildroot-linux-musleabi/sysroot/usr/lib/libuv.so
CMake Error at CMakeLists.txt:140 (lua_add_executable):
Unknown CMake command "lua_add_executable".
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered:
Commit 9947423 replaced the command
unconditionally luajit_add_executable by lua_add_executable which
breaks building luvi with shared libs.
Closes: luvit#147
Commit 9947423 replaced the command
unconditionally luajit_add_executable by lua_add_executable which
breaks building luvi with shared libs.
Closes: luvit#147
Commit 9947423 replaced the macro
`luajit_add_executable` by `lua_add_executable` which breaks building
luvi with shared libs.
Replace the macro name in LuaJITAddExecutable.cmake too.
Closes: luvit#147
Building luvi 2.7.0 with
WithSharedLibluv=ON
fails:The text was updated successfully, but these errors were encountered: