cheers,
Gerhard
On 14 Jul 2011, at 00:53, Gabriel wrote:
I compile this code:
#include <cvd/videosource.h>
#include <cvd/videodisplay.h>
#include <cvd/gl_helpers.h>
using namespace CVD;
int main()
{
try
{
VideoBuffer<Rgb<byte> > * video_buffer =
open_video_source<Rgb<byte> >("file://test_jt.avi");
VideoDisplay disp(video_buffer->size());
while(1)
{
VideoFrame<Rgb<byte> > *frame = video_buffer->get_frame();
glDrawPixels(*frame);
video_buffer->put_frame(frame);
}
}
catch(Exceptions::All error)
{
std::cerr << "Error: " << error.what << std::endl;
}
}
I run the program and get this error: Error: VideoFileBuffer is not
compiled in to libcvd.
I try many solutions without find the trouble.
I appreciate any help
--
Gabriel
Antes de imprimir, pensá en tu responsabilidad y compromiso con el
MEDIO AMBIENTE.
_______________________________________________
libcvd-members mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/libcvd-members
--
Gerhard Reitmayr
Institute for Computer Graphics and Vision
http://www.icg.tugraz.at/Members/gerhard
tel: ++43 316 873 5082
_______________________________________________
libcvd-members mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/libcvd-members