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

Re: [TRNSYS-users] error rebuilding trn.dll with cvf



Stephan,
 
I have in mind that Compaq Visual Fortran Edition 6.6.C had a bug and we couldn't
work with it successfully with TRNSYS. We recommend to use edition 6.6b.
 
 
1. post build command
 

Post-build: Copying Release TRNDll.dll and TRNDll.lib to the Exe folder

Syntaxfehler.

Error executing c:\windows\system32\cmd.exe.

 
The post build command copies the created TRNDll.DLL and TRNDLL.LIB into the TRNSYS17\EXE directory.
If one of these files isn't created it can't be copied. You may check if these files exit in the directory
 
D:\Programme\Trnsys17\Compilers\Cvf66\TRNDll\Release\
 
If they exit  you may check the copy command it self
 
project -> settings ->  tab Post-Build Step ->

 

 

2. Could not find the file if*.mod....”

 

This is no problem because these files are needed by the Intel compiler only.

Since you are using the Compaq compiler this doesn't matter

 

3. What is the last line in the "Build" window?

 
TRNDLL.DLL - 0 error(s), 3 warning(s)

 

Best regards,

 

Marion

 

 

 
Dipl.-Ing. Marion Hiller
TRANSSOLAR Energietechnik GmbH
Munich - New York - Stuttgart + 49.711.67976.0

KlimaEngineering- Technologien für energieeffizientes Bauen und Nutzerkomfort in Gebäuden
Transsolar Energietechnik GmbH, Curiestrasse 2, 70563 Stuttgart / Amtsgericht Stuttgart - HRB 23347 / USt-IdNr.: 99073/00911
Geschäftsführer: Dipl.Ing. Matthias Schuler, Dipl.Ing. Thomas Auer, Dipl.Phys. Stefan Holst
 


   Von: Ledinger Stephan [mailto:Stephan.Ledinger@ait.ac.at]
Gesendet: Montag, 5. Juli 2010 16:59
An: 'Marius Müller'; trnsys-users@cae.wisc.edu
Betreff: Re: [TRNSYS-users] error rebuilding trn.dll with cvf

Marius,

 

unfortunately I can’t offer a solution for your problem. But I experienced a very similar problem with rebuilding the TRNDLL.dll since the latest update. I also tried to increase some of the constants.

I used Compaq Visual Fortran Edition 6.6.C

 

The error message says;

“...D:\Programme\Trnsys17\SourceCode\Kernel\Callprogram.f90

Linking...

   Creating library Release/TRNDll.lib and object Release/TRNDll.exp

Post-build: Copying Release TRNDll.dll and TRNDll.lib to the Exe folder

Syntaxfehler.

Error executing c:\windows\system32\cmd.exe.

D:\Programme\Trnsys17\SourceCode\Types\Type62.f90(56): Could not find the file ifwinty.mod....”

 

BR, Stephan

 

Von: Marius Müller [mailto:m.mueller@solitem.de]
Gesendet: Montag, 5. Juli 2010 16:48
An: trnsys-users@cae.wisc.edu
Betreff: [TRNSYS-users] error rebuilding trn.dll with cvf

 

Dear all,

I was trying to rebuild the trn.dll because trnsys told me so:

“The maximum allowable number of constants+equations has been exceeded. ...”

I opened the project file with cvf and I just changed the trnsysconstants.f90.

Then I tried to rebuild all. But this error was displayed:

 

Linking...

   Creating library Debug/TRNDll.lib and object Debug/TRNDll.exp

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.

 

I checked the files, but they where not readable..

 

Someone has an idea?

 

Thanks,

Marius