Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 738
    • Issues 738
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 201
    • Merge requests 201
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #5641

Closed
Open
Created Sep 01, 2007 by Kitware Robot@kwrobotOwner

I can not build vtk.sln on visual c++ 2005

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


when i build vtk.sln, i get the next errors:

1>------ Build started: Project: vtkRendering, Configuration: Debug Win32 ------ 1>Compiling... 1>vtkWin32OpenGLRenderWindow.cxx 1>....\vtk-5.0.3\Rendering\vtkWin32OpenGLRenderWindow.cxx(34) : fatal error C1083: Cannot open include file: 'GL/glaux.h': No such file or directory 1>Build log was saved at "file://c:\VTK_BINARY_DIR\Rendering\vtkRendering.dir\Debug\BuildLog.htm" 1>vtkRendering - 1 error(s), 0 warning(s) 2>------ Build started: Project: vtkHybrid, Configuration: Debug Win32 ------ 3>------ Build started: Project: vtkVolumeRendering, Configuration: Debug Win32 ------ 3>Linking... 2>Linking... 3>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 2>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 3>Build log was saved at "file://c:\VTK_BINARY_DIR\VolumeRendering\vtkVolumeRendering.dir\Debug\BuildLog.htm" 3>vtkVolumeRendering - 1 error(s), 0 warning(s) 2>Build log was saved at "file://c:\VTK_BINARY_DIR\Hybrid\vtkHybrid.dir\Debug\BuildLog.htm" 2>vtkHybrid - 1 error(s), 0 warning(s) 4>------ Build started: Project: GenericFilteringCxxTests, Configuration: Debug Win32 ------ 5>------ Build started: Project: vtkWidgets, Configuration: Debug Win32 ------ 4>Linking... 4>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 5>Linking... 5>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 4>Build log was saved at "file://c:\VTK_BINARY_DIR\GenericFiltering\Testing\Cxx\GenericFilteringCxxTests.dir\Debug\BuildLog.htm" 4>GenericFilteringCxxTests - 1 error(s), 0 warning(s) 5>Build log was saved at "file://c:\VTK_BINARY_DIR\Widgets\vtkWidgets.dir\Debug\BuildLog.htm" 5>vtkWidgets - 1 error(s), 0 warning(s) 6>------ Build started: Project: GraphicsCxxTests, Configuration: Debug Win32 ------ 7>------ Build started: Project: VTKExamplesTarget, Configuration: Debug Win32 ------ 7>Generating ../VTKExamples 6>Linking... 6>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 6>Build log was saved at "file://c:\VTK_BINARY_DIR\Graphics\Testing\Cxx\GraphicsCxxTests.dir\Debug\BuildLog.htm" 6>GraphicsCxxTests - 1 error(s), 0 warning(s) 8>------ Build started: Project: WidgetsCxxTests, Configuration: Debug Win32 ------ 8>Linking... 8>LINK : fatal error LNK1104: cannot open file 'vtkWidgets.lib' 8>Build log was saved at "file://c:\VTK_BINARY_DIR\Widgets\Testing\Cxx\WidgetsCxxTests.dir\Debug\BuildLog.htm" 8>WidgetsCxxTests - 1 error(s), 0 warning(s) 9>------ Build started: Project: VTKBenchMark, Configuration: Debug Win32 ------ 9>Linking... 9>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 9>Build log was saved at "file://c:\VTK_BINARY_DIR\Rendering\Testing\Cxx\VTKBenchMark.dir\Debug\BuildLog.htm" 9>VTKBenchMark - 1 error(s), 0 warning(s) 10>------ Build started: Project: VolumeRenderingCxxTests, Configuration: Debug Win32 ------ 10>Linking... 10>LINK : fatal error LNK1104: cannot open file 'vtkVolumeRendering.lib' 10>Build log was saved at "file://c:\VTK_BINARY_DIR\VolumeRendering\Testing\Cxx\VolumeRenderingCxxTests.dir\Debug\BuildLog.htm" 10>VolumeRenderingCxxTests - 1 error(s), 0 warning(s) 11>------ Build started: Project: ImagingCxxTests, Configuration: Debug Win32 ------ 11>Linking... 11>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 11>Build log was saved at "file://c:\VTK_BINARY_DIR\Imaging\Testing\Cxx\ImagingCxxTests.dir\Debug\BuildLog.htm" 11>ImagingCxxTests - 1 error(s), 0 warning(s) 12>------ Build started: Project: RenderingCxxTests, Configuration: Debug Win32 ------ 12>Linking... 12>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 12>Build log was saved at "file://c:\VTK_BINARY_DIR\Rendering\Testing\Cxx\RenderingCxxTests.dir\Debug\BuildLog.htm" 12>RenderingCxxTests - 1 error(s), 0 warning(s) 7>Internal cmake changing into directory: C:/VTK_BINARY_DIR/Examples/All 7>======== CMake output ====== 7>Warning: CMake is forcing CMAKE_BUILD_TYPE to "" to match that imported from VTK. This is required because projects must use the same compiler settings. If this message appears for more than one imported project, you have conflicting compiler settings and will have to re-build one of those projects. 7>Warning: CMake is forcing CMAKE_BUILD_TYPE to "" to match that imported from VTK. This is required because projects must use the same compiler settings. If this message appears for more than one imported project, you have conflicting compiler settings and will have to re-build one of those projects. 7>======== End CMake output ====== 7>Microsoft (R) Visual C++ Express Edition Version 8.0.50727.867. 7>Copyright (C) Microsoft Corp 1984-2005. All rights reserved. 7>1>------ Build started: Project: Cone5, Configuration: Debug Win32 ------ 7>2>------ Build started: Project: Cone4, Configuration: Debug Win32 ------ 7>2>Linking... 7>1>Linking... 7>2>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>2>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Tutorial\Step4\Cxx\Cone4.dir\Debug\BuildLog.htm" 7>2>Cone4 - 1 error(s), 0 warning(s) 7>1>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>1>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Tutorial\Step5\Cxx\Cone5.dir\Debug\BuildLog.htm" 7>1>Cone5 - 1 error(s), 0 warning(s) 7>3>------ Build started: Project: Cone3, Configuration: Debug Win32 ------ 7>3>Linking... 7>3>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>3>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Tutorial\Step3\Cxx\Cone3.dir\Debug\BuildLog.htm" 7>3>Cone3 - 1 error(s), 0 warning(s) 7>4>------ Build started: Project: Cone2, Configuration: Debug Win32 ------ 7>4>Linking... 7>4>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>4>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Tutorial\Step2\Cxx\Cone2.dir\Debug\BuildLog.htm" 7>4>Cone2 - 1 error(s), 0 warning(s) 7>5>------ Build started: Project: Cone, Configuration: Debug Win32 ------ 7>5>Linking... 7>5>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>5>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Tutorial\Step1\Cxx\Cone.dir\Debug\BuildLog.htm" 7>5>Cone - 1 error(s), 0 warning(s) 7>6>------ Build started: Project: SpecularSpheres, Configuration: Debug Win32 ------ 7>6>Linking... 7>6>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>6>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Rendering\Cxx\SpecularSpheres.dir\Debug\BuildLog.htm" 7>6>SpecularSpheres - 1 error(s), 0 warning(s) 7>7>------ Build started: Project: DiffuseSpheres, Configuration: Debug Win32 ------ 7>7>Linking... 7>7>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>7>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Rendering\Cxx\DiffuseSpheres.dir\Debug\BuildLog.htm" 7>7>DiffuseSpheres - 1 error(s), 0 warning(s) 7>8>------ Build started: Project: Cylinder, Configuration: Debug Win32 ------ 7>8>Linking... 7>8>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>8>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Rendering\Cxx\Cylinder.dir\Debug\BuildLog.htm" 7>8>Cylinder - 1 error(s), 0 warning(s) 7>9>------ Build started: Project: AmbientSpheres, Configuration: Debug Win32 ------ 7>9>Linking... 7>10>------ Build started: Project: finance, Configuration: Debug Win32 ------ 7>9>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>9>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Rendering\Cxx\AmbientSpheres.dir\Debug\BuildLog.htm" 7>9>AmbientSpheres - 1 error(s), 0 warning(s) 7>10>Linking... 7>10>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>10>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Modelling\Cxx\finance.dir\Debug\BuildLog.htm" 7>10>finance - 1 error(s), 0 warning(s) 7>11>------ Build started: Project: Medical3, Configuration: Debug Win32 ------ 7>11>Linking... 7>11>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>11>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Medical\Cxx\Medical3.dir\Debug\BuildLog.htm" 7>11>Medical3 - 1 error(s), 0 warning(s) 7>12>------ Build started: Project: Medical2, Configuration: Debug Win32 ------ 7>12>Linking... 7>12>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>12>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Medical\Cxx\Medical2.dir\Debug\BuildLog.htm" 7>12>Medical2 - 1 error(s), 0 warning(s) 7>13>------ Build started: Project: Medical1, Configuration: Debug Win32 ------ 7>13>Linking... 7>13>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>13>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Medical\Cxx\Medical1.dir\Debug\BuildLog.htm" 7>13>Medical1 - 1 error(s), 0 warning(s) 7>14>------ Build started: Project: SGrid, Configuration: Debug Win32 ------ 7>14>Linking... 7>15>------ Build started: Project: RGrid, Configuration: Debug Win32 ------ 7>14>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>14>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\DataManipulation\Cxx\SGrid.dir\Debug\BuildLog.htm" 7>14>SGrid - 1 error(s), 0 warning(s) 7>15>Linking... 7>15>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>15>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\DataManipulation\Cxx\RGrid.dir\Debug\BuildLog.htm" 7>15>RGrid - 1 error(s), 0 warning(s) 7>16>------ Build started: Project: Cube, Configuration: Debug Win32 ------ 7>16>Linking... 7>16>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>16>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\DataManipulation\Cxx\Cube.dir\Debug\BuildLog.htm" 7>16>Cube - 1 error(s), 0 warning(s) 7>17>------ Build started: Project: Arrays, Configuration: Debug Win32 ------ 7>17>Linking... 7>17>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>17>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\DataManipulation\Cxx\Arrays.dir\Debug\BuildLog.htm" 7>17>Arrays - 1 error(s), 0 warning(s) 7>18>------ Build started: Project: MultiBlock, Configuration: Debug Win32 ------ 7>18>Linking... 7>18>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>18>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\MultiBlock\Cxx\MultiBlock.dir\Debug\BuildLog.htm" 7>18>MultiBlock - 1 error(s), 0 warning(s) 7>19>------ Build started: Project: HierarchicalBoxPipeline, Configuration: Debug Win32 ------ 7>19>Linking... 7>19>LINK : fatal error LNK1104: cannot open file 'vtkRendering.lib' 7>19>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\AMR\Cxx\HierarchicalBoxPipeline.dir\Debug\BuildLog.htm" 7>19>HierarchicalBoxPipeline - 1 error(s), 0 warning(s) 7>20>------ Build started: Project: Cone6, Configuration: Debug Win32 ------ 7>20>Linking... 7>20>LINK : fatal error LNK1104: cannot open file 'vtkWidgets.lib' 7>20>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\Tutorial\Step6\Cxx\Cone6.dir\Debug\BuildLog.htm" 7>20>Cone6 - 1 error(s), 0 warning(s) 7>21>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------ 7>21>"Build all projects" 7>21>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\All\ALL_BUILD.dir\Debug\BuildLog.htm" 7>21>ALL_BUILD - 0 error(s), 0 warning(s) 7>========== Build: 1 succeeded, 20 failed, 1 up-to-date, 0 skipped ========== 7>Project : error PRJ0019: A tool returned an error code from "Generating ../VTKExamples" 7>Build log was saved at "file://c:\VTK_BINARY_DIR\Examples\VTKExamplesTarget.dir\Debug\BuildLog.htm" 7>VTKExamplesTarget - 21 error(s), 0 warning(s) 13>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------ 13>"Build all projects" 13>Build log was saved at "file://c:\VTK_BINARY_DIR\ALL_BUILD.dir\Debug\BuildLog.htm" 13>ALL_BUILD - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 12 failed, 27 up-to-date, 0 skipped ==========

On CMake I set:

BUILD_EXAMPLES: "ON" BUILD_SHARED_LIBS: "ON" VTK_USE_RENDERING: "ON"

My system is:

Microsoft Windows Vista Home Premium (32-bit) Visual C++ 2005 SDK update for Windows Vista CMake 2.4 VTK 5.0.3

Assignee
Assign to
Time tracking