[TRNSYS-users] Creating new type issue
Technical Support
TechSupport at tess-inc.com
Fri Apr 11 09:28:34 PDT 2008
Sebastien, an unresolved external error indicates that there is a subroutine or
a function called in your Type that cannot be found by the compiler. I
think that the problem might be that the file that contains the list of
where to find all of those subroutines and functions may be missing
from your project. I would recommend that you check and make sure that
the file TRNDll.lib is added to your CVF project.
Kind regards, David
Technical Support TeamThermal Energy System Specialists, LLC2916 Marketplace Dr, Suite 104Madison, WI 53719techsupport at tess-inc.com
----- Original Message -----
Subject: [TRNSYS-users] Creating new type issue
From: Sébastien THOMAS >;sebastien.thomas at ulg.ac.be>
Date: Fri, April 11, 2008 4:32
When creating a new type with Compaq Visual Fortran
6.6.B I encounter a building dll problem.
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.
Here is the log:
“C:\Program
Files\Trnsys16\Compilers\Cvf66\Type151\type151sourcefile.for
Linking...
Creating library
..\..\..\Userlib\DebugDLLs/Type151.lib and object
..\..\..\Userlib\DebugDLLs/Type151.exp
type151sourcefile.obj : error LNK2001: unresolved
external symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONSTARTTIME at 0
type151sourcefile.obj : error LNK2001: unresolved
external symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONTIMESTEP at 0
..\..\..\Userlib\DebugDLLs/Type151.dll : fatal error
LNK1120: 2 unresolved externals
Error executing link.exe.”
Other user types have been created on same computer;
I can rebuild their dll file using CvF66B without any problem!
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.
Thank you for your help
Sébastien THOMAS
Assistant - Doctorant
Université de Liège
Département Sciences et Gestion de
l'Environnement
Unité Surveillance de l’Environnement
– Equipe Énergie
185, Avenue de Longwy
B-6700 ARLON
Tel: 32-(0)63-230 982
Fax: 32-(0)63 230 800
email: sebastien.thomas at ulg.ac.be
WEB: http://www.dsge-arlon.ulg.ac.be/energie
P Avant d'imprimer ce courriel sur papier recyclé ou de
brouillon, pensez à l’impact sur l'environnement.
_______________________________________________TRNSYS-users mailing listTRNSYS-users at engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20080411/924256e6/attachment-0005.htm>
More information about the TRNSYS-users
mailing list