[TRNSYS-users] TRNSYS17 IVF111 - building solution (mytype+trndll)

CHEZE David 227480 david.cheze at cea.fr
Thu Aug 11 08:47:25 PDT 2011


That's what I did finally... but not really understanding what's happen, not so good.

Here's what I've tested, if it can helps someone.
W7 IVF11.1 MVS2008
<target/project>                             TRNDLL                                                Mytype                                               Results
release
runtime library:                multithreaded (static)                   multithreaded
ignore spec lib :                                                                                                                                             Build ok , simulation ok

runtime library:                multithreaded (static)                   multithreaded DLL
ignore spec lib :                                                                                                                                             Build ok , simulation ok : I keep this choice

runtime library:                multithreaded DLL                          multithreaded
ignore spec lib :                msvcrt.lib                                                                                                          Build ok

runtime library:                multithreaded DLL                          multithreaded DLL
ignore spec lib :                msvcrt.lib                                                                                                          Build ok but no types can be loaded at runtime by trnexe from mytype.dll ????


debug
runtime library:                multithreaded (static)                   multithreaded
ignore spec lib :                                                                                                                                                             idem

runtime library:                multithreaded (static)                   multithreaded DLL
ignore spec lib :                                                                                                                                                             idem

runtime library:                multithreaded DLL                          multithreaded
ignore spec lib :                msvcrtd.lib                                                                                                                       idem

runtime library:                multithreaded DLL                          multithreaded DLL
ignore spec lib :                msvcrtd.lib                                                                                                                       idem





De : David BRADLEY [mailto:d.bradley at tess-inc.com]
Envoyé : jeudi 11 août 2011 17:24
À : CHEZE David 227480
Cc : trnsys-users at engr.wisc.edu
Objet : Re: [TRNSYS-users] TRNSYS17 IVF111 - building solution (mytype+trndll)

David,
  It might be simpler just to add your Type to the TRNDll. The only reason that we provide the mytype project is so that you don't have to recompile the TRNDll. If you have to recompile the TRNDll anyway for some other purpose then its far simpler to keep all of your Types (the standard ones and whatever ones you have written) in the TRNDll project; it makes stepping through the code one line at a time while debugging MUCH easier.
Regards,
 David



On 8/11/2011 07:00, CHEZE David 227480 wrote:
Hi,

I'm puzzling while trying to build whole solution from latest ivf111 directory provided in the last TRNSYS17.0019 installation, building dlls that can run my projects (some build looks correct while failing to run TRNSYS project).

I need to build trndll because of user types running in legacy mode and I need to build mytype including sourcode of all of my more recent user types.
Because some of mytype's types have to access data file referenced by an assign statement in my decks, mytype and trndll have to be build with the same runtime library (and same version release/debug) : in the ivf101 solution for mytype provided on trnsys website, runtime library is 'multithreaded dll' while it is 'multithreaded' only in ivf111 directory from the latest installation of TRNSYS17 and both are different from what is said about that for ivf in the latest TRNSYS programmer guide... it's not so clear also about the ignored libraries...

Please can you confirm what is the right configuration of the solution, both for trndll and mytype

Thanks,


David Chèze

tel. 0479601437 - INES, CEA/Leth  - Le Bourget du Lac (73), FRANCE - bât. PUMA3 bur. 204





_______________________________________________

TRNSYS-users mailing list

TRNSYS-users at cae.wisc.edu<mailto:TRNSYS-users at cae.wisc.edu>

https://mailman.cae.wisc.edu/listinfo/trnsys-users



--

***************************

David BRADLEY

Principal

Thermal Energy Systems Specialists, LLC

22 North Carroll Street - suite 370

Madison, WI  53703 USA



P:+1.608.274.2577

F:+1.608.278.1475

d.bradley at tess-inc.com<mailto:d.bradley at tess-inc.com>



http://www.tess-inc.com

http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110811/c79e11d1/attachment-0005.htm>


More information about the TRNSYS-users mailing list