[Bugzilla] [Bug 3944] Samuel GOUGEON has changed bug_file_loc, component
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Fri Mar 23 21:44:11 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=3944
--------- Bug Summary -----------
Error with the help example of ilib_mex_build()
---------- Changed by ------------
sgougeon at free.fr
---------- What changed ----------
bug_file_loc, component
Samuel GOUGEON <sgougeon at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|-->cd(TMPDIR);
|
|
|
|-->mputl('ilib_mex_build('' |
|libmex'',[''mexf16'',''mexf |
|unction16'',''cmex''],[],[] |
|,''Makelib'','''','''','''' |
|)','builder.sce');
|
|
|
|-->
|
|
|
|-->mputl([
|
|-->'#include ""mex.h""'
|
|-->'void mexFunction(int |
|nlhs, mxArray *plhs[], int |
|nrhs, mxArray *prhs[])'
|
|-->'{'
|
|-->' int *dims = |
|mxGetDimensions(prhs[0]);'
|
|-->' sciprint(""%d %d |
|%d\n"",dims[0],dims[1],dims |
|[2]);'
|
|-->'}'
|
|-->],'mexfunction16.c');
|
|
|
|-->exec(TMPDIR+'/builder.sc |
|e');
|
| Generate a gateway file
|
| Generate a loader file
|
| Generate a Makefile
|
| ilib_gen_Make: configure |
|: Generate Makefile.
|
| ilib_gen_Make: Copy |
|compilation files |
|(Makefile*, libtool...) to |
|TMPDIR
|
| ilib_gen_Make: Copy |
|libmex.c to TMPDIR
|
| ilib_gen_Make: configure |
|: Generate Makefile.
|
| ilib_gen_Make: |
|Modification of the |
|Makefile in TMPDIR.
|
| Running the makefile
|
|
|
|-->exec(TMPDIR+'/loader.sce |
|');
|
|Link failed for dynamic |
|library |
|'/tmp/SD_12402_//libmex.so' |
|.
|
|An error occurred: |
|/tmp/SD_12402_//libmex.so: |
|undefined symbol: |
|mex_mexfunction16
|
|Link failed for dynamic |
|library |
|'/tmp/SD_12402_//libmex.so' |
|.
|
|An error occurred: |
|/tmp/SD_12402_//libmex.so: |
|undefined symbol: |
|mex_mexfunction16
|
|addinter(libmex_path+'/libm |
|ex.so','libmex',list_functi |
|ons);
|
| |
| |
| !--error 236
|
|addinter: The shared |
|archive was not loaded: |
|(null)
|
|at line 8 of exec |
|file called by :
|
|exec(TMPDIR+'/loader.sce'); |
Component|Dynamic Link |mexlib
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180323/f7a6dc09/attachment.htm>
More information about the Bugzilla
mailing list