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-linux-gnu
tgt config linux_debian_13-gcc_14-bindist
timestamp 2026-10-13 13:41:22 UTC (03:39:37 hours ago)
result warning (update) | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-static_O3
timestamp 2026-10-13 12:42:46 UTC (04:38:14 hours 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-O3
timestamp 2026-10-13 12:41:58 UTC (04:39:01 hours 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
timestamp 2026-10-13 12:41:11 UTC (04:39:49 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-10-13 12:16:11 UTC (05:04:48 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-10-13 12:15:59 UTC (05:05:00 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-10-13 12:15:43 UTC (05:05:16 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-10-13 12:15:19 UTC (05:05:40 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-10-13 12:15:09 UTC (05:05:50 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-10-13 12:14:54 UTC (05:06:05 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-10-13 11:28:17 UTC (05:52:42 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-10-13 11:27:19 UTC (05:53:40 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-10-13 11:26:49 UTC (05:54:10 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-10-13 11:26:33 UTC (05:54:26 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-10-13 11:26:05 UTC (05:54:54 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-10-13 11:25:53 UTC (05:55:07 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-10-13 11:25:23 UTC (05:55:36 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-10-13 11:15:52 UTC (06:05:07 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-10-13 11:15:04 UTC (06:05:55 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-10-13 11:13:25 UTC (06:07:34 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-10-13 11:11:51 UTC (06:09:08 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-10-13 11:06:06 UTC (06:14:54 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-static_O3
timestamp 2026-10-13 10:54:53 UTC (06:26:06 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-10-13 10:54:15 UTC (06:26:45 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-10-13 10:53:25 UTC (06:27:35 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-10-13 10:45:54 UTC (06:35:06 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-10-13 10:35:13 UTC (06:45:46 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-10-13 10:32:50 UTC (06:48:09 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-10-13 10:30:26 UTC (06:50:33 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-10-13 10:13:30 UTC (07:07:29 hours ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
timestamp 2026-10-12 21:16:47 UTC (20:04:12 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-static_O3
timestamp 2026-10-12 21:16:12 UTC (20:04:47 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-10-12 21:15:57 UTC (20:05:02 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-10-12 21:15:23 UTC (20:05:37 hours ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_43-gcc_15-bindist
timestamp 2026-10-11 10:43:27 UTC (02 06:37:33 days ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17
timestamp 2026-10-10 13:27:48 UTC (03 03:53:11 days 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-10-10 10:15:46 UTC (03 07:05:13 days ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18-static_O2
timestamp 2026-10-07 11:05:18 UTC (06 06:15:42 days 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
timestamp 2026-10-07 11:04:52 UTC (06 06:16:08 days 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-O2
timestamp 2026-10-07 11:04:37 UTC (06 06:16:22 days 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-O2
timestamp 2026-10-07 10:18:40 UTC (06 07:02:19 days 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-static_O2
timestamp 2026-10-07 10:17:59 UTC (06 07:03:00 days 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
timestamp 2026-10-07 10:17:49 UTC (06 07:03:10 days ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_26.04-gcc_15-bindist
timestamp 2026-10-06 11:44:16 UTC (07 05:36:43 days ago)
result error (update) | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64-static_O2
timestamp 2026-10-04 11:15:10 UTC (09 06:05:49 days ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64-O2
timestamp 2026-10-04 11:15:02 UTC (09 06:05:57 days ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64
timestamp 2026-10-04 11:14:41 UTC (09 06:06:19 days 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-static_O3
timestamp 2026-10-01 11:58:24 UTC (12 05:22:35 days 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-10-01 11:57:35 UTC (12 05:23:24 days 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-10-01 11:56:49 UTC (12 05:24:10 days ago)
result warning (update) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_44-gcc_16-bindist
timestamp 2026-09-30 13:07:55 UTC (13 04:13:04 days ago)
result error (update) | log | rebuild