← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1556680] Re: Wrong library path in CMake file for 64bit system

 

** Also affects: oce (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1556680

Title:
  Wrong library path in CMake file for 64bit system

Status in oce package in Ubuntu:
  Fix Released
Status in oce source package in Xenial:
  New
Status in oce package in Debian:
  New

Bug description:
  System: Xenial (16.04)
  Package: liboce-visualization-dev (0.17.1-1)

  liboce-visualization-dev provides CMake files, to be able to CMake-
  build an application using OCE.

  The /usr/lib/x86_64-linux-gnu/oce-0.16/OCE04_VisualizationTargets-
  relwithdebinfo.cmake file contains this section :

  # Import target "TKService" for configuration "RelWithDebInfo"
  set_property(TARGET TKService APPEND PROPERTY IMPORTED_CONFIGURATIONS RELWITHDEBINFO)
  set_target_properties(TKService PROPERTIES
    IMPORTED_LINK_INTERFACE_LIBRARIES_RELWITHDEBINFO "TKMath;TKernel;TKBRep;TKShHealing;TKGeomBase;TKGeomAlgo;TKG2d;TKG3d;TKTopAlgo;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so;/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libfreetype.so;/usr/lib/libfreeimage.so"
    IMPORTED_LOCATION_RELWITHDEBINFO "${_IMPORT_PREFIX}/lib/x86_64-linux-gnu/libTKService.so.10.0.0"
    IMPORTED_SONAME_RELWITHDEBINFO "libTKService.so.10"
    )

  The "freeimage" library path is wrong on 64bit, according to "dpkg -L libfreeimage-dev" :
  /usr/lib/x86_64-linux-gnu/libfreeimage.so
  not
  /usr/lib/libfreeimage.so as written in liboce-visualization-dev's CMake file.

  This bug prevents from building correctly applications that depends on
  liboce-visualization-dev using CMake.

  Tested: Fixing this path fixes build.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oce/+bug/1556680/+subscriptions