[Insight-developers] Visual C++ ...

Bill Hoffman bill.hoffman at kitware.com
Tue Aug 22 11:33:25 EDT 2000


I have been getting/ignoring that warning for a while now.
It seems harmless.  Right now we are no using dll's do it
should not matter.

If you want to do your own project:

1. build pcbuilder (from pcbuilder.dsw)
2. add your test program to a Makefile.in in the Testing/Code/Common directory.

3. run pcbuilder.
4. Load the ITK.dsw 
5. build your project.


At 11:30 AM 8/22/00 -0400, Luis Ibanez wrote:

>Hi,
>
>Using the nice   pcbuilder.dsw   file in
>
>        Insight/Code/tools,
>
>(which works great!)
>It was possible to generate the ITK.dsw file
>
>Basically the symbols defined in there are:
>
>WIN32,VCL_USE_NATIVE_STL,_DEBUG,_WINDOWS,_MBCS
>
>Using these symbols in my new small project
>I'm getting the following error:
>
>
>h:\usr\ibanez\src\insight\code\common\itkobjectfactorybase.h(229) :
>warning C4251:
>'m_LibraryPath' : class 'std::basic_string<char,struct
>std::char_traits<char>,class std::allocator<char> >'
>needs to have dll-interface to be used by clients of class
>'itk::ObjectFactoryBase'
>
>
>Any Ideas about what I'm doing wrong ?
>
>
>Thanks
>
>
>Luis
>
>
>
>The main file I'm using is just :
>-------------------------------------------------------------
>#include <itkImage.h>
>int main()
>{
>   typedef itk::Image< double, 3 > myImage;
>   return 0;
>}
>-------------------------------------------------------------
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers 





More information about the Insight-developers mailing list