Unresolved external symbol while building scilab2c generated code in Visual Studio

steve hall shall1944 at hotmail.com
Tue Jun 7 06:36:44 CEST 2011


Hello,
  
I used scilab2c to generate a c program from a scilab program.  When I build the resulting C program in visual studio 2010 pro I get the linker errors shown below.  The same issue occurs in Visual Studio 8 express edition.
 
I've set the additional library directories to the directory that contains blasplus.lib and lapack.lib and also set the additional dependencies to be blasplus.lib;lapack.lib.  
 
I'm running scilab-5.3.2_x64 on Windows 7.  Does anyone know what's causing this issue?
 
PS: Disregard my previous post with messed up subject line - hopefully it will be deleted.
 
Thanks,
Steven
 
1>cacoss.obj : error LNK2001: unresolved external symbol _dlamch_
1>cchola.obj : error LNK2001: unresolved external symbol _zpotrf_
1>cdeterma.obj : error LNK2001: unresolved external symbol _zgetrf_
1>dchola.obj : error LNK2001: unresolved external symbol _dpotrf_
1>ddeterma.obj : error LNK2001: unresolved external symbol _dgetrf_
1>dinverma.obj : error LNK2001: unresolved external symbol _dgetri_
1>dldivma.obj : error LNK2001: unresolved external symbol _dgecon_
1>dldivma.obj : error LNK2001: unresolved external symbol _dlange_
1>dldivma.obj : error LNK2001: unresolved external symbol _dlacpy_
1>dldivma.obj : error LNK2001: unresolved external symbol _dgelsy_
1>dldivma.obj : error LNK2001: unresolved external symbol _dgetrs_
1>dmulma.obj : error LNK2001: unresolved external symbol _dgemm_
1>dspec2a.obj : error LNK2001: unresolved external symbol _dgeev_
1>dspec2a.obj : error LNK2001: unresolved external symbol _dsyev_
1>zfftma.obj : error LNK2001: unresolved external symbol _zcopy_
1>zinverma.obj : error LNK2001: unresolved external symbol _zgetri_
1>zldivma.obj : error LNK2001: unresolved external symbol _zlacpy_
1>zldivma.obj : error LNK2001: unresolved external symbol _zgelsy_
1>zldivma.obj : error LNK2001: unresolved external symbol _zgecon_
1>zldivma.obj : error LNK2001: unresolved external symbol _zlange_
1>zldivma.obj : error LNK2001: unresolved external symbol _zgetrs_
1>zspec2a.obj : error LNK2001: unresolved external symbol _zheev_
1>zspec2a.obj : error LNK2001: unresolved external symbol _zgeev_
1>C:\Users\earth\documents\visual studio 2010\Projects\testconvert1\Release\testconvert1.exe : fatal error LNK1120: 23 unresolved externals
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110606/7dd6b34a/attachment.htm>


More information about the users mailing list