<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
address
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>When creating a new type with Compaq Visual Fortran
6.6.B I encounter a building dll problem. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>In fact there is a problem while calling TRNSYS
functions. CvF compiles my fortran file correctly (“USE TrnsysFunctions”
works) but error appears during building dll.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Here is the log:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>“C:\Program
Files\Trnsys16\Compilers\Cvf66\Type151\type151sourcefile.for<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Linking...<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'> Creating library
..\..\..\Userlib\DebugDLLs/Type151.lib and object
..\..\..\Userlib\DebugDLLs/Type151.exp<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>type151sourcefile.obj : error LNK2001: unresolved
external symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONSTARTTIME@0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>type151sourcefile.obj : error LNK2001: unresolved
external symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONTIMESTEP@0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>..\..\..\Userlib\DebugDLLs/Type151.dll : fatal error
LNK1120: 2 unresolved externals<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Error executing link.exe.”<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Other user types have been created on same computer;
I can rebuild their dll file using CvF66B without any problem!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>PS : I saw previous mail sent to TRNSYS mailing list
about this problem. Solution was to update CvF66 to CvF66B. It is already done
on my computer.<o:p></o:p></span></font></p>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'><o:p> </o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black;font-style:normal'>Thank you for your help<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'><o:p> </o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Sébastien THOMAS</span></font><o:p></o:p></i></address>
<address align=left><i><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Assistant - Doctorant<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'><o:p> </o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Université de Liège<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Département Sciences et Gestion de
l'Environnement<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Unité Surveillance de l’Environnement
– Equipe Énergie<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>185, Avenue de Longwy<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>B-6700 ARLON<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Tel: 32-(0)63-230 982<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>Fax: 32-(0)63 230 800<o:p></o:p></span></font></i></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>email: </span></font></i><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><a
href="mailto:sebastien.thomas@ulg.ac.be"
title="mailto:sebastien.thomas@ulg.ac.be"><span
title="mailto:sebastien.thomas@ulg.ac.be">sebastien.thomas@ulg.ac.be</span></a>
<font color=black><span style='color:black'><o:p></o:p></span></font></span></font></address>
<address><i><font size=2 color=black face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:black'>WEB: </span></font><a
href="http://www.dsge-arlon.ulg.ac.be/energie"><font size=2 face=Arial><span
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><span
style='font-size:10.0pt;font-family:Arial'>http://www.dsge-arlon.ulg.ac.be/energie</span></span></font></a><o:p></o:p></i></address>
<address><i><font size=2 color=black face=Arial
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><span
style='font-size:10.0pt;font-family:Arial;color:black'><span
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><o:p> </o:p></span></font></i></address>
</span><span title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/">
<address><i><font size=2 color=black face=Arial
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><span
style='font-size:10.0pt;font-family:Arial;color:black'> </span></font></i><font
size=2 color=green face=Arial
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><span
style='font-size:10.0pt;font-family:Arial;color:green'> </span></font><font
size=5 color=green face=Webdings><span style='font-size:18.0pt;font-family:
Webdings;color:green'>P</span></span></font><span
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><font size=5
color=green face=Webdings
title="http://www.dsge-arlon.ulg.ac.be/ulg_surveillance/"><span
style='font-size:18.0pt;font-family:Webdings;color:green'> </span></font><font
size=2 color=green face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:green'></span>Avant d'imprimer ce courriel sur papier recyclé ou de
brouillon, pensez à l’impact sur l'environnement.</span></font><font
size=2 color=green><span style='font-size:10.0pt;color:green'> </span></font><o:p></o:p></address>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>