[Scilab-users] BUG ilib_mex_build?
Andreas Stewering-Bone
ab at igh-essen.com
Mon Aug 20 07:46:45 CEST 2012
Hello ,
I noticed a different behavior between
Scilab-5.4-beta1
Scilab-5.4-beta2
both Linux 32-Bit binary from the scilab homepage.
I attached the funtion to compile a matlab mex funtion.
Under Beta 1 everthing works fine (Compilation, loader,...),
but under Beta 2 the Compilation fails with the missings header mex.h.
This file is placed under SCI+"includes".
So I think this path is missing in the Basic setup of this function.
Greatings
Andreas
mode(-1);
lines(0);
function mex_builder()
libname = "libcandbcscilab";
filename = [mysrcpath+filesep()+"signalcoding.c", ...
mysrcpath+filesep()+"messagecoding.c", ...
mysrcpath+filesep()+"libcandbc"+filesep()+"dbcModel.c", ...
mysrcpath+filesep()+"libcandbc"+filesep()+"dbcReader.c", ...
mysrcpath+filesep()+"libcandbc"+filesep()+"dbcWriter.c", ...
mysrcpath+filesep()+"libcandbc"+filesep()+"lexer.c", ...
mysrcpath+filesep()+"libcandbc"+filesep()+"parser.c", ...
mysrcpath+filesep()+"hashtable"+filesep()+"hashtable.c", ...
mysrcpath+filesep()+"hashtable"+filesep()+"hashtable_itr.c", ...
"can_dbc.c"];
table = ["can_dbc", "can_dbc"];
mycflags = ["-I"+mysrcpath+" -I"+mysrcpath+filesep()+"hashtable"+"
-I"+mysrcpath+filesep()+"libcandbc "];
myldflags = [];
ilib_verbose(0);
ilib_mex_build(libname, ...
["can_dbc", "can_dbc","cmex"], ...
filename, ...
"", ...
"", ...
myldflags, ...
mycflags);
endfunction
mex_builder()
clear mex_builder;
Mit freundlichem Gruß
Andreas Stewering-Bone
--
------------------------------------------------------------------------
Dipl.-Ing.(FH) Andreas Stewering-Bone
andreas.stewering-bone at igh-essen.com
Tel.: +49 201 / 36014-15
Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Bäcker-Str. 34
D-45356 Essen
Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Geschäftsführung:
- Dr.-Ing. S. Rotthäuser,
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0
http://www.igh-essen.com
------------------------------------------------------------------------
More information about the users
mailing list