1.

Can I Compile Scip As A Shared Library?

Answer»

You can use the SHARED=true option when making SCIP. This will generate the libraries of SCIP in shared format. The binary then also USES this form. Note that the path to the lib/shared DIRECTORY of SCIP is USED to locate the libraries. If you WANT to move the libraries, you might need to set the LD_LIBRARY_PATH environment variable to INCLUDE the new path. If you are using your own build system: The "magic" changes are the -fPIC compiler/linker option and the -Wl,-rpath option.

You can use the SHARED=true option when making SCIP. This will generate the libraries of SCIP in shared format. The binary then also uses this form. Note that the path to the lib/shared directory of SCIP is used to locate the libraries. If you want to move the libraries, you might need to set the LD_LIBRARY_PATH environment variable to include the new path. If you are using your own build system: The "magic" changes are the -fPIC compiler/linker option and the -Wl,-rpath option.



Discussion

No Comment Found