Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error - No rules to generate «mdcomp/src/lib/comper.o» #16

Open
screwbreaker opened this issue Jan 2, 2022 · 3 comments
Open

Comments

@screwbreaker
Copy link

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
#11

What I'm missing?

@mpatsis
Copy link

mpatsis commented Jan 11, 2022

You need to also get the source for the submodules.
Run:
git submodule init
git submodule update

@screwbreaker
Copy link
Author

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?

@screwbreaker
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants