Dear TRNSYS users, I´m a beginner user of TRNSYS, and I´m
trying to do the “Creating a new component” module from TRNSYS
16-Getting started manual. I have the fowling errors when i´m trying
to built the .dll file: 1>------ Build started:
Project: Dll4, Configuration: Debug Win32 ------ 1>Linking... 1>Debug\Type202.obj:warning
: locally defined symbol __imp__TRNSYSFUNCTIONS_mp_GETSIMULATIONSTARTTIME
imported 1>Debug\Type202.obj:warning
: locally defined symbol __imp__TRNSYSFUNCTIONS_mp_GETSIMULATIONTIMESTEP
imported 1> Creating library
C:\Users\pedro\Documents\Visual Studio 2008\Projects\Dll4\Dll4\Debug\Dll4.lib
and object C:\Users\pedro\Documents\Visual Studio 2008\Projects\Dll4\Dll4\Debug\Dll4.exp 1>Type202.obj : warning
LNK4217: locally defined symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONSTARTTIME
imported in function _TYPE202 1>Type202.obj : warning
LNK4217: locally defined symbol _TRNSYSFUNCTIONS_mp_GETSIMULATIONTIMESTEP
imported in function _TYPE202 1>Type202.obj : error
LNK2019: unresolved external symbol _TYPECK referenced in function _TYPE202 1>Debug\Dll4.dll
: fatal error LNK1120: 1 unresolved externals Anyone could help with this?? Thank you in advance. Pedro Gonçalves |