[vtkusers] Suggestion to VTK developpers under Win32

REGAT-BARREL Aurélien arbvtk at yahoo.fr
Thu Feb 12 15:12:06 EST 2004


Hello,
I am new here but it seems that a lots of VTK beginners under Windows with VC++ have problem to compile their C++ code because they forget to add vtk libs to their projects settings and the linking process fails. Why not add something like that in vtkWin32Header.h to avoid this problem :
#ifdef _MSC_VER
#pragma comment(lib, "vtkCommon.lib")
#pragma comment(lib, "vtkFiltering.lib")
#pragma comment(lib, "vtkGraphics.lib")
#pragma comment(lib, "vtkHybrid.lib")
#pragma comment(lib, "vtkImaging.lib")
#pragma comment(lib, "vtkIO.lib")
#pragma comment(lib, "vtkjpeg.lib")
#pragma comment(lib, "vtkParallel.lib")
#pragma comment(lib, "vtkpng.lib")
#pragma comment(lib, "vtkRendering.lib")
#pragma comment(lib, "vtkzlib.lib")
#endif
 
It should be different in order not to include missing libs (vtkPatented no compiled for example).
What's your opinion ?
 

		
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040212/b62a7c4a/attachment.htm>


More information about the vtkusers mailing list