Comments (4)
Does this #1586 fix it for you?
from sol2.
#1586 Fixes the initial cmake problem for for me.
When I enable all SOL2_EXAMPLES, SOL2_INTEROP_EXAMPLES, SOL2_DYNAMIC_LOADING_EXAMPLES I get the following error during building:
[279/325 84% :: 19.263] Performing update step for 'LUABRIDGE_BUILD_SOURCE'
[279/325 85% :: 19.525] Building CXX object examples/customization/CMakeFiles/customization_to_table.dir/source/lua_zm_interop.cpp.o
[279/325 85% :: 19.602] Building CXX object examples/customization/CMakeFiles/customization_to_table.dir/source/lua_interop.cpp.o
[279/325 85% :: 23.373] Performing download step (git clone) for 'LUWRA_BUILD_SOURCE'
Cloning into 'luwra_0.5.0'...
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'deps/catch' (https://github.com/philsquared/Catch.git) registered for path 'deps/catch'
Cloning into '/Users/mtillmanns/projects/qt/sol2/build/Clean/Debug/vendor/luwra_0.5.0/deps/catch'...
Submodule path 'deps/catch': checked out 'd758428fe297655e558a86cc6a013fcb1bcc8c7d'
ninja: build stopped: subcommand failed.
build finished with error(s).
from sol2.
Not working,
[cmake] -- Found LuaBuild: Lua::Lua (found version "5.4.4")
[cmake] -- Configuring done (6.8s)
[cmake] CMake Error at cmake/Packages/FindLuaBuild/LuaVanilla.cmake:254 (add_dependencies):
[cmake] The dependency target "LUA_VANILLA" of target "liblua-5.4.4" does not
[cmake] exist.
[cmake] Call Stack (most recent call first):
[cmake] cmake/Packages/FindLuaBuild.cmake:86 (include)
[cmake] cmake/Packages/FindLuaBuild.cmake:112 (find_lua_build)
[cmake] CMakeLists.txt:229 (find_package)
[cmake]
[cmake]
[cmake] -- Generating done (0.0s)
[cmake] CMake Generate step failed. Build files cannot be regenerated correctly.
[cmake]
[cmake] The command "/home/sanju/Qt/Tools/CMake/bin/cmake -S /home/sanju/PROJECTS/sol2 -B /home/sanju/PROJECTS/sol2/build/DEKSTOP_CLANG_17_QT_6_5_3-Debug -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/sanju/PROJECTS/sol2/build/DEKSTOP_CLANG_17_QT_6_5_3-Debug/.qtc/package-manager/auto-setup.cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/sanju/Qt/6.5.3/gcc_64/bin/qmake -DCMAKE_PREFIX_PATH:PATH=/home/sanju/Qt/6.5.3/gcc_64 -DCMAKE_C_COMPILER:FILEPATH=/bin/clang-17 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-17 -DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG" terminated with exit code 1.
[cmake]
[cmake] Elapsed time: 00:07.
from sol2.
I had the same issue and #1586 fully fixed the issue for me, on Windows 10, CMake 3.29.5, MSVC 14.40 (Visual Studio 2022, 17.10)
from sol2.
Related Issues (20)
- Crash during destruction when using meta_function::new_index and coroutines
- Accessing table field with the wrong user type causes a segmentation fault
- Cannot directly bind b2Vec2 to a table entry HOT 1
- SOL_BASE_CLASSES / SOL_DERIVED_CLASSES should be mentioned in the documentation
- Generating definition files
- Why sol3 is slower than Luabridge3 when both using LuaJIT, HOT 1
- add_package_loader without lua_CFunction
- Handling opaque C pointers
- confusing behaviour of environments for lua > 5.2 HOT 1
- Error in emplace method
- const correctness of C++ object passed to sol::protected_function
- Using libraries which add searchers/loaders from C++ HOT 1
- Preserving ordering in sol2 tables and converting to ordered JSON HOT 2
- Getting compilation error when registering type HOT 3
- compilation issue: no member named 'construct' HOT 4
- Add mirrors for downloading lua
- SOL_SAFE_FUNCTION_CALLS does not recognize derived classes HOT 5
- Clang 18 support HOT 1
- How to secure such a pointer?
- Impossible to create an inner usertype/enum in a usertype
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sol2.