inconsistent dll linkage

Started by antonyvasanth, November 20, 2008, 12:55:16 PM

Previous topic - Next topic

antonyvasanth

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.

Victor Kirhenshtein

Hi!

Probably you have not defined LIBNXMAP_EXPORTS in libnxmap project properties.

Best regards,
Victor