sol2/3.2.0+2

[full]

`sol2` is a C++ library binding to Lua.

sol3 (sol2 v3.0.3)

Join the chat in Discord: https://discord.gg/buxkYNT

Linux & Max OSX Build Status Windows Build status Documentation Status

Support via Github Sponsors Support via PayPal Support via Ko-fi Support via Patreon Support via Liberapay

sol is a C++ library binding to Lua. It currently supports all Lua versions 5.1+ (LuaJIT 2.x included). sol aims to be easy to use and easy to add to a project. The library is header-only for easy integration with projects.

Documentation

Find it here. A run-through kind of tutorial is here! The API documentation goes over most cases (particularly, the "api/usertype" and "api/table_proxy" and "api/function" sections) that should still get you off your feet and going, and there's an examples directory here as well.

... More
version 3.2.0+2
license MIT
repository https://pkg.cppget.org/1/stable
download sol2-3.2.0+2.tar.gz
sha256 0f550155b815f86aea66a92eb1a5e0768cfa2235d3bbb0b2d22ac273e9374ff9
project sol2
url github.com/ThePhD/sol2
package-email mjklaim@gmail.com

Depends (1)

lua ^5.0.0

Reviews

fail 0
pass 1

Builds

toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-static_O3
timestamp 2026-04-19 04:32:57 UTC (01:39:40 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-O3
timestamp 2026-04-19 04:31:56 UTC (01:40:42 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew
timestamp 2026-04-19 04:30:50 UTC (01:41:48 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_14.2_mingw_w64-static_O2
timestamp 2026-04-19 02:52:32 UTC (03:20:06 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18.3-static_O2
timestamp 2026-04-19 02:52:21 UTC (03:20:17 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_14.2_mingw_w64-O2
timestamp 2026-04-19 02:52:13 UTC (03:20:24 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18.3-O2
timestamp 2026-04-19 02:52:06 UTC (03:20:32 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_14.2_mingw_w64
timestamp 2026-04-19 02:52:03 UTC (03:20:34 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18.3
timestamp 2026-04-19 02:51:51 UTC (03:20:47 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18.3-static_O2
timestamp 2026-04-19 02:51:45 UTC (03:20:52 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18.3-O2
timestamp 2026-04-19 02:51:45 UTC (03:20:53 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18.3
timestamp 2026-04-19 02:51:36 UTC (03:21:02 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0
timestamp 2026-04-19 02:51:13 UTC (03:21:24 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_42-gcc_15-bindist
timestamp 2026-04-19 02:51:10 UTC (03:21:28 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_24.04-gcc_13-bindist
timestamp 2026-04-19 02:51:09 UTC (03:21:29 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-static_O3
timestamp 2026-04-19 02:51:09 UTC (03:21:29 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-ndebug_O3
timestamp 2026-04-19 02:51:08 UTC (03:21:30 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15-ndebug_O3
timestamp 2026-04-19 02:51:02 UTC (03:21:36 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15-static_O3
timestamp 2026-04-19 02:51:01 UTC (03:21:37 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++-static_O3
timestamp 2026-04-19 02:50:55 UTC (03:21:43 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++-O3
timestamp 2026-04-19 02:50:52 UTC (03:21:46 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++
timestamp 2026-04-19 02:50:50 UTC (03:21:48 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21_libc++-static_O3
timestamp 2026-04-19 02:50:48 UTC (03:21:50 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21_libc++-O3
timestamp 2026-04-19 02:50:43 UTC (03:21:55 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21_libc++
timestamp 2026-04-19 02:50:38 UTC (03:22:00 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_14-bindist
timestamp 2026-04-19 02:50:37 UTC (03:22:01 hours ago)
result warning (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_43-gcc_15-bindist
timestamp 2026-04-19 02:50:29 UTC (03:22:09 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-O3
timestamp 2026-04-19 02:50:24 UTC (03:22:14 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16
timestamp 2026-04-19 02:50:17 UTC (03:22:21 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22-static_O3
timestamp 2026-04-19 02:50:14 UTC (03:22:24 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15-O3
timestamp 2026-04-19 02:50:10 UTC (03:22:27 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15
timestamp 2026-04-19 02:50:05 UTC (03:22:32 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22-O3
timestamp 2026-04-19 02:50:04 UTC (03:22:34 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22
timestamp 2026-04-19 02:49:58 UTC (03:22:40 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21-static_O3
timestamp 2026-04-19 02:49:54 UTC (03:22:44 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21-O3
timestamp 2026-04-19 02:49:53 UTC (03:22:45 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21
timestamp 2026-04-19 02:49:49 UTC (03:22:49 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
timestamp 2026-04-19 02:49:48 UTC (03:22:50 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_20
timestamp 2026-04-19 02:49:43 UTC (03:22:55 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2026-04-19 02:49:32 UTC (03:23:05 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-static_O3
timestamp 2026-04-19 02:49:14 UTC (03:23:24 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-O3
timestamp 2026-04-19 02:49:11 UTC (03:23:27 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19
timestamp 2026-04-19 02:49:09 UTC (03:23:29 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18
timestamp 2026-04-19 02:49:01 UTC (03:23:37 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
timestamp 2026-04-18 18:11:13 UTC (12:01:25 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
timestamp 2026-04-18 18:10:42 UTC (12:01:56 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
timestamp 2026-04-18 18:10:35 UTC (12:02:03 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
timestamp 2026-04-18 18:10:04 UTC (12:02:34 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-O3
timestamp 2026-04-18 18:09:57 UTC (12:02:40 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18
timestamp 2026-04-18 18:09:26 UTC (12:03:12 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
timestamp 2026-04-18 07:37:16 UTC (22:35:22 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
timestamp 2026-04-18 07:36:35 UTC (22:36:03 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
timestamp 2026-04-18 07:36:30 UTC (22:36:08 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2026-04-18 07:35:44 UTC (22:36:54 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13
timestamp 2026-04-16 04:46:49 UTC (03 01:25:49 days ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0
result unbuilt
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-O3
result unbuilt
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-static_O3
result unbuilt
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.14
result unbuilt