Skip to content

Compile error - lua.hpp: No such file or directory #11

Description

@andre-paris

Trying to compile under Ubuntu 18.04

libfltk1.3:
  Installed: 1.3.4-6
  Candidate: 1.3.4-6
  Version table:
 *** 1.3.4-6 500
        500 http://ubuntu.mirrors.tds.net/pub/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

libboost-all-dev:
  Installed: 1.65.1.0ubuntu1
  Candidate: 1.65.1.0ubuntu1
  Version table:
 *** 1.65.1.0ubuntu1 500
        500 http://ubuntu.mirrors.tds.net/pub/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

liblua5.3-0:
  Installed: 5.3.3-1ubuntu0.18.04.1
  Candidate: 5.3.3-1ubuntu0.18.04.1
  Version table:
 *** 5.3.3-1ubuntu0.18.04.1 500
        500 http://ubuntu.mirrors.tds.net/pub/ubuntu bionic-security/main amd64 Packages
        500 http://ubuntu.mirrors.tds.net/pub/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     5.3.3-1 500
        500 http://ubuntu.mirrors.tds.net/pub/ubuntu bionic/main amd64 Packages
$ make
g++  -DPACKAGE='"luaposix"' -DVERSION='"RGT"' -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DHAVE_NET_IF_H=1 -D_DEFAULT_SOURCE -DUSE_IMAGES=1 -isystem /usr/include/fltk/ -Ilua/src -Imdcomp/include/ -IautogeneratedBindings/ -Iluaposix/ext/include -Iluaposix_headers -I. -c -march=native -flto -fuse-linker-plugin -s -O3 -pipe -march=native -fomit-frame-pointer -fno-rtti -std=gnu++14 project.cpp -o project.o
In file included from project.cpp:29:0:
luaconfig.h:18:10: fatal error: lua.hpp: No such file or directory
 #include "lua.hpp"
          ^~~~~~~~~
compilation terminated.
Makefile:22: recipe for target 'project.o' failed
make: *** [project.o] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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