Skip to content

How to Properly Use LuaJIT with sol2 via vcpkg #1746

@mehah

Description

@mehah

D:...\vc17\vcpkg_installed\x64-windows-static\include\sol\compatibility\lua_version.hpp(39,12): error C1083: Cannot open include file: 'lua.h': No such file or directory

The include for my LuaJIT (via vcpkg) is #include <luajit/lua.hpp>.
path: D:...\vc17\vcpkg_installed\x64-windows-static\include\luajit\lua.hpp

sol2 includes it using a different path.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions