Hi Marius, Here’s what worked for me: set TRNSYS_TYPE=242 G95 -fcase-upper -fno-underscoring -M TrnsysData.for G95 -fcase-upper -fno-underscoring -M TrnsysFunctions.f90 G95 -fcase-upper -fno-underscoring -M TrnsysConstants.f90 G95 -fcase-upper -fno-underscoring -c TrnsysFunctions.f90 G95 -fcase-upper -fno-underscoring -c TrnsysData.for G95 -fcase-upper -fno-underscoring -c TrnsysConstants.f90 G95 -fcase-upper -fno-underscoring -shared -mrtd -o
Type%TRNSYS_TYPE%.dll Type%TRNSYS_TYPE%.for TrnsysConstants.o TrnsysFunctions.o
TrnsysData.o -L. TRNDll.dll (Details : https://www-old.cae.wisc.edu/pipermail/trnsys-users/2009/004878.html ). HtH, Werner De : Marius Müller
[mailto:m.mueller@solitem.de] Hi at all, I
am using trnsys with fortran g95 compiler, when I create a new objekt and also
when I edit an existing one, compiling is no prolem. bbut when I want to build
the file, the error >g95 -shared -mrtd -o c:\programme\Trnsys16_1\Userlib\ReleaseDlls\Type191coolingDemand.dll
trnsysconstants.o trnsysfunctions.o typeck.o messages.o Storage.o Diffeq.o
trnsysdata.o pq.o linkck.o Psych.o Type191coolingDemand.o appears. when I delete the "-shared" from the fortran
properties the following error appears: >g95 -mrtd -o
c:\programme\Trnsys16_1\Userlib\ReleaseDlls\Type191coolingDemand.dll
trnsysconstants.o trnsysfunctions.o typeck.o messages.o Storage.o Diffeq.o trnsysdata.o
pq.o linkck.o Psych.o Type191coolingDemand.o Maybe someone has some idea what the prolem is, thanks, Marius Müller |