<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hi,<br><br>Thank you for your answer. It actually allowed me to clarify a little bit my problem.<br>It seems that the compiler can't find a "windows.h" file. This file is not included in the file I try to compile but is added by the make file generated by Scilab.<br><br>This missing file is installed on my computer (it is part of the windows SDK). Does someone know how to indicate to the compiler where to find this .h file? I tried to copy this window.h file in the working directory, but another .h is missing anyway.<br><br>Is there a special order to install the compiler,windows sdk and scilab?<br><br>Thank you by advance for your help,<br>Benoit<br><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Allan CORNET <allan.cornet@scilab.org><br><b><span style="font-weight: bold;">À :</span></b> users@lists.scilab.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Ven 16 juillet 2010, 8h 59min 06s<br><b><span style="font-weight: bold;">Objet :</span></b> RE: [scilab-Users] Pb with C function linking<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off">
<style>
<!--
_filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
a:link, span.MsoHyperlink
{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
span.EmailStyle17
{font-family:"sans-serif";color:#1F497D;}
.MsoChpDefault
{font-size:10.0pt;}
_filtered {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);">Hi,</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);">See help ilib_verbose </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">you can also start a shell session for scilab:</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">// do first your ilib_build command</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">dos start</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">it will start a command line session</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">and in this shell session, type :</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">nmake /f makelib.mak</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">you will have more information about your trouble</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US">see also:</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);"><a rel="nofollow" target="_blank" href="http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab_with_Visual_Studio">http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab_with_Visual_Studio</a></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);">Allan CORNET</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family: "sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "sans-serif";">De :</span></b><span style="font-size: 10pt; font-family: "sans-serif";"> azerty azerty
[mailto:end48war@yahoo.fr] <br>
<b>Envoyé :</b> vendredi 16 juillet 2010 08:46<br>
<b>À :</b> users@lists.scilab.org<br>
<b>Objet :</b> [scilab-Users] Pb with C function linking</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">Hello,<br>
<br>
I'm trying to compile and link a C function with Scilab.<br>
When I use the scilab function ilib_build, I've got the following error message
: <br>
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\bin\cl.EXE"'á: code retour '0x2'<br>
<br>
I'm using Scilab 5.3.0 beta 1 and Visual Studio Express 2010.<br>
<br>
I can't solve the problem which happens with any C function I tried with (even
with the examples provided with Scilab).<br>
<br>
If anybody has an idea of what my problem is, I would be really greatfull.<br>
<br>
Best regards,<br>
Benoit</p>
</div>
</div>
<p class="MsoNormal"> </p>
</div>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div><br>
</body></html>