payonel / ocvm

OpenComputer Emulator
41 stars 7 forks source link

Cannot build on Cygwin #28

Closed UncleMozambique closed 5 years ago

UncleMozambique commented 5 years ago

Whenever I try to build OCVM, it says it can't find Lua 5.2 even though it is installed.

Package lua5.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua5.2', required by 'virtual:world', not found
g++ -g --std=c++17 -Wall  -I. -MMD -c main.cpp -o bin/main.o
In file included from model/client.h:2:0,
                 from main.cpp:4:
model/value.h:7:10: fatal error: lua.hpp: No such file or directory
 #include <lua.hpp>
          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:69: bin/main.o] Error 1

EDIT: Tried building on Ubuntu, still the same error even though both Lua 5.2 and 5.3 are installed.

payonel commented 5 years ago

you closed this, what was the resolution?