linux - lpsolve library dynamically linking -


the lpsolve library has script build demo.c file.

#this script expects located in subdirectory of subdirectory of base lpsolve files cc -dexplicit -i../.. -o3 demo.c explicit.c -lm -ldl -o demoe ../../lpsolve55/liblpsolve55.so opts='-o3' opts=''  cc -i../.. $opts demo.c implicit.c -lm -ldl -o demoi ../../lpsolve55/liblpsolve55.a 

the name of file ccc , content displayed above. terminal how call script?

you should call script using

sh ccc 

this information contained in file demo/readme.txt:

to build program under linux/unix, use sh ccc


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -