Skip to content

fatal error: lua5.4/lua.h #17

@jhalves

Description

@jhalves

Hi!
First i want to thank you for what you are doing for improving simracing on linux

I just moved to Arch Linux some weeks ago and im trying to make assetto corsa run with all the add-ons i had in windows.
Fist time on Linux and i already managed to run AC with content manager and csp but now i want a replacement for simhub and crewchief and i found your projects.

So ... after reading a lot about all this API packages working together i downloaded and managed do compile simshmbridge, simapi and simd. I put them togheter in a tree and they seem to be working.

if i run ./acshm i got the message "Press q after all processes using shared memory are closed, to release the shared memory files."

if i run ./simd --nodaemon --nomemmap -vv i got the message "Searching for sim data... Press q to quit..."

I also can see the simapi.dat file running on /dev/shm folder

Now .. i downloaded monocoque and put the tree i made from simshmbridge, simapi and simd inside simulatoriapi folder and start compiling ... and when running the "make" command i got this error:


[caracol@archlinux build]$ make
[  2%] Building C object src/monocoque/gameloop/CMakeFiles/gameloop.dir/gameloop.c.o
In file included from /home/caracol/Programas/monocoque-master/src/monocoque/gameloop/gameloop.h:1,
                 from /home/caracol/Programas/monocoque-master/src/monocoque/gameloop/gameloop.c:12:
/home/caracol/Programas/monocoque-master/src/monocoque/gameloop/../devices/simdevice.h:6:10: fatal error: lua5.4/lua.h: Ficheiro ou pasta inexistente
    6 | #include "lua5.4/lua.h"

It says folder or file does not exist.
I installed lua 5.4.7-1 from arch repository and also from source but the error persists.

I searched lua.h file on my disk and there are 2 of them inside:
-/home/caracol/lua-5.4.7/src
-/usr/include

Until here i managed to find a solution for all the errors i found ... most for missing packages but now im stuck on this.

Can you help me out?
Thanks

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