[Clp] compiling and running clp

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Thu Sep 19 11:37:38 EDT 2013


On Thu, 19 Sep 2013, Juan J. Rojas wrote:

> The way I am trying to compile is g++ clpSolver.cpp -L/../coin-Clp/lib/libClp.so -o clpSolver. I think, I am missing some required flags(that include important libraries) when I compile.

To link in a library by name, just use the name.
The -L is counterproductive.

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword."  --  Lily


More information about the Clp mailing list