[openrtm-commit:00689] [build error] OpenRTM-aist (C++)

builder openrtm @ openrtm.org
2012年 2月 9日 (木) 14:10:29 JST


New revision detected: revision 60
Local revision       : revision 0

Path: opencv
URL: http://www.openrtm.org/svnroot/ImageProcessing/trunk/ImageProcessing/opencv
Repository Root: http://www.openrtm.org/svnroot/ImageProcessing
Repository UUID: 71d6d17e-f831-4cb6-a2e6-a089888e0ea0
Revision: 60
Node Kind: directory
Last Changed Author: kurihara
Last Changed Rev: 60
Last Changed Date: 2011-10-27 23:42:50 +0900 (Thu, 27 Oct 2011)


Build error: 

make  all-recursive
make[1]: Entering directory `/usr/users/builder/OpenCVRTCBuild/opencv'
Making all in components
make[2]: Entering directory `/usr/users/builder/OpenCVRTCBuild/opencv/components'
Making all in Affine
make[3]: Entering directory `/usr/users/builder/OpenCVRTCBuild/opencv/components/Affine'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  `rtm-config --cflags` `pkg-config --cflags opencv` -I/usr/include -Wall -fPIC -O2 -I/usr/include -I/usr/include/rtm/idl   -I/usr/include -Wall -fPIC  -I/usr/include -I/usr/include/rtm/idl -O2 -MT Affine.lo -MD -MP -MF .deps/Affine.Tpo -c -o Affine.lo Affine.cpp
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -fPIC -O2 -I/usr/include -I/usr/include/rtm/idl -I/usr/include -Wall -fPIC -O2 -I/usr/include -I/usr/include/rtm/idl -I/usr/include -Wall -fPIC -I/usr/include -I/usr/include/rtm/idl -O2 -MT Affine.lo -MD -MP -MF .deps/Affine.Tpo -c Affine.cpp  -fPIC -DPIC -o .libs/Affine.o
In file included from Affine.cpp:10:
Affine.h:21:44: error: rtm/idl/InterfaceDataTypesSkel.h: No such file or directory
Affine.h:24:15: error: cv.h: No such file or directory
Affine.h:25:19: error: cxcore.h: No such file or directory
Affine.h:26:20: error: highgui.h: No such file or directory
In file included from Affine.cpp:10:
Affine.h:239: error: 'CameraImage' does not name a type
Affine.h:242: error: 'CameraImage' was not declared in this scope
Affine.h:242: error: template argument 1 is invalid
Affine.h:249: error: 'CameraImage' does not name a type
Affine.h:252: error: 'CameraImage' was not declared in this scope
Affine.h:252: error: template argument 1 is invalid
Affine.h:280: error: ISO C++ forbids declaration of 'CvMat' with no type
Affine.h:280: error: expected ';' before '*' token
Affine.h:282: error: ISO C++ forbids declaration of 'IplImage' with no type
Affine.h:282: error: expected ';' before '*' token
Affine.h:283: error: ISO C++ forbids declaration of 'IplImage' with no type
Affine.h:283: error: expected ';' before '*' token
Affine.cpp: In constructor 'Affine::Affine(RTC::Manager*)':
Affine.cpp:80: error: 'm_image_orig' was not declared in this scope
Affine.cpp:81: error: 'm_image_affine' was not declared in this scope
Affine.cpp:83: error: member initializer expression list treated as compound expression
Affine.cpp:83: error: member initializer expression list treated as compound expression
Affine.cpp:90: error: no matching function for call to 'Affine::registerInPort(const char [15], int&)'
/usr/include/rtm/RTObject.h:2335: note: candidates are: void RTC::RTObject_impl::registerInPort(const char*, RTC::InPortBase&)
Affine.cpp:93: error: no matching function for call to 'Affine::registerOutPort(const char [14], int&)'
/usr/include/rtm/RTObject.h:2363: note: candidates are: void RTC::RTObject_impl::registerOutPort(const char*, RTC::OutPortBase&)
Affine.cpp: In member function 'virtual RTC::ReturnCode_t Affine::onActivated(RTC::UniqueId)':
Affine.cpp:148: error: 'm_affineMatrix' was not declared in this scope
Affine.cpp:148: error: 'CV_32FC1' was not declared in this scope
Affine.cpp:148: error: 'cvCreateMat' was not declared in this scope
Affine.cpp:153: error: 'm_image_buff' was not declared in this scope
Affine.cpp:154: error: 'm_image_dest' was not declared in this scope
Affine.cpp: In member function 'virtual RTC::ReturnCode_t Affine::onDeactivated(RTC::UniqueId)':
Affine.cpp:162: error: 'm_image_buff' was not declared in this scope
Affine.cpp:163: error: 'cvReleaseImage' was not declared in this scope
Affine.cpp:164: error: 'm_image_dest' was not declared in this scope
Affine.cpp:165: error: 'cvReleaseImage' was not declared in this scope
Affine.cpp:167: error: 'm_affineMatrix' was not declared in this scope
Affine.cpp:167: error: 'cvReleaseMat' was not declared in this scope
Affine.cpp: In member function 'virtual RTC::ReturnCode_t Affine::onExecute(RTC::UniqueId)':
Affine.cpp:176: error: request for member 'isNew' in '((Affine*)this)->Affine::m_image_origIn', which is of non-class type 'int'
Affine.cpp:179: error: request for member 'read' in '((Affine*)this)->Affine::m_image_origIn', which is of non-class type 'int'
Affine.cpp:182: error: 'm_image_orig' was not declared in this scope
Affine.cpp:189: error: 'm_image_buff' was not declared in this scope
Affine.cpp:190: error: 'cvReleaseImage' was not declared in this scope
Affine.cpp:191: error: 'm_image_dest' was not declared in this scope
Affine.cpp:192: error: 'cvReleaseImage' was not declared in this scope
Affine.cpp:196: error: 'm_image_buff' was not declared in this scope
Affine.cpp:196: error: 'cvSize' was not declared in this scope
Affine.cpp:196: error: 'IPL_DEPTH_8U' was not declared in this scope
Affine.cpp:196: error: 'cvCreateImage' was not declared in this scope
Affine.cpp:197: error: 'm_image_dest' was not declared in this scope
Affine.cpp:201: error: 'm_image_buff' was not declared in this scope
Affine.cpp:201: error: 'm_image_orig' was not declared in this scope
Affine.cpp:209: error: 'm_affineMatrix' was not declared in this scope
Affine.cpp:209: error: 'cvmSet' was not declared in this scope
Affine.cpp:223: error: 'm_image_dest' was not declared in this scope
Affine.cpp:223: error: 'm_affineMatrix' was not declared in this scope
Affine.cpp:223: error: 'CV_INTER_LINEAR' was not declared in this scope
Affine.cpp:223: error: 'CV_WARP_FILL_OUTLIERS' was not declared in this scope
Affine.cpp:223: error: 'cvScalarAll' was not declared in this scope
Affine.cpp:223: error: 'cvWarpAffine' was not declared in this scope
Affine.cpp:229: error: 'm_image_affine' was not declared in this scope
Affine.cpp:237: error: request for member 'write' in '((Affine*)this)->Affine::m_image_affineOut', which is of non-class type 'int'
make[3]: *** [Affine.lo] Error 1
make[3]: Leaving directory `/usr/users/builder/OpenCVRTCBuild/opencv/components/Affine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/users/builder/OpenCVRTCBuild/opencv/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/users/builder/OpenCVRTCBuild/opencv'
make: *** [all] Error 2


openrtm-commit メーリングリストの案内