Retro-Graphics-Toolkit
Retro-Graphics-Toolkit copied to clipboard
Compile error - No rules to generate «mdcomp/src/lib/comper.o»
Hi, I got this error when I try to compile: make: *** No rules to generate «mdcomp/src/lib/comper.o», needed by «RetroGraphicsToolkit». Stop.
I'm on linux (ubuntu 20.04).
I've modified the makefiles according to the issue about the lua.hpp https://github.com/ComputerNerd/Retro-Graphics-Toolkit/issues/11
What I'm missing?
You need to also get the source for the submodules.
Run:
git submodule init
git submodule update
Hi mpatsis, thanks for the reply.
I finally managed to compile it. Thanks for the help.
Now I got an error when I run it:
config.lua:35: module 'compat53' not found: no field package.preload['compat53'] no file '/usr/local/share/lua/5.3/compat53.lua' no file '/usr/local/share/lua/5.3/compat53/init.lua' no file '/usr/local/lib/lua/5.3/compat53.lua' no file '/usr/local/lib/lua/5.3/compat53/init.lua' no file '/usr/share/lua/5.3/compat53.lua' no file '/usr/share/lua/5.3/compat53/init.lua' no file './compat53.lua' no file './compat53/init.lua' no file '/usr/local/lib/lua/5.3/compat53.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.3/compat53.so' no file '/usr/lib/lua/5.3/compat53.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './compat53.so'
I supposed I need to install the package at this point, so I tried to run the 'make install', but I got an error because the target is not defined in the makefile. What I'm missing now?
Ok, I found the issue. The package lua-compat53 in the repository, is only for lua 5.1 or 5.1. I made a simlink from /usr/share/lua/5.2/compat53 to /usr/share/lua/5.3/compat53 Now it run.