Compiling c++ project with with Windows (CallScilab, api_scilab)

Melaine Gautier melaine.gautier at inria.fr
Wed May 30 18:05:17 CEST 2012


Hello,

I'm having a problem with the last version of scilab!!!
Not under linux (my software is working fine) but under Windows

Previously I was working with the version 5.2.2 and I didn't have compilation
problem (my software was working perfectly) but I've tried to update my scilab
version to use the last version 5.3.3 (downloaded from
http://www.scilab.org/products/scilab/download  -  Scilab 5.3.3 for 64 bits ).

I'm getting linking problem despite I'm including the libraries : LibScilab.lib
and api_scilab.lib (which is enough with scilab 5.2.2)

The missing external symbols are : StartScilab, TerminateScilab, SendScilabJob,
cmatptr_, creadchain_, printError, readNamedMatrixOfDouble, _imp__pvApiCtx,
readNamedMatrixOfString

I didn't find on the documentation a new lib to include so I'm wondering where
is the problem

Some of the error lines :
error LNK2019: symbole externe non résolu _StartScilab référencé dans la
fonction "int __cdecl com::ScilabStart(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >)" 
error LNK2019: symbole externe non résolu _TerminateScilab référencé dans la
fonction "int __cdecl com::ScilabTerminate(void)" (?ScilabTerminate at com@@YAHXZ)
error LNK2019: symbole externe non résolu _SendScilabJob référencé dans la
fonction "int __cdecl com::ScilabSendJob(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >)"
...

Thanks for any help,
Regards,
Melaine




More information about the users mailing list