-
Couldn't load subscription status.
- Fork 0
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels