conda-forge / ogre-feedstock

A conda-smithy repository for ogre.
BSD 3-Clause "New" or "Revised" License
1 stars 7 forks source link

RenderSystem_GL.so is not being exported #15

Closed Tobias-Fischer closed 4 years ago

Tobias-Fischer commented 4 years ago

Issue: RenderSystem_GL.so is not being exported. See:

tobias@QUTLAB:~/anaconda3/envs/ros20200219/lib/OGRE$ ls -l
total 1628
drwxr-xr-x 2 tobias tobias   4096 Feb 20 15:01 cmake
lrwxrwxrwx 1 tobias tobias     20 Feb 20 15:01 Codec_STBI.so -> Codec_STBI.so.1.12.5
-rwxrwxr-x 2 tobias tobias 187136 Feb 17 23:07 Codec_STBI.so.1.12.5
lrwxrwxrwx 1 tobias tobias     32 Feb 20 15:01 Plugin_BSPSceneManager.so -> Plugin_BSPSceneManager.so.1.12.5
-rwxrwxr-x 2 tobias tobias 237512 Feb 17 23:07 Plugin_BSPSceneManager.so.1.12.5
lrwxrwxrwx 1 tobias tobias     25 Feb 20 15:01 Plugin_DotScene.so -> Plugin_DotScene.so.1.12.5
-rwxrwxr-x 2 tobias tobias 344896 Feb 17 23:07 Plugin_DotScene.so.1.12.5
lrwxrwxrwx 1 tobias tobias     35 Feb 20 15:01 Plugin_OctreeSceneManager.so -> Plugin_OctreeSceneManager.so.1.12.5
-rwxrwxr-x 2 tobias tobias 149248 Feb 17 23:07 Plugin_OctreeSceneManager.so.1.12.5
lrwxrwxrwx 1 tobias tobias     27 Feb 20 15:01 Plugin_OctreeZone.so -> Plugin_OctreeZone.so.1.12.5
-rwxrwxr-x 2 tobias tobias  77464 Feb 17 23:07 Plugin_OctreeZone.so.1.12.5
lrwxrwxrwx 1 tobias tobias     27 Feb 20 15:01 Plugin_ParticleFX.so -> Plugin_ParticleFX.so.1.12.5
-rwxrwxr-x 2 tobias tobias 328792 Feb 17 23:07 Plugin_ParticleFX.so.1.12.5
lrwxrwxrwx 1 tobias tobias     32 Feb 20 15:01 Plugin_PCZSceneManager.so -> Plugin_PCZSceneManager.so.1.12.5
-rwxrwxr-x 2 tobias tobias 324520 Feb 17 23:07 Plugin_PCZSceneManager.so.1.12.5

I can see that -DOGRE_BUILD_RENDERSYSTEM_GL=TRUE in https://github.com/conda-forge/ogre-feedstock/blob/master/recipe/build.sh so I am not sure why this happens.

Please let me know if you need any additional information.

Many thanks, Tobias


Environment (conda list):

