[vtkusers] Compilation problem using Visual Studio .NET2003 ...

Charles Boivin Charles.Boivin at rwdiwest.com
Fri Jul 16 15:45:40 EDT 2004


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 
**********************************************************************************



More information about the vtkusers mailing list