Skip to content

Missing luaopen_bit32 with lua 5.4 #1086

@rcharron

Description

@rcharron

Hello,
I just upgraded fedora to version 33 and got a problem with sol.
Compiler complains about nonexistent luaopen_bit32. From what I see, it's really missing in /usr/include/lualib.h
Version of lua is 5.4.1, version of sol is v3.2.2

Just including <sol/sol.hpp> should reproduce the bug.

I guess the #ifdef macro should be corrected but I don't know how.

My fix was to comment the line about bit32, but it's not a good solution.
BTW: thanks for the work, sol is awesome and so easy to use :)

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions