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

[TRNSYS-users] linking problems solved



Dear all,

I've just solved the problems I was speaking about in my previous e-mail.
By upgrading from CVF 6.6.0 to 6.6.B the rebuilding of the dll seems to work succesfully,
I wonder why.
Sorry for disturbing you...


Adriana Angelotti


At 11.44 08/03/2005, you wrote:
Dear all,

I'm trying to link a non standard type to trndll.dll in trnsys 16.

The non standard type was written for trnsys 15, then I updated it following the Programmer's Guide instructions
in order to run it in "legacy Trnsys 15 mode".


I'm using Compact Visual Fortran 6.6 and the default workspace Cvf66.dsw.
I simply add the new fortran file and its inc file in Trndll files\Source Files\ Types and then do a Rebuild all.


But I get:
- several Warnings like these:
Warning: DEC$ ATTRIBUTES DLLIMPORT is ignored for non-external procedure. [GETSIMULATIONSTARTTIME]
Warning: DEC$ ATTRIBUTES DLLIMPORT is ignored for non-external procedure. [GETSIMULATIONTIMESTEP]
Warning: DEC$ ATTRIBUTES DLLIMPORT is ignored for non-external procedure. [GETLISTINGFILELOGICALUNIT]


- messages like these:
C:\Programmi\Trnsys16\SourceCode\Types\Type66.for(35): Could not find the file ifwin.mod.
C:\Programmi\Trnsys16\SourceCode\Types\Type66.for(36): Could not find the file ifport.mod.
C:\Programmi\Trnsys16\SourceCode\Kernel\Trnsys.for(54): Could not find the file ifport.mod.


- error messages such as:
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.

Can anybody help me understanding these messages and solving these problems?
They don't seem to deal with the new type file.

Thank you very much

Adriana Angelotti

-------------------------------------------------------------------------------------------------------------------

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@xxxxxxxxxxxxx
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

_______________________________________________ TRNSYS-users mailing list TRNSYS-users@xxxxxxxxxxxxx https://www.cae.wisc.edu/mailman/listinfo/trnsys-users