jacklicn / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

build error #406

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://libjingle.googlecode.com/svn/trunk/ libjingle
2. svn checkout http://webrtc.googlecode.com/svn/trunk/ webrtc
3. write my cmake
4. build libjingle and webrtc

What is the expected output? What do you see instead?

[ 83%] Building CXX object 
CMakeFiles/jingle_media.dir/libjingle/talk/media/devices/devicemanager.cc.o
/home/evgeny/repository/libjingle-cmake/libjingle/talk/media/devices/devicemanag
er.cc: In member function ‘virtual cricket::VideoCapturer* 
cricket::DeviceManager::CreateVideoCapturer(const cricket::Device&) const’:
/home/evgeny/repository/libjingle-cmake/libjingle/talk/media/devices/devicemanag
er.cc:180:39: error: cannot allocate an object of abstract type 
‘cricket::WebRtcVideoCapturer’
In file included from 
/home/evgeny/repository/libjingle-cmake/libjingle/talk/media/devices/devicemanag
er.cc:43:0:
/home/evgeny/repository/libjingle-cmake/libjingle/talk/media/webrtc/webrtcvideoc
apturer.h:57:7: note:   because the following virtual functions are pure within 
‘cricket::WebRtcVideoCapturer’:
In file included from 
/home/evgeny/repository/libjingle-cmake/webrtc/webrtc/modules/video_capture/main
/interface/video_capture.h:15:0,
                 from /home/evgeny/repository/libjingle-cmake/libjingle/talk/media/webrtc/webrtcvideocapturer.h:37,
                 from /home/evgeny/repository/libjingle-cmake/libjingle/talk/media/devices/devicemanager.cc:43:
/home/evgeny/repository/libjingle-cmake/webrtc/webrtc/modules/video_capture/main
/interface/video_capture_defines.h:135:18: note:        virtual void 
webrtc::VideoCaptureDataCallback::OnIncomingCapturedFrame(WebRtc_Word32, 
webrtc::I420VideoFrame&, webrtc::VideoCodecType)
/home/evgeny/repository/libjingle-cmake/webrtc/webrtc/modules/video_capture/main
/interface/video_capture_defines.h:138:18: note:        virtual void 
webrtc::VideoCaptureDataCallback::OnIncomingCapturedEncodedFrame(WebRtc_Word32, 
webrtc::VideoFrame&, webrtc::VideoCodecType)
make[2]: *** 
[CMakeFiles/jingle_media.dir/libjingle/talk/media/devices/devicemanager.cc.o] 
Ошибка 1
make[1]: *** [CMakeFiles/jingle_media.dir/all] Ошибка 2
make: *** [all] Ошибка 2
[1]-  Done                    dolphin .  (wd: ~/repository/libjingle-cmake)

What version of the product are you using? On what operating system?

opensuse 12.2 amd64

Original issue reported on code.google.com by lord.ti...@gmail.com on 27 Oct 2012 at 3:52

GoogleCodeExporter commented 9 years ago
I started using webrtc of third_party jingle and the problem went away.

Close please.

Original comment by lord.ti...@gmail.com on 27 Oct 2012 at 8:28

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 31 May 2013 at 4:18