Max,
These errors seem to
indicate that the .obj files used by type 56 are not compatible with your
compiler – are you using the correct compile project? (If the problem
persists, you should obtain an update for the .obj files for type 56).
But if you just want to
debug your type, I think it is not necessary to recompile trndll.dll (this was
the case in old versions of TRNSYS, 15 and before).
Please look at the
attached example: in this configuration, you will NOT be able to debug, as the
DLL loaded (white output window) is not the one debugged (blue window on top).
It doesn’t matter
if TRNDLL is in debug mode or not, you just need to load the right DLL into the
debugger – that sort of problem has nothing to do with TRNSYS in
particular, it’s the way the debugger works.
Werner
De : Max Werlein
[mailto:maxwithhat@hotmail.com]
Envoyé : mardi 20 janvier
2009 10:11
À : trnsys users
Objet : [TRNSYS-users] FW:
CVF6.6
From: maxwithhat@hotmail.com
To: bradley@tess-inc.com
Subject: RE: [TRNSYS-users] CVF6.6
Date: Tue, 20 Jan 2009 10:10:30 +0100
I forgot to add the error message i get while compiling the TRNDLL project:
Comv-tm4.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
Comv-tm7.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
Comv-che.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
Comv-deb.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
Comv-tm1.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
Comv-tm2.obj : error LNK2001: unresolved external symbol _for_read_dir_i8
Comv-inh.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
Comv-tm1.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
Comv-tm4.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
Comv-tm7.obj : error LNK2001: unresolved external symbol _for_write_dir_i8
Debug/TRNDll.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
TRNDll.dll - 11 error(s), 433 warning(s)
Thanks in advance
max
Date: Mon, 19 Jan 2009 15:31:58 -0600
From: bradley@tess-inc.com
To: maxwithhat@hotmail.com
CC: trnsys-users@engr.wisc.edu
Subject: Re: [TRNSYS-users] CVF6.6
Max,
The first thing to make sure of is that you need to rebuild the DLL with
your Types from the newly installed CVF. I would also recommend deleting all of
the intermediate files that CVF has created in making the new DLL. These are
usually in the ..\Trnsys16_1\Compilers\...\Debug and ..\Release folders and
have the extension *.obj
Kind regards,
David
Max Werlein wrote:
Dear TRNSYS users,
I have written a type with CVF 6.6. Y could Debug it without any problems
before. After reinstalling the computer, I installed both TRNSYS and CVF again
implemented my typs, and the simulations run without a problem. When I try to
debug the tzpes in CVF the simulation does not stop at the b reakpoints. The
simulation just run trough (or gives an error) but does not stop at the setted
breakpoints. I suspect the DF60.PDB file to have to do something with the
problem because when I debug sometimes CVF asks locate the DF60.PDB file. I
indicate the location in the userlibs\debug and then the CVF gives and error
and needs to be closed. After this procedure the project does not seem to be
debugable anymore. I am a bit confused! Maybe someone can help me?
Tanks in advance
max
¡Y compártelas en Windows Live Fotos! Estas fiestas diviértete tomando fotos.
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 22 N. Carroll Street - Suite 370
Partner Madison, WI 53703
USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: bradley@tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
***********************************************************************
¡Y compártelas en Windows Live Fotos! Estas fiestas diviértete tomando fotos.
¡Descúbrelo! ¿Qué
puedes hacer con el nuevo Windows Live?