[vtkusers] Problem that VTK has with Microsoft studio 2008 experssedition

Bob Palank srfpala at earthlink.net
Sun Jan 27 12:22:21 EST 2008


You might find the following helpful.
//
----------------------------------------------------------------------------
--------------------------------------------------
#include "d:\vtk50\include\vtkCylinderSource.h"

#include "d:\vtk50\include\vtkPolyDataMapper.h"

#include "d:\vtk50\include\vtkActor.h"

#include "d:\vtk50\include\vtkRenderer.h"

#include "d:\vtk50\include\vtkRenderWindow.h"

#include "d:\vtk50\include\vtkRenderWindowInteractor.h"

#include "d:\vtk50\include\vtkProperty.h"

#include "d:\vtk50\include\vtkCamera.h"

#include "d:\vtk50\include\vtkLineSource.h"

#pragma comment(lib, "d:\\vtk50\\Lib\\vtkRendering.lib") // Left 2
unresolveds

#pragma comment(lib, "d:\\vtk50\\Lib\\vtkCommon.lib") // Left 2 unresolveds

#pragma comment(lib, "d:\\vtk50\\Lib\\vtkGraphics.lib") // Left 1
unresolveds

#pragma comment(lib, "d:\\vtk50\\Lib\\vtkFiltering.lib") // Left 0
unresolveds

//
----------------------------------------------------------------------------
---------------------------------------------

 

  _____  

From: vtkusers-bounces+srfpala=earthlink.net at vtk.org
[mailto:vtkusers-bounces+srfpala=earthlink.net at vtk.org] On Behalf Of mostafa
charmi
Sent: Sunday, January 27, 2008 10:07 AM
To: vtkusers at vtk.org
Subject: [vtkusers] Problem that VTK has with Microsoft studio 2008
experssedition


Hi everyone,

I have recently installed visual studio 2008 studio on my PC. I wanted to
build VTK with this compiler. I did this, but when I wanted to test it with
sample program such as cone, I faced  with  build  problem. The following
could be seen in the output window:

1>------ Build started: Project: Cone, Configuration: Debug Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib'
1>Build log was saved at
"file://c:\D\workspaces\vtk3.0.5\examples\binary\Cone.dir\Debug\BuildLog.htm
"
1>Cone - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

vtkrendering. lib file could not be found. I didn't have such problem in my
previous compiler (visual studio 6).

Could you please help me in this issue?

thanks

bests... Mostafa
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080127/cf57be53/attachment.htm>


More information about the vtkusers mailing list