Skip to content
GitLab
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 833
    • Issues 833
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 237
    • Merge requests 237
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #16803
Closed
Open
Issue created Jul 30, 2016 by Kitware Robot@kwrobotOwner

PROJ.4: system library not detected at default location

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


System libary PROJ.4 isn't detected at the usual FHS locations.

When VTK_USE_SYSTEM_LIBRARIES is enabled CMake by default fails with

[...] -- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.6") CMake Error at CMake/vtkModuleMacros.cmake:864 (message): VTK_USE_SYSTEM_LIBPROJ4 is ON but LIBPROJ4 is not found! Call Stack (most recent call first): ThirdParty/libproj4/CMakeLists.txt:1 (vtk_module_third_party)

-- Configuring incomplete, errors occurred! besides headers and shared libraries of PROJ.4 are at the usual paths. Both shared libraries and headers of various other dependencies like GDAL, GL2PS or netCDF-C++ legacy are detected at the very same paths. Also, when LIBPROJ4_INCLUDE_DIR and LIBPROJ4_LIBRARIES are set to suitable paths compiling against system PROJ.4 works flawlessly.

Seen compiling recent VTK master commits like 981a1e12 on Arch Linux, Debian stretch (testing) and Fedora 24. Some related discussion took place on vtk-developers, see http://public.kitware.com/pipermail/vtk-developers/2016-July/034005.html.

Assignee
Assign to
Time tracking