[Scilab-users] Creating a C Function Block issue to compile&link

Leo murallon2015 at gmail.com
Wed Mar 22 10:44:09 CET 2017


Hello everyone,

I have tried the same example using scilab 6.0.0 and 5.5.2 (Debian 9).

-->CFLAGS = "";
-->LDFLAGS = "";

-->CFLAGS = "-I" + SCI + "/modules/scicos/includes" + " -I" + SCI +
"/modules/scicos_blocks/includes";
-->LDFLAGS = LDFLAGS + " """ + SCI + "/bin/scicos.lib""";
-->LDFLAGS = LDFLAGS + " """ + SCI + "/bin/scicos_f.lib""";


-->
ilib_for_link('lim_int','lim_int_comp.c',[],'c','','loader.sce','',LDFLAGS,CFLAGS); 
   Generate a loader file
   Generate a Makefile
   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
   ilib_gen_Make: Did not copy lim_int_comp.c: Source and target directories
are the same (/tmp/SCI_TMP_3775_ICbN3u/lim_int).
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Modification of the Makefile in TMPDIR.
   Running the Makefile
at line   184 of function ilib_compile  (
/home/leo/Downloads/scilab/scilab-6.0.0/share/scilab/modules/dynamic_link/macros/ilib_compile.sci
line 200 )
at line   104 of function ilib_for_link (
/home/leo/Downloads/scilab/scilab-6.0.0/share/scilab/modules/dynamic_link/macros/ilib_for_link.sci
line 118 )

ilib_compile: Could not find the built library '.libs/liblim_int.so'.


'.libs/liblim_int.so' exists but it is a link to '.libs/liblim_int.so.0.0.0'
that doesn't exist

I am just looking for a working C Function block example/tutorial for
beginners. I would appreciate some help.

Thanks

Leo 



--
View this message in context: http://mailinglists.scilab.org/Creating-a-C-Function-Block-issue-to-compile-link-tp4025872p4035925.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list