<div dir="ltr"><pre id="comment_text_0">I posted the bug description below in Bugzilla, but have got no useful replies or acklowledgement. Has anyone here recently gotten the <br>call_scilab stuff working on a Mac. It appears the instructions are pretty old, I'm guessing they aren't even referring to dylib libraries.<br>
<br></pre><pre id="comment_text_0">- Andy <br></pre><pre id="comment_text_0"><br>BUG DESCRIPTION:
----------------
There appear to be many problems with the call_scilab example code and instructions for Mac OS. I'm using 10.9.1 and Xcode 5, but my guess is that
these problems exist on earlier Mac OS versions.
The first problem is that the instructions seem to be wrong. There are not two separate include folders "call_scilab" and "core" under the master
include folder. Second, the library "scilab" does not exist. By searching for symbols in the .dylib files, I was able to get the project to build by
including "libscicall_scilab.dylib"
However, when I try to run the project, I get this error:
dyld: Library not loaded: /Users/scilab/SuperCC/sci_binary/scilab-5.4.1.app/Contents/MacOS/lib/scilab/libscicall_scilab.5.dylib
Referenced from: /Users/andrew_voelkel/Library/Developer/Xcode/DerivedData/Scilab_API_try-fdmekealfnosslhggzvcequhfnqg/Build/Products/Debug/Scilab
API try
Reason: image not found
I have a modified my "scheme" so that it sets up the runtime environment to set LD_LIBRARY_PATH to
/Applications/scilab-5.4.1.app/Contents/MacOS/lib/scilab and SCI to /Applications/scilab-5.4.1.app/Contents/MacOS/share/scilab, but this doesn't seem
to help.
It is conceivable that using gcc at the command line might yield different results, but given that the instructions are obviously out of date (see
above), I doubt it.
I would be happy to write up updated Mac OS instructions and submit them once I can get this problem resolved.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
Try to follow the instructions get the call_scilab example on scilab 5.4.1 and a recent version of MacOS, preferably using Xcode and even more
preferably Xcode 5. The instructions I was following can be found here:</pre></div>