|
Yes I have spent the night reverse engineering gxine and i am managing to understand most of their code.. the only problem is that i keep on getting this error
ltmp.c:(.text+0x63b): undefined reference to `gtk_video_new'
gtk_video_new is a method in gtkvideo.c with the following declaration
GtkWidget *gtk_video_new (xine_t *xine, xine_stream_t *stream,
xine_post_out_t *out,
const gchar *video_driver_id,
int default_width, int default_height,
int button_press_mask, int button_release_mask)
if have called it with the following
GtkWidget *playwidget = NULL;
playwidget = gtk_video_new (xine, stream, xine_get_video_source (stream),
"xshm", 480, 300,
0x04 /* press: button 2 */,
0x08 /* release: button 3 */);
Sorry if i seem like a c n00b but in computer science at my university we only learned c++ so if the answer is obvious sorry..
UPDATE
sorry the answer was pretty simple and i managed to figure it out. Its been such a long time since I have compiled c on the command line on a fairly big project so I kind of forgot out some args to put in when compiling.
|