AW: [Insight-users] Inconsistent .dll linkage in memory.h on Win2K with Visual 6.0

Nils Hanssen hanssen@caesar.de
Mon, 18 Mar 2002 18:09:53 +0100


Hi Luis,

the problem is "solved"!
When i was starting with itk, i had the following error:

error C2039: 'seekdir' : is no element of 'ios'.

You told me, that I should include <itkImage.h> to get the proper version of
the streams library.
When I know put a #include <memory.h> _before_ each #include <itkImage.h>,
there get no warning regarding memory.h any more.

Thank you very much for your help Luis!

Regards,
Nils






-----Ursprungliche Nachricht-----
Von: insight-users-admin@public.kitware.com
[mailto:insight-users-admin@public.kitware.com]Im Auftrag von Luis
Ibanez
Gesendet: Montag, 18. Marz 2002 17:07
An: Nils Hanssen
Cc: insight-users@public.kitware.com
Betreff: Re: [Insight-users] Inconsistent .dll linkage in memory.h on
Win2K with Visual 6.0



Hi Nils,

That looks strange,...

ITK is not replacing functions from the run-time libraries.
The error should be related to a mix of dlls at link time.

Could you please post the full list of  libraries that you
are linking with.  (maybe cut pasting that from the Visual
Built window... or from the Project/Settings/Link/Input
window)

Does the original error message has more lines ?

Do you receive this message for other functions too or
only for "_memccpy()"  ?

Thanks

    Luis


====================================


Nils Hanssen wrote:

>Hi all,
>
>I get the following error in memory.h when compiling a project with some
>other libraries like vtk and qt. All libraries where built with
>"Multithreaded DLL DEBUG":
>
>memory.h(68) : warning C4273: '_memccpy' : inconsistent DLL linkage.
>dllexport assumed
>
>Does itk replace functions from the run-time libraries?
>How can I avoid this error?
>
>Thanks in advance for any suggestions!
>
>
>Regards,
>Nils
>
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users
>




_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users