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

Configuration errors on build and execution #1

Open
akshgpt7 opened this issue Mar 27, 2021 · 1 comment
Open

Configuration errors on build and execution #1

akshgpt7 opened this issue Mar 27, 2021 · 1 comment

Comments

@akshgpt7
Copy link

Description

On Linux, the example gives errors on building and executing it.
On running the build command (gcc -std=c11 main.c -lmetacall), the following error occurs:

error while loading shared libraries: libmetacall.so: cannot open shared object file: No such file or directory

Adding the following link to the command fixes it:
g++ main.cpp -L/usr/local/lib -lmetacall

Then, on executing the binary using ./a.out, it fails to load the plot.py script.

To fix that, the path of the script needed to be changed to its absolute path inside main.c, where it's being loaded to MetaCall.
Also, to execute it, the following command had to be used: LD_LIBRARY_PATH=/usr/local/lib ./a.out.

@iamrahulmahato
Copy link

Hi, I am , a contributor to OpenForce 2022. I would like to work on this issue

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