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

Melaine Gautier melaine.gautier at inria.fr
Thu May 31 16:58:16 CEST 2012


Melaine Gautier <melaine.gautier at ...> writes:

> 
> 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
> 
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at ...
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
> 
> 

Hi,

I found a way to compile my project : do not use Scilab for 64 bits.
If I'm using the 32 bits Scilab version, the compilation works, my project
works!!! (I also tried with the version scilab 5.2.2 and I have the same
problem/conclusion)

Is it strange or did I miss to add an option (I'm doing the compilation with
visual studio c++ express 2008, the project files are generated with CMake)


Thanks,
Melaine






More information about the users mailing list