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

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -