NetXMS Support Forum

Development => Windows => Topic started by: antonyvasanth on November 20, 2008, 12:55:16 PM

Title: inconsistent dll linkage
Post by: antonyvasanth on November 20, 2008, 12:55:16 PM
Hi Victor,

Could you please help me to resolve this warning .. which creates problem during the linking stage.. Thanks in advance.

c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\include\netxms_maps.h(142) : see previous definition of '{ctor}'
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\libnxmap\objlist.cpp(59) : warning C4273: 'nxmap_ObjList::nxmap_ObjList' : inconsistent dll linkage
1>        c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\include\netxms_maps.h(141) : see previous definition of '{ctor}'
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\libnxmap\objlist.cpp(72) : warning C4273: 'nxmap_ObjList::~nxmap_ObjList' : inconsistent dll linkage
1>        c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\include\netxms_maps.h(143) : see previous definition of '{dtor}'
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\libnxmap\objlist.cpp(83) : warning C4273: 'nxmap_ObjList::Clear' : inconsistent dll linkage


Regards,

Antony Vasanth.
Title: Re: inconsistent dll linkage
Post by: Victor Kirhenshtein on November 26, 2008, 06:51:39 PM
Hi!

Probably you have not defined LIBNXMAP_EXPORTS in libnxmap project properties.

Best regards,
Victor