Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6
Christian.Mercat
scilab.org at entrelacs.net
Wed May 30 12:14:49 CEST 2012
> I installed OpenCV 2.0.0 via MacPorts. So far no problems.
Ok, this I did. Actually I don't understand how scilab is going to know that
OpenCV is "there" somewhere under /opt/local/lib/libopencv_etc.dylib for
example, but how does it work?
> I could also build
> the SIVP toolbox by exec('builder.sci').
Here, I failed:
-->exec('/Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.2/builder.sce',
-1)
Création des macros...
-- Création de [SIVPlib] (Macros) --
genlib : Traitement du fichier : ycbcr2rgb.sci
[snip]
genlib : Régénère les noms et les bibliothèques
Création de la passerelle...
if ~MSDOS then //linux
!--error 4
Variable non définie : MSDOS
So I just hacked that line into
if 1 then //~MSDOS then //linux
in the file
/Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.2/sci_gateway/c/builder_gateway_c.sce
and got another error:
-- Création de [SIVPlib] (Macros) --
Création de la passerelle...
sh: pkg-config: command not found
or compiling SIVP."))
!--error 10000
OpenCV (version >= 1.0.0) is needed for compiling SIVP.
at line 72 of exec file called by :
[...]
So it seems that I don't have pkg-config and rightly so since I am using
macports, and that the link with OpenCV is not there, I don't know where to
tell Scilab to look for opencv.
Thanks, Christian Mercat
--
View this message in context: http://mailinglists.scilab.org/Scilab-5-2-2-with-SIVP-0-5-3-under-Mac-OS-X-10-6-tp2617683p4022223.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
More information about the users
mailing list