gz11 - Missing: ignition-rendering1 (Components: ogre)

Issue #38 new
Pei JIA
created an issue

1) I successfully installed Ogre2.x (NOT Ogre1.x) .

➜  pkgconfig ll ignition-rendering1*
-rw-r--r-- 1 root root 384 Jan 31 05:24 ignition-rendering1-ogre2.pc
-rw-r--r-- 1 root root 384 Jan 31 05:24 ignition-rendering1.pc
➜  pkgconfig pwd
/usr/local/lib/pkgconfig
➜  pkgconfig 

2) However, still failed to build ign-gui, with the following ERROR message:

-- BUILD ERRORS: These must be resolved before compiling.
 -- Missing: ignition-rendering1 (Components: ogre)
 -- END BUILD ERRORS

 CMake Error at /usr/local/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:66 (message):
   Errors encountered in build.  Please see BUILD ERRORS above.
 Call Stack (most recent call first):
   CMakeLists.txt:124 (ign_configure_build)

Did anybody meet the same issue? How to successfully build ign-gui (gz11) with Ogre2.x and without Ogre1.x ?

Comments (7)

  1. Louise Poubel

    Can you check where the library is installed, i.e.:

    $ find /usr/ -name libignition-rendering1.so
    /usr/lib/x86_64-linux-gnu/libignition-rendering1.so
    

    And check if the directory is in your LD_LIBRARY_PATH:

    $ env | grep LD_LI
    LD_LIBRARY_PATH=/usr/local/lib:/usr/lib/x86_64-linux-gnu:
    

    If it's not there, you'll need to set it. I always add this to my ~/.bashrc:

    export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}

  2. Pei JIA reporter

    Thank you for your response Louise... It's clearly there,

    ➜  ~ apt show ign-rendering
    Package: ign-rendering
    Version: 1.0.0-6
    Status: install ok installed
    Priority: extra
    Section: checkinstall
    Maintainer: root@jiapei-GT72-6QE
    Installed-Size: 4,588 kB
    Provides: build
    Download-Size: unknown
    APT-Manual-Installed: yes
    APT-Sources: /var/lib/dpkg/status
    Description: Package created with checkinstall 1.6.2
    ➜  ~ ll /usr/local/lib/libignition-rendering*
    lrwxrwxrwx 1 root root   33 Jan 31 05:27 /usr/local/lib/libignition-rendering1-ogre2.so -> libignition-rendering1-ogre2.so.1
    lrwxrwxrwx 1 root root   42 Jan 31 05:27 /usr/local/lib/libignition-rendering1-ogre2.so.1 -> libignition-rendering1-ogre2.so.1.0.0~pre6
    -rw-r--r-- 1 root root 1.7M Jan 31 05:26 /usr/local/lib/libignition-rendering1-ogre2.so.1.0.0~pre6
    lrwxrwxrwx 1 root root   27 Jan 31 05:27 /usr/local/lib/libignition-rendering1.so -> libignition-rendering1.so.1
    lrwxrwxrwx 1 root root   36 Jan 31 05:27 /usr/local/lib/libignition-rendering1.so.1 -> libignition-rendering1.so.1.0.0~pre6
    -rw-r--r-- 1 root root 359K Jan 31 05:25 /usr/local/lib/libignition-rendering1.so.1.0.0~pre6
    

    Thank you for your reply though.

    I believe it's NOT an environment setting issue, but a component activation issue. I mean: It seems to me some of the components are ALREADY activated in Ogre2.x (which is built with ign-rendering), but the others are NOT compatible with Ogre2.x but ONLY Ogre1.x yet (these other components seem to be required by ign-gui).

    Cheers

  3. Pei JIA reporter

    Wow... My great pleasure... Can't imagine a woman is doing robotics? Hmm... More familiar with github instead of bitbucket hg, how to do a pull request? And, how can I follow you like in github?

    Cheers

  4. Log in to comment