You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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: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 theplot.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
.The text was updated successfully, but these errors were encountered: