<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Do you build with x64 target or 32 bit on Windows 64 bit?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Please check that you link blasplus.lib and lapack.lib to your project with the good target.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Allan<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> steve hall [mailto:shall1944@hotmail.com] <br><b>Envoyé :</b> mardi 7 juin 2011 06:37<br><b>À :</b> users@lists.scilab.org<br><b>Objet :</b> [scilab-Users] Unresolved external symbol while building scilab2c generated code in Visual Studio<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Hello,<br>  <br>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.<br> <br>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.  <br> <br>I'm running scilab-5.3.2_x64 on Windows 7.  Does anyone know what's causing this issue?<br> <br>PS: Disregard my previous post with messed up subject line - hopefully it will be deleted.<br> <br>Thanks,<br>Steven<br> <br>1>cacoss.obj : error LNK2001: unresolved external symbol _dlamch_<br>1>cchola.obj : error LNK2001: unresolved external symbol _zpotrf_<br>1>cdeterma.obj : error LNK2001: unresolved external symbol _zgetrf_<br>1>dchola.obj : error LNK2001: unresolved external symbol _dpotrf_<br>1>ddeterma.obj : error LNK2001: unresolved external symbol _dgetrf_<br>1>dinverma.obj : error LNK2001: unresolved external symbol _dgetri_<br>1>dldivma.obj : error LNK2001: unresolved external symbol _dgecon_<br>1>dldivma.obj : error LNK2001: unresolved external symbol _dlange_<br>1>dldivma.obj : error LNK2001: unresolved external symbol _dlacpy_<br>1>dldivma.obj : error LNK2001: unresolved external symbol _dgelsy_<br>1>dldivma.obj : error LNK2001: unresolved external symbol _dgetrs_<br>1>dmulma.obj : error LNK2001: unresolved external symbol _dgemm_<br>1>dspec2a.obj : error LNK2001: unresolved external symbol _dgeev_<br>1>dspec2a.obj : error LNK2001: unresolved external symbol _dsyev_<br>1>zfftma.obj : error LNK2001: unresolved external symbol _zcopy_<br>1>zinverma.obj : error LNK2001: unresolved external symbol _zgetri_<br>1>zldivma.obj : error LNK2001: unresolved external symbol _zlacpy_<br>1>zldivma.obj : error LNK2001: unresolved external symbol _zgelsy_<br>1>zldivma.obj : error LNK2001: unresolved external symbol _zgecon_<br>1>zldivma.obj : error LNK2001: unresolved external symbol _zlange_<br>1>zldivma.obj : error LNK2001: unresolved external symbol _zgetrs_<br>1>zspec2a.obj : error LNK2001: unresolved external symbol _zheev_<br>1>zspec2a.obj : error LNK2001: unresolved external symbol _zgeev_<br>1>C:\Users\earth\documents\visual studio 2010\Projects\testconvert1\Release\testconvert1.exe : fatal error LNK1120: 23 unresolved externals<o:p></o:p></span></p></div></body></html>