[Dcmlib] Probleme de compilation

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Tue Jul 29 15:32:25 CEST 2003


Salut,

	Apres avoir compiler gdcmdll parfaitement, j'ai essayé de compiler 
vtkgdcm mais j'ai quelques soucis:

--------------------Configuration: vtkgdcm - Win32 
Release--------------------
Linking...
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & 
__thiscall ostream::operator<<(char const *)" 
(??6ostream@@QAEAAV0 at PBD@Z) already defined in libcimt.lib(ostream.obj)
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & 
__thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream 
&))" (??6ostream@@QAEAAV0 at P6AAAV0@AAV0@@Z at Z) already defined in 
vtkGdcmReader.obj
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "class ostream & __cdecl 
endl(class ostream &)" (?endl@@YAAAVostream@@AAV1@@Z) already defined in 
vtkGdcmReader.obj
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & 
__thiscall ostream::operator<<(char)" (??6ostream@@QAEAAV0 at D@Z) already 
defined in vtkGdcmReader.obj
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & 
__thiscall ostream::operator<<(unsigned char)" (??6ostream@@QAEAAV0 at E@Z) 
already defined in libcimt.lib(ostrchar.obj)
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & 
__thiscall ostream::flush(void)" (?flush at ostream@@QAEAAV1 at XZ) already 
defined in libcimt.lib(ostream.obj)
msvcirt.lib(MSVCIRT.dll) : warning LNK4006: "public: class ostream & 
__thiscall ostream::operator<<(char const *)" 
(??6ostream@@QAEAAV0 at PBD@Z) already defined in libcimt.lib(ostream.obj); 
second definition ignored
msvcirt.lib(MSVCIRT.dll) : warning LNK4006: "public: class ostream & 
__thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream 
&))" (??6ostream@@QAEAAV0 at P6AAAV0@AAV0@@Z at Z) already defined in 
vtkGdcmReader.obj; second definition ignored
msvcirt.lib(MSVCIRT.dll) : warning LNK4006: "class ostream & __cdecl 
endl(class ostream &)" (?endl@@YAAAVostream@@AAV1@@Z) already defined in 
vtkGdcmReader.obj; second definition ignored
msvcirt.lib(MSVCIRT.dll) : warning LNK4006: "public: class ostream & 
__thiscall ostream::operator<<(char)" (??6ostream@@QAEAAV0 at D@Z) already 
defined in vtkGdcmReader.obj; second definition ignored
msvcirt.lib(MSVCIRT.dll) : warning LNK4006: "public: class ostream & 
__thiscall ostream::operator<<(unsigned char)" (??6ostream@@QAEAAV0 at E@Z) 
already defined in libcimt.lib(ostrchar.obj); second definition ignored
msvcirt.lib(MSVCIRT.dll) : warning LNK4006: "public: class ostream & 
__thiscall ostream::flush(void)" (?flush at ostream@@QAEAAV1 at XZ) already 
defined in libcimt.lib(ostream.obj); second definition ignored
    Creating library Release/vtkgdcm.lib and object Release/vtkgdcm.exp
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__DefWindowProcA at 16
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__MoveWindow at 24
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__SendMessageA at 16
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__ShowWindow at 8
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__CreateWindowExA at 48
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__RegisterClassA at 4
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__GetStockObject at 4
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__LoadCursorA at 8
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__LoadIconA at 8
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__GetClassInfoA at 12
vtkCommon.lib(vtkWin32OutputWindow.obj) : error LNK2001: unresolved 
external symbol __imp__MessageBoxA at 16
vtkCommon.lib(vtkDebugLeaks.obj) : error LNK2001: unresolved external 
symbol __imp__MessageBoxA at 16
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol 
___setlc_active
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol 
___setlc_active
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol 
___setlc_active
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol 
___setlc_active
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol 
___setlc_active
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol 
___unguarded_readlc_active
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol 
___unguarded_readlc_active
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol 
___unguarded_readlc_active
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol 
___unguarded_readlc_active
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol 
___unguarded_readlc_active
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol 
___lc_handle
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol 
___lc_handle
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol 
___lc_handle
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol 
___lc_handle
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol 
___lc_handle
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol 
__pctype
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol 
__pctype
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol 
__pctype
libcpmt.lib(wlocale.obj) : error LNK2001: unresolved external symbol 
___mb_cur_max
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol 
___mb_cur_max
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol 
___mb_cur_max
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol 
___mb_cur_max
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol 
___mb_cur_max
libcpmt.lib(_tolower.obj) : error LNK2001: unresolved external symbol 
___lc_codepage
libcpmt.lib(_toupper.obj) : error LNK2001: unresolved external symbol 
___lc_codepage
libcpmt.lib(xwctomb.obj) : error LNK2001: unresolved external symbol 
___lc_codepage
libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol 
___lc_codepage
libcpmt.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol 
___lc_collate_cp
..\..\lib\vtkgdcm.dll : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.

vtkgdcm.dll - 47 error(s), 6 warning(s)


Est-ce que quelqu'un aurait une idée la dessus.

merci
mathieu
Version: gdcm CVS
	 VTK CVS




More information about the Dcmlib mailing list