• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error: Cannot open include file: 'lua.hpp': No such file or directory

nillusion

New Member
Joined
Apr 4, 2015
Messages
23
Reaction score
1
It's been years and years since I made an OT. I never had to compile a server before, and now I know that I needed Boost and some other things, but when compiling I get this error:

Code:
Cannot open include file: 'lua.hpp': No such file or directory

Am I missing something?

Trying Nostalrius 7.7 right now btw.
 
I ran into this recently and after a little research I found that a recent version changed the directory location to
Code:
vcpkg\packages\luajit_x64-windows\include\luajit\lua.hpp

The luajit folder is what's new. I changed the broken lines of code to include the new folder.
 
Old post, but it's the one that was on the top.
(It's not too old so updating it for people that sees it aswell)

(Found this in a github search)
if you are using Windows, consider install dependencies:

./vcpkg install lua:x86-windows lua:x64-windows

if you are using Ubuntu, consider install dependencies:

apt install -y lua5.2-dev
 
Back
Top