在vs2008中包括外接调用库的 .lib,.dll,includes

借鉴下面的方法:

 

 

1,glut32.lib放到C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib目录下;glut32.dll放到C:/WINDOWS/system32目录下
2,设置IDE环 境:project->new Property->Configuration propertites->linker->Input->Additional dependencies里面加入opengl32.lib glut32.lib这两个lib,应用、确定。

 

==================

  glut32.dll to %WinDir%/System, 
  glut32.lib to $(MSDevDir)/../../VC98/lib, and 
  glut.h to $(MSDevDir)/../../VC98/include/GL.

 

===========================

工程->属性->链界器->输入->依赖项

 

===========================

(3).在Visual studio 2008中设定xerces-c的路径
A.假定你的xerces-c解压在目录C:/xerces-c-3.0.1下,将C:/xerces-c-3.0.1/src设定到你的 visual studio VC++ Directories 的 Include files下,具体位置为Tools->Options->Projects and Solutions -> VC++ Directories->Include files.

B.将xerces-c编译后生成的lib库目录添加到visual studio VC++ Directories的Library files下,具体位置为Tools->Options->Projects and Solutions -> VC++ Directories->Library files

 

 

===========================

 

 

你可能感兴趣的:(在vs2008中包括外接调用库的 .lib,.dll,includes)