Closed tplsofteng closed 1 year ago
I'm poking at the sky here, but just in case... You may actually have liblua-5.4.5, while Sol thinks that It's 5.4.4. Try specifying a concrete version with a patch number: -DSOL2_LUA_VERSION:STRING=5.4.5
Yes this was the issue, actual version that worked was 5.4.7. Thank You
Hi, I have tried building on ubuntu 23.04.
I have installed the following lua packages: liblua5.4-dev lua5.4
And the cmake command is copied from the ubuntu.yml:
cmake -B build/debug -D CMAKE_BUILD_TYPE:STRING=Debug "-DSOL2_LUA_VERSION:STRING=5.4" -DSOL2_PLATFORM:STRING=x64 -DSOL2_CI=ON -DSOL2_BUILD_LUA:BOOL=ON -DBUILD_LUA_AS_DLL:BOOL=OFF -DSOL2_TESTS:BOOL=ON -DSOL2_EXAMPLES:BOOL=ON -DSOL2_TESTS_EXAMPLES:BOOL=ON
I am encountering this error:
I have looked at https://sol2.readthedocs.io/en/latest/build.html but don't see any information regarding this.
Thanks.