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

Can't figure out how to run #9

Open
FridgeEnd opened this issue Jun 5, 2022 · 4 comments
Open

Can't figure out how to run #9

FridgeEnd opened this issue Jun 5, 2022 · 4 comments

Comments

@FridgeEnd
Copy link

FridgeEnd commented Jun 5, 2022

I tried to run the lua stackrabbit file from the emulator, and got this error.
image

@jayhawker6
Copy link

same issue

@mayman150
Copy link

mayman150 commented Feb 16, 2023

If you're encountering the error message when trying to use rabbithttp.so, it may indicate that the shared object file was built with an incompatible environment or outdated dependencies. To resolve this issue, you may need to regenerate the shared object file from the rabbithttp.c source code file.

To do this, you can use the following command to generate the new shared object:

gcc -o rabbithttp.so -shared -fPIC rabbithttp.c -I/usr/include/lua5.3 -I/usr/include/x86_64-linux-gnu -lcurl -llua5.3

@maVRick-Mike
Copy link

I also got the rabbithttp error and that fix worked! That generated the new file and i no longer get the rabbithttp error in fceux - however I now get an error when i run it with the rank-lookup.js - it's looking for a 'ranks_NoNextBox_NoBars' text file that doesn't exist. It also doesn't generate the rank internally so that portion errors out, is there a reference file available?

Anybody else seeing this?

It's talking to the server and sends the board state, but then the server crashes because 'return lookUpRankInString(ranks_NoNextBox_NoBars, index)' - the ranks_NoNextBox_NoBars' errors out.

@preethamrn
Copy link

Just wanted to add onto this that you'll probably need to make sure that you're compiling it with the right version of lua for the emulator. lua5.1 worked for me but lua5.3 (the example given) caused segmentation faults.

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

5 participants