``` $ conda list # packages in environment at /home/tobias/anaconda3/envs/ros20200219: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 0_gnu conda-forge apr 1.6.5 h516909a_1 conda-forge assimp 4.1.0 h56fc30b_0 conda-forge atk 2.32.0 haf93ef1_0 conda-forge backcall 0.1.0 py_0 conda-forge bcrypt 3.1.7 py36h516909a_0 conda-forge binutils_impl_linux-64 2.33.1 h53a641e_8 conda-forge binutils_linux-64 2.33.1 h9595d00_16 conda-forge boost 1.70.0 py36h9de70de_1 conda-forge boost-cpp 1.70.0 h8e57a91_2 conda-forge bzip2 1.0.8 h516909a_2 conda-forge ca-certificates 2019.11.28 hecc5488_0 conda-forge cairo 1.16.0 hfb77d84_1002 conda-forge catkin_pkg 0.4.16 py_0 conda-forge certifi 2019.11.28 py36_0 conda-forge cffi 1.13.2 py36h8022711_0 conda-forge chardet 3.0.4 py36_1003 conda-forge cmake 3.16.4 h28c56e5_0 conda-forge console_bridge 0.4.4 hc9558a2_0 conda-forge cryptography 2.8 py36h72c5cf5_1 conda-forge dbus 1.13.6 he372182_0 conda-forge decorator 4.4.1 py_0 conda-forge defusedxml 0.6.0 py_0 conda-forge distro 1.4.0 py_0 conda-forge docutils 0.16 py36_0 conda-forge empy 3.3.4 py_0 conda-forge expat 2.2.9 he1b5a44_2 conda-forge ffmpeg 4.1.3 h167e202_0 conda-forge fontconfig 2.13.1 h86ecdb6_1001 conda-forge freeglut 3.0.0 hf484d3e_1005 conda-forge freetype 2.10.0 he983fc9_1 conda-forge fribidi 1.0.5 h516909a_1002 conda-forge gcc_impl_linux-64 7.3.0 hd420e75_5 conda-forge gcc_linux-64 7.3.0 h553295d_16 conda-forge gdk-pixbuf 2.38.2 h3f25603_0 conda-forge gettext 0.19.8.1 hc5be6a0_1002 conda-forge giflib 5.2.1 h516909a_1 conda-forge glew 2.1.0 he1b5a44_0 conda-forge glib 2.58.3 py36h6f030ca_1002 conda-forge gmock 1.10.0 1 conda-forge gmp 6.2.0 he1b5a44_2 conda-forge gnutls 3.6.5 hd3a4fd2_1002 conda-forge gobject-introspection 1.58.2 py36h5503ade_1002 conda-forge gpgme 1.13.1 he1b5a44_1 conda-forge graphite2 1.3.13 hf484d3e_1000 conda-forge gst-plugins-base 1.14.5 h0935bb2_2 conda-forge gstreamer 1.14.5 h36ae1b5_2 conda-forge gtest 1.10.0 hc9558a2_1 conda-forge gtk2 2.24.32 h586f36d_1 conda-forge gxx_impl_linux-64 7.3.0 hdf63c60_5 conda-forge gxx_linux-64 7.3.0 h553295d_16 conda-forge harfbuzz 2.4.0 h9f30f68_3 conda-forge hdf5 1.10.5 nompi_h3c11f04_1104 conda-forge icu 64.2 he1b5a44_1 conda-forge idna 2.9 py_1 conda-forge ipython 7.12.0 py36h5ca1d4c_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jasper 1.900.1 h07fcdf6_1006 conda-forge jedi 0.16.0 py36_0 conda-forge jpeg 9c h14c3975_1001 conda-forge krb5 1.16.4 h2fd8d38_0 conda-forge lame 3.100 h14c3975_1001 conda-forge ld_impl_linux-64 2.33.1 h53a641e_8 conda-forge libapr 1.6.5 h516909a_1 conda-forge libapriconv 1.2.2 h516909a_1 conda-forge libaprutil 1.6.1 ha1d75be_1 conda-forge libassuan 2.5.3 hf484d3e_0 conda-forge libblas 3.8.0 14_openblas conda-forge libcblas 3.8.0 14_openblas conda-forge libclang 9.0.1 default_hde54327_0 conda-forge libcurl 7.68.0 hda55be3_0 conda-forge libdrm-cos6-x86_64 2.4.65 hd39d64f_0 libedit 3.1.20170329 hf8c457e_1001 conda-forge libffi 3.2.1 he1b5a44_1006 conda-forge libgcc-ng 9.2.0 h24d8f2e_2 conda-forge libgfortran-ng 7.3.0 hdf63c60_5 conda-forge libglu 9.0.0 hf484d3e_1000 conda-forge libgomp 9.2.0 h24d8f2e_2 conda-forge libgpg-error 1.36 he1b5a44_0 conda-forge libiconv 1.15 h516909a_1005 conda-forge liblapack 3.8.0 14_openblas conda-forge liblapacke 3.8.0 14_openblas conda-forge libllvm9 9.0.1 hc9558a2_0 conda-forge libopenblas 0.3.7 h5ec1e0e_6 conda-forge libopencv 3.4.9 py36_2 conda-forge libpng 1.6.37 hed695b0_0 conda-forge libselinux-cos6-x86_64 2.0.94 hc7b3062_0 libsepol-cos6-x86_64 2.0.41 h6e2433f_0 libssh2 1.8.2 h22169c7_2 conda-forge libstdcxx-ng 9.2.0 hdf63c60_2 conda-forge libtiff 4.1.0 hc3755c2_3 conda-forge libudev-cos6-x86_64 147 h1341992_0 conda-forge libusb 1.0.23 he1b5a44_0 conda-forge libuuid 2.32.1 h14c3975_1000 conda-forge libuv 1.34.0 h516909a_0 conda-forge libwebp 1.0.2 h56121f0_5 conda-forge libx11-common-cos6-x86_64 1.6.4 h023ea50_0 libx11-cos6-x86_64 1.6.4 h64a1553_0 libxcb 1.13 h14c3975_1002 conda-forge libxdamage-cos6-x86_64 1.1.3 h8e310ee_0 libxkbcommon 0.10.0 he1b5a44_0 conda-forge libxml2 2.9.10 hee79883_0 conda-forge libxxf86vm-cos6-x86_64 1.1.3 h3cd9653_0 log4cxx 0.10.0 h66fa5af_1 conda-forge lz4-c 1.8.3 he1b5a44_1001 conda-forge mesa-libgl-cos6-x86_64 11.0.7 h045e36e_0 mesa-libgl-devel-cos6-x86_64 11.0.7 h5a2c0ac_0 mesalib 18.3.1 h590aaf7_0 conda-forge ncurses 6.1 hf484d3e_1002 conda-forge netifaces 0.10.9 py36h516909a_1000 conda-forge nettle 3.4.1 h1bed415_1002 conda-forge nose 1.3.7 py36_1003 conda-forge nspr 4.25 he1b5a44_0 conda-forge nss 3.47 he751ad9_0 conda-forge numpy 1.18.1 py36h95a1406_0 conda-forge ogre 1.12.5 h6508522_0 conda-forge opencv 3.4.9 py36_2 conda-forge openh264 1.8.0 hdbcaa40_1000 conda-forge openssl 1.1.1d h516909a_0 conda-forge pango 1.42.4 ha030887_1 conda-forge paramiko 2.7.1 py36_0 conda-forge parso 0.6.1 py_0 conda-forge pathlib2 2.3.5 py36_0 conda-forge pcre 8.44 he1b5a44_0 conda-forge pexpect 4.8.0 py36_0 conda-forge pickleshare 0.7.5 py36_1000 conda-forge pip 20.0.2 py_2 conda-forge pixman 0.38.0 h516909a_1003 conda-forge pkg-config 0.29.2 h516909a_1006 conda-forge poco 1.9.0 hd2bbab6_2002 conda-forge prompt_toolkit 3.0.3 py_0 conda-forge pthread-stubs 0.4 h14c3975_1001 conda-forge ptyprocess 0.6.0 py_1001 conda-forge pugixml 1.10 he1b5a44_1 conda-forge py-opencv 3.4.9 py36h5ca1d4c_2 conda-forge pycparser 2.19 py_2 conda-forge pycrypto 2.6.1 py36h516909a_1003 conda-forge pygments 2.5.2 py_0 conda-forge pynacl 1.3.0 py36h516909a_1001 conda-forge pyopengl 3.1.5 py_0 conda-forge pyopenssl 19.1.0 py_1 conda-forge pyparsing 2.4.6 py_0 conda-forge pypubsub 4.0.3 py_0 conda-forge pyqt 5.12.3 py36hcca6a23_1 conda-forge pyqt5-sip 4.19.18 pypi_0 pypi pyqtwebengine 5.12.1 pypi_0 pypi pysocks 1.7.1 py36_0 conda-forge python 3.6.7 h357f687_1006 conda-forge python-dateutil 2.8.1 py_0 conda-forge python-gnupg 0.4.5 py_0 conda-forge pyyaml 5.3 py36h516909a_0 conda-forge qt 5.12.5 hd8c4c69_1 conda-forge readline 8.0 hf8c457e_0 conda-forge requests 2.23.0 py36_0 conda-forge rhash 1.3.6 h14c3975_1001 conda-forge ros-actionlib 1.11.15 py36h8b68381_0 conda-forge ros-actionlib-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-catkin 0.7.17 py36he1b5a44_3 conda-forge ros-class-loader 0.4.1 h8b68381_0 conda-forge ros-cmake-modules 0.4.2 he1b5a44_0 conda-forge ros-comm 1.14.3 he1b5a44_0 conda-forge ros-common-msgs 1.12.7 he1b5a44_0 conda-forge ros-conda-base 0.0.2 1 conda-forge ros-conda-mutex 1.0 melodic conda-forge ros-core 1.4.1 he1b5a44_0 conda-forge ros-cpp-common 0.6.12 py36he1b5a44_2 conda-forge ros-diagnostic-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-dynamic-reconfigure 1.6.0 py36h8b68381_0 conda-forge ros-environment 1.2.1 py36he1b5a44_1 conda-forge ros-gencpp 0.6.2 py36he1b5a44_0 conda-forge ros-geneus 2.2.6 py36he1b5a44_0 conda-forge ros-genlisp 0.4.16 py36he1b5a44_0 conda-forge ros-genmsg 0.5.12 py36he1b5a44_0 conda-forge ros-gennodejs 2.0.1 py36he1b5a44_0 conda-forge ros-genpy 0.6.8 py36he1b5a44_0 conda-forge ros-geometry-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-message-filters 1.14.3 py36h8b68381_0 conda-forge ros-message-generation 0.4.0 he1b5a44_0 conda-forge ros-message-runtime 0.4.12 he1b5a44_0 conda-forge ros-mk 1.14.6 he1b5a44_0 conda-forge ros-nav-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-pluginlib 1.12.1 h8b68381_0 conda-forge ros-ros 1.14.6 he1b5a44_0 conda-forge ros-rosbag 1.14.3 py36h8b68381_0 conda-forge ros-rosbag-migration-rule 1.0.0 he1b5a44_0 conda-forge ros-rosbag-storage 1.14.3 hbe7f094_0 conda-forge ros-rosbash 1.14.6 he1b5a44_0 conda-forge ros-rosboost-cfg 1.14.6 py36he1b5a44_0 conda-forge ros-rosbuild 1.14.6 he1b5a44_0 conda-forge ros-rosclean 1.14.6 py36he1b5a44_0 conda-forge ros-rosconsole 1.13.10 h8b68381_0 conda-forge ros-rosconsole-bridge 0.5.3 he1b5a44_0 conda-forge ros-roscpp 1.14.3 py36h8b68381_1 conda-forge ros-roscpp-core 0.6.12 he1b5a44_0 conda-forge ros-roscpp-serialization 0.6.12 he1b5a44_0 conda-forge ros-roscpp-traits 0.6.12 he1b5a44_0 conda-forge ros-roscreate 1.14.6 py36he1b5a44_0 conda-forge ros-rosgraph 1.14.3 py36he1b5a44_0 conda-forge ros-rosgraph-msgs 1.11.2 py36he1b5a44_0 conda-forge ros-roslang 1.14.6 he1b5a44_0 conda-forge ros-roslaunch 1.14.3 py36he1b5a44_0 conda-forge ros-roslib 1.14.6 py36h8b68381_1 conda-forge ros-roslisp 1.9.22 he1b5a44_1 conda-forge ros-roslz4 1.14.3 py36h6ba9d1c_0 conda-forge ros-rosmake 1.14.6 py36he1b5a44_0 conda-forge ros-rosmaster 1.14.3 py36he1b5a44_0 conda-forge ros-rosmsg 1.14.3 py36he1b5a44_0 conda-forge ros-rosnode 1.14.3 py36he1b5a44_0 conda-forge ros-rosout 1.14.3 he1b5a44_0 conda-forge ros-rospack 2.5.3 py36h8b68381_0 conda-forge ros-rosparam 1.14.3 py36he1b5a44_0 conda-forge ros-rospy 1.14.3 py36he1b5a44_0 conda-forge ros-rosservice 1.14.3 py36he1b5a44_0 conda-forge ros-rostest 1.14.3 py36h8b68381_0 conda-forge ros-rostime 0.6.12 h8b68381_0 conda-forge ros-rostopic 1.14.3 py36he1b5a44_0 conda-forge ros-rosunit 1.14.6 py36he1b5a44_0 conda-forge ros-roswtf 1.14.3 py36he1b5a44_0 conda-forge ros-sensor-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-shape-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-std-msgs 0.5.12 py36he1b5a44_0 conda-forge ros-std-srvs 1.11.2 py36he1b5a44_0 conda-forge ros-stereo-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-topic-tools 1.14.3 py36he1b5a44_0 conda-forge ros-trajectory-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-visualization-msgs 1.12.7 py36he1b5a44_0 conda-forge ros-xmlrpcpp 1.14.3 he1b5a44_0 conda-forge rosdep 0.18.0 py36_0 conda-forge rosdistro 0.8.0 py36_0 conda-forge rospkg 1.2.3 py_1 conda-forge sbcl 1.5.4 0 conda-forge setuptools 45.2.0 py36_0 conda-forge sip 4.19.20 py36he1b5a44_0 conda-forge six 1.14.0 py36_0 conda-forge sqlite 3.30.1 hcee41ef_0 conda-forge sysroot_linux-64 2.12 0 conda-forge tinyxml 2.6.2 hc9558a2_1 conda-forge tinyxml2 7.1.0 he1b5a44_1 conda-forge tk 8.6.10 hed695b0_0 conda-forge traitlets 4.3.3 py36_0 conda-forge unixodbc 2.3.7 h227dcee_1000 conda-forge urdfdom 1.0.4 hc9558a2_0 conda-forge urdfdom_headers 1.0.4 hc9558a2_2 conda-forge urllib3 1.25.7 py36_0 conda-forge wcwidth 0.1.8 py_0 conda-forge wheel 0.34.2 py_1 conda-forge wxpython 4.0.7.post2 py36h10a64c0_0 conda-forge x264 1!152.20180806 h14c3975_0 conda-forge xorg-fixesproto 5.0 h14c3975_1002 conda-forge xorg-inputproto 2.3.2 h14c3975_1002 conda-forge xorg-kbproto 1.0.7 h14c3975_1002 conda-forge xorg-libice 1.0.10 h516909a_0 conda-forge xorg-libsm 1.2.3 h84519dc_1000 conda-forge xorg-libx11 1.6.9 h516909a_0 conda-forge xorg-libxau 1.0.9 h14c3975_0 conda-forge xorg-libxaw 1.0.13 h14c3975_1002 conda-forge xorg-libxdmcp 1.1.3 h516909a_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxfixes 5.0.3 h516909a_1004 conda-forge xorg-libxi 1.7.10 h516909a_0 conda-forge xorg-libxmu 1.1.3 h516909a_0 conda-forge xorg-libxpm 3.5.13 h516909a_0 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-libxt 1.1.5 h516909a_1003 conda-forge xorg-renderproto 0.11.1 h14c3975_1002 conda-forge xorg-xextproto 7.3.0 h14c3975_1002 conda-forge xorg-xproto 7.0.31 h14c3975_1007 conda-forge xz 5.2.4 h14c3975_1001 conda-forge yaml 0.2.2 h516909a_1 conda-forge yaml-cpp 0.6.3 he1b5a44_1 conda-forge zlib 1.2.11 h516909a_1006 conda-forge zstd 1.4.4 h3b9ef0a_1 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : ros20200219 active env location : /home/tobias/anaconda3/envs/ros20200219 shell level : 1 user config file : /home/tobias/.condarc populated config files : /home/tobias/.condarc conda version : 4.8.2 conda-build version : 3.18.9 python version : 3.7.4.final.0 virtual packages : __cuda=10.2 __glibc=2.27 base environment : /home/tobias/anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /home/tobias/anaconda3/pkgs /home/tobias/.conda/pkgs envs directories : /home/tobias/anaconda3/envs /home/tobias/.conda/envs platform : linux-64 user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.4 Linux/5.3.0-28-generic ubuntu/18.04.4 glibc/2.27 UID:GID : 1001:1001 netrc file : None offline mode : False ```
Tobias-Fischer commented 4 years ago

