Coder Social home page Coder Social logo

Comments (4)

phwissmann avatar phwissmann commented on July 24, 2024

Does this #1586 fix it for you?

from sol2.

Maddimax avatar Maddimax commented on July 24, 2024

#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.

sanjuchopracool avatar sanjuchopracool commented on July 24, 2024

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.

estebanfer avatar estebanfer commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.