[vtkusers] VC++ 6 linker error with precompiled binaries
REGAT-BARREL Aurélien
arbvtk at yahoo.fr
Thu Feb 12 15:01:21 EST 2004
Hello,
You must add the needed libs to your project. You added the path to these libs to VC++ config ("here are the libs"), but you have to say to "use these libs".
2 ways : add to your project settings in linker additional libraries the vtklibs needed, or add these lines in your source code which are an other way to do the same thing :
#pragma comment(lib, "vtkCommon.lib")
#pragma comment(lib, "vtkRendring.lib")
...
Aurélien REGAT-BARREL
Matthias.Honal at stud.uni-karlsruhe.de wrote:
Hi!
I'm using the precompiled binaries for windows of vtk. When I try to build a
"Win32 console application" which uses the vtk-libraries, I get some linker errors:
12 unresolved externals
The files in $VTK_HOME\include\vtk are included under
Tools->Options->Directories->Include Files and the Files in $VTK_HOME\lib\vtk
are included in Tools->Options->Directories->Library Files.
What else do I have to do?
Thanks,
Matthias
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
---------------------------------
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/102b3cc0/attachment.htm>
More information about the vtkusers
mailing list