We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Hi, i have problem find library "-lLua51" . Maybe only add path -DCMAKE_LUA_LIBRARIES ?
To Reproduce Steps to reproduce the behavior:
Screenshots, videos FAILED: /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrScriptEngine.so : && /usr/local/bin/clang++18 -fPIC -pipe -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fdelayed-template-parsing -Wno-unused-command-line-argument -Wno-inconsistent-missing-override -stdlib=libc++ -Wno-attributes -Wl,--no-undefined -mfpmath=sse -msse3 -Og -Wall -Wextra -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-parentheses -Wno-unused-label -Wno-unused-parameter -Wno-switch -pipe -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong -fuse-ld=lld -shared -Wl,-soname,xrScriptEngine.so -o /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrScriptEngine.so src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_callStack.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_debugger.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_debugger_threads.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_lua_helper.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/BindingsDumper.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_engine.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/ScriptEngineScript.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/ScriptExporter.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/pch.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/xrScriptEngine.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/LuaStudio/LuaStudio.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_process.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_thread.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_stack_tracker.cpp.o -L/usr/local/lib -Wl,-rpath,"\$ORIGIN:/usr/local/lib:/usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug:" /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrAPI.so /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuaFix.a /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuabind.a /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuajit-debug.so /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrCore.so -lpthread -lexecinfo /usr/local/lib/libSDL2.so -lLua51 -Wl,-rpath-link,/usr/local/lib && : ld.lld: error: unable to find library -lLua51 clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1 Desktop (please complete the following information):
FAILED: /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrScriptEngine.so : && /usr/local/bin/clang++18 -fPIC -pipe -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fdelayed-template-parsing -Wno-unused-command-line-argument -Wno-inconsistent-missing-override -stdlib=libc++ -Wno-attributes -Wl,--no-undefined -mfpmath=sse -msse3 -Og -Wall -Wextra -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-parentheses -Wno-unused-label -Wno-unused-parameter -Wno-switch -pipe -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong -fuse-ld=lld -shared -Wl,-soname,xrScriptEngine.so -o /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrScriptEngine.so src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_callStack.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_debugger.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_debugger_threads.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_lua_helper.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/BindingsDumper.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_engine.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/ScriptEngineScript.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/ScriptExporter.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/pch.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/xrScriptEngine.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/LuaStudio/LuaStudio.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_process.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_thread.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_stack_tracker.cpp.o -L/usr/local/lib -Wl,-rpath,"\$ORIGIN:/usr/local/lib:/usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug:" /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrAPI.so /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuaFix.a /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuabind.a /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuajit-debug.so /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrCore.so -lpthread -lexecinfo /usr/local/lib/libSDL2.so -lLua51 -Wl,-rpath-link,/usr/local/lib && : ld.lld: error: unable to find library -lLua51 clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Hi, i have problem find library "-lLua51" .
Maybe only add path -DCMAKE_LUA_LIBRARIES ?
To Reproduce
Steps to reproduce the behavior:
Screenshots, videos
FAILED: /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrScriptEngine.so : && /usr/local/bin/clang++18 -fPIC -pipe -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fdelayed-template-parsing -Wno-unused-command-line-argument -Wno-inconsistent-missing-override -stdlib=libc++ -Wno-attributes -Wl,--no-undefined -mfpmath=sse -msse3 -Og -Wall -Wextra -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-parentheses -Wno-unused-label -Wno-unused-parameter -Wno-switch -pipe -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong -fuse-ld=lld -shared -Wl,-soname,xrScriptEngine.so -o /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrScriptEngine.so src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_callStack.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_debugger.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_debugger_threads.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_lua_helper.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/BindingsDumper.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_engine.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/ScriptEngineScript.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/ScriptExporter.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/pch.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/xrScriptEngine.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/LuaStudio/LuaStudio.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_process.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_thread.cpp.o src/xrScriptEngine/CMakeFiles/xrScriptEngine.dir/script_stack_tracker.cpp.o -L/usr/local/lib -Wl,-rpath,"\$ORIGIN:/usr/local/lib:/usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug:" /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrAPI.so /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuaFix.a /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuabind.a /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrLuajit-debug.so /usr/home/maxfx/Documents/FreeBSD-Ports/xray-16/work/xray-16-2188-november-2023-rc1/bin/x64/Debug/xrCore.so -lpthread -lexecinfo /usr/local/lib/libSDL2.so -lLua51 -Wl,-rpath-link,/usr/local/lib && : ld.lld: error: unable to find library -lLua51 clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. *** Error code 1
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: