jcrist / Old-Control.jl

Development has been moved to https://github.com/JuliaControl/Control.jl
8 stars 0 forks source link

Improve Readme #3

Open ufechner7 opened 10 years ago

ufechner7 commented 10 years ago

Hello, I cloned this library today. I am missing an explanation how to install Slicot such that Julia can find it (I have it installed already for PyControl, but Julia does not find it). Uwe

jcrist commented 10 years ago

The slicot installed for python control is a special compilation with a wrapper for python. I think all the symbols are still exposed, so the julia wrapper would work, but I'm not sure.

Julia only looks in specific places for shared libraries, and only for the name given. As a quick workaround all calls to "libslicot" could be replaced with the absolute path to your slicot shared library.

Ideally, the Slicot.jl file would contain a "libslicot" variable, that pointed to the location of the user's shared library. All function calls would then use this variable, rather than a hardcoded path. The variable would be set upon install by a configuration script. This is a big priority right now, as easier install will help others get started and improve development speed.