It would also be great if Codec_FreeImage could be included

Tobias-Fischer commented 4 years ago

Note that this is needed for rviz compilation :)

wolfv commented 4 years ago

do you want to try your hand at a PR?

wolfv commented 4 years ago

btw for RViz there is one additional challenge / trick that we need to do:

https://github.com/ros-visualization/rviz/blob/6bf59755eb213afa575e219feb152c0efd8b3209/src/rviz/env_config.cpp.in#L48-L53

In these lines above, at configuration time the path is hard-coded into the binary. conda does some magic to find these hard coded values and change them (because conda binaries are relocatable and you can install them into any "prefix"). but this doesn't work and has ugly side effects with std::strings (as they have a small buffer optimization)...

my fix was to remove these lines and insert a "getenv("CONDA_PREFIX");" there (or something similar). Just wanted to point this out in case you're hitting that issue.

Tobias-Fischer commented 4 years ago

I'll play around a little with it as time permits.

So far, a local build leads to:

-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ zziplib: Extract data from zip archives <http://zziplib.sourceforge.net>
+ freeimage: Support for commonly used graphics image formats <http://freeimage.sourceforge.net>
+ OpenGL: Support for the OpenGL and OpenGL 3+ render systems <http://www.opengl.org/>
+ OpenGL ES 2.x: Support for the OpenGL ES 2.x render system <http://www.khronos.org/opengles/>
+ cg: C for graphics shader language <http://developer.nvidia.com/object/cg_toolkit.html>
+ OpenEXR: Load High dynamic range images <http://www.openexr.com/>
+ SDL2: Simple DirectMedia Library needed for input handling in samples <https://www.libsdl.org/>
+ Doxygen: Tool for building API documentation <http://doxygen.org>
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>

which explains why RenderSystem_GL is not being built.

Tobias-Fischer commented 4 years ago

Hi @wolfv - I just created a PR. As I am not sure how to test the new package locally in my conda environment, I have not yet encountered the rviz issue you mentioned.

Tobias-Fischer commented 4 years ago

rviz seems to run fine for me after the merge of #16. Quite a pain as it has a lot of dependencies in the catkin_ws, but it works. I guess the aim is that there will be more feedstocks for these packages in the future?

Fixes required to get rviz running are merging of https://github.com/ros-visualization/rviz/pull/1434 into melodic-devel and some smaller fixes:

diff --git a/ogre_media/fonts/liberation_sans.fontdef b/ogre_media/fonts/liberation_sans.fontdef
index e714db0f..311a7ac5 100644
--- a/ogre_media/fonts/liberation_sans.fontdef
+++ b/ogre_media/fonts/liberation_sans.fontdef
@@ -1,12 +1,12 @@
-Liberation Sans
-{
-  type truetype
-  source liberation-sans/LiberationSans-Regular.ttf
-  size 18
-  resolution 96
-}
+// Liberation Sans
+// {
+//   type truetype
+//   source liberation-sans/LiberationSans-Regular.ttf
+//   size 18
+//   resolution 96
+// }

-# Ogre >= 1.10 has changed the format
+// Ogre >= 1.10 has changed the format
 font "Liberation Sans"
 {
   type truetype
diff --git a/src/python_bindings/sip/CMakeLists.txt b/src/python_bindings/sip/CMakeLists.txt
index 4efebe63..4df7bba5 100644
--- a/src/python_bindings/sip/CMakeLists.txt
+++ b/src/python_bindings/sip/CMakeLists.txt
@@ -45,7 +45,7 @@ include(${python_qt_binding_EXTRAS_DIR}/sip_helper.cmake)
 # set(rviz_sip_INCLUDE_DIRS ${rviz_INCLUDE_DIRS} "${PROJECT_SOURCE_DIR}/src" ${catkin_INCLUDE_DIRS} ${EXPORT_HEADER_DIR})
 set(rviz_sip_INCLUDE_DIRS
   "${PROJECT_SOURCE_DIR}/src"
-  $<TARGET_PROPERTY:rviz,EXPORT_HEADER_DIR>
+  ${EXPORT_HEADER_DIR}
   ${OGRE_OV_INCLUDE_DIRS}
   ${catkin_INCLUDE_DIRS}
 )