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

Luis Ibanez ibanez at cs.unc.edu
Tue Aug 22 11:30:04 EDT 2000


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;
}
-------------------------------------------------------------




More information about the Insight-developers mailing list