[vtkusers] Compilation problem using Visual Studio .NET2003 ...
William A. Hoffman
billlist at nycap.rr.com
Fri Jul 16 15:50:57 EDT 2004
It is the difference between static and shared libraries.
Shared libraries link to each other, and are self contained.
Static libraries must be explicitly listed. CMake maintains the
correct list of dependant libraries so that things will work for
static or shared.
-Bill
At 03:45 PM 7/16/2004, Charles Boivin wrote:
>Hi Nigel,
>
>Well, yes, I was not doing that, and of course, as soon as I added
>those two libraries, everything compiled fine! Thanks a lot.
>
>The question remains, however... Why didn't I need to link the app with
>these libraries when I was using the binary VTK distribution? Well, I
>guess it's not that important, but it puzzles me a bit!
>
>Many thanks to everyone.
>
>Charles Boivin
>
>>>> Nigel Nunn <nNunn at ausport.gov.au> 07/16/04 01:35pm >>>
>
>Hi Charles,
>
>Are you linking your app with the OpenGL libraries?
>Try adding these to your project link options:
>
> GLU32.LIB OPENGL32.LIB
>
>
>Another way:
>
>#pragma comment(lib,"GLU32.LIB")
>#pragma comment(lib,"OPENGL32.LIB")
>
>Nigel
>
>**********************************************************************************
>This message is intended for the addressee named and may contain
>confidential and
>privileged information. If you are not the intended recipient please
>note that
>any form of distribution, copying or use of this communication or the
>information
>in it is strictly prohibited and may be unlawful.
>If you receive this message in error, please delete it and notify the
>sender.
>
>Keep up to date with what's happening in Australian sport.
>Visit http://www.ausport.gov.au
>**********************************************************************************
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list