Hi,

I tried to include an OpenCV header file in the ***Types.hpp file of an orogen component package. This results in the following error:

2015-01-29 13:54:36 +0100: running
/usr/bin/ruby1.9.1 /home/julian/_University/RockFramework/tools/orogen/bin/orogen --corba --import=std --no-rtt-scripting --parallel-build=15 --transports=corba,mqueue,typelib --type-export-policy=used opencv_test.orogen
in directory /home/julian/_University/RockFramework/test/orogen/opencv_test
In file included from /usr/share/gccxml-0.9/GCC/4.8/emmintrin.h:36,
                 from /usr/include/opencv2/core/types_c.h:88,
                 from /usr/include/opencv2/core/core.hpp:50,
from /home/julian/_University/RockFramework/test/orogen/opencv_test/.orogen/typekit/types/opencv_test/opencv_testTypes.hpp:12,
                 from /tmp/orogen_gccxml_input20150129-4167-wqn0v3:2:
/usr/share/gccxml-0.9/GCC/4.8/xmmintrin.h: In function 'void _mm_pause()':
/usr/share/gccxml-0.9/GCC/4.8/xmmintrin.h:1215: error: '__builtin_ia32_pause' was not declared in this scope opencv_test.orogen:24: cannot load one of the header files /home/julian/_University/RockFramework/test/orogen/opencv_test/.orogen/typekit/types/opencv_test/opencv_testTypes.hpp: gccxml returned an error while parsing /tmp/orogen_pending_loads20150129-4167-17x4o1f (Orocos::Generation::ConfigError)

Steps to reproduce:

1. Create a test orogen package, let's call it "test/orogen/opencv_test".
2. Add the include "#include <opencv2/core/core.hpp>" to the orogen type definitions file "opencv_testTypes.hpp"
3. Run autoproj build.

Julian
_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

Reply via email to