mexlib C example: addinter: The shared archive was not loaded: Unknown Error
Reported by Erik Benkler
BUG DESCRIPTION:
----------------
Mexlib example cmex.sce stops with unknown error on Windows 7 systems (both 32 and 64 bit) with Visual Studio 11
Also tested on Linux_x64 (Ubuntu 16.04): The problem does not exist on Linux_x64, works flawlessly there.
ERROR LOG:
----------
--> exec('D:\scilab-master-1485531693\modules\mexlib\examples\cmex\cmex.sce', -1)
Generate a gateway file
Generate a loader file
Generate a Makefile
Running the makefile
Compilation of libmex.cpp
Compilation of libmex.h
Compilation of libmex.hxx
Building shared library (be patient)
Generate a cleaner file
at line 20 of executed file C:\Users\benkle01\AppData\Local\Temp\SCI_TMP_7568_8061\loader.sce
at line 31 of executed file D:\scilab-master-1485531693\modules\mexlib\examples\cmex\cmex.sce
addinter: The shared archive was not loaded: Unknown Error
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------
Tested with nightly builds master-1480961885 (on Win7 64bit), master-1484755002 (on Win7 32bit),
master-1485531693 (on Win7 64bit), and Linux build from master branch (2017-01-28, on Ubuntu 16.04)