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

Re: unresolved external symbol



Carmen,
  An "unresolved external" error indicates that the source code refers to something (usually the name of a function, a subroutine, or a variable) that is not found in the project. In your case the variable IPCODE. I would suggest that you refer to chapter 3 of the main TRNSYS manual for information on the code that is required in order to recreate the full DLL. I think you may want to add all the fortran files that you find in the \kernal directory and all the fortran files that you find in the \types directory instead of a subset of those files. You may also find a WorkSpace directory in your \trnsys15 folder that contains a premade Compaq Visual Fortran project for recreating the DLL.
Kind regards,
  David

At 06:13 PM 1/19/2004 +0300, you wrote:
Hello,

In order to create a new Type solar collector file, I begin to modify the Type1.for file.
I work in TRNSYS15 and I try to have a stand alone application with Compaq Visual Fortran 6.6.

In the Source files I put the following ones :
Data.for; EVAL.FOR; INDVAR.FOR; LINCKC.FOR; MYSTOP.FOR,
Rcheck.for, Readin.for Strnum.for; TALF.FOR;Type1.for; TYPECK.FOR;

In the Resource Files I have DFOR.LIB and
in External Dependencies I have: Param.inc.

After I do build all, the error message I get is:
INDVAR.OBJ : error LNK2001: unresolved external symbol _IPCODE@8
DFOR.LIB(DFORMAIN.OBJ) : error LNK2001: unresolved external symbol _MAIN__

Could you please help me to solve this problem?

Thank you,
Carmen

Carmen Vasile
Institut National des Sciences Appliquees de Strasbourg
Departement Genie Climatique et Energetique
24 Bd de la Victoire
67084 STRASBOURG Cedex
Tel : ++ 333.88.14.47.00 poste 4868
Fax : ++ 333.88.14.47.99

****************************************************************************************
Thermal Energy System Specialists (TESS)
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley@xxxxxxxxxxxx
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************