[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Creating new type issue



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 Team
Thermal Energy System Specialists, LLC
2916 Marketplace Dr, Suite 104
Madison, WI 53719
techsupport@tess-inc.com

----- Original Message -----
Subject: [TRNSYS-users] Creating new type issue
From: Sébastien THOMAS <sebastien.thomas@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@0

type151sourcefile.obj : error LNK2001: unresolved external symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONTIMESTEP@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@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 list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users