Good :-) You're welcome ! Servus, Gernot
-- T----------------------------W-E-L-C-O-M-E------------------------------T | The Austria <=> Sweden connection..... H O Homepage: http://www.lysator.liu.se/~gz E \------------------------------F-U-T-U-R-E------------------------------/ ---------- Forwarded message ---------- Date: Wed, 15 Jan 2003 13:42:22 +0000 From: Diego <[EMAIL PROTECTED]> To: Gernot Ziegler <[EMAIL PROTECTED]> Subject: Re: mjpeg-dev (fwd) Hi Gernot ! Now I understood what you said about extern "C" ! The problem is solved ! Thanks very much for your fast reply ! Diego [EMAIL PROTECTED] On Wed, 15 Jan 2003 16:18:46 +0100 (MET) Gernot Ziegler <[EMAIL PROTECTED]> wrote: > Hej Diego ! > > Your English isn't bad, no prob ;) > > I have verified the file and their headers, couldn't find any problem - > except: did you surround the header with > extern "C" > { > } > > ? > > Otherwise I don't think I can help ... maybe someone else ? > If you provide us with your source, maybe it's easier to find the error > ... > > Servus, > Gernot > > -- > T----------------------------W-E-L-C-O-M-E------------------------------T > | The Austria <=> Sweden connection..... H > O Homepage: http://www.lysator.liu.se/~gz E > \------------------------------F-U-T-U-R-E------------------------------/ > > ---------- Forwarded message ---------- > Date: Wed, 15 Jan 2003 13:12:46 +0000 > From: > Diego <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: mjpeg-dev > > Hi, > > Please, I hope you can help me. I need to use the mjpeg libs in my software (to >capture from a DC10+ card). The softwares that comes with mjpeg work fine. But I need >to programming in C/C++ using the mjpeg-dev. > Im trying to compile the software, but the following error always appear, and I link >with all libs. I dont know how can I solve this problem. > > Here is the compiler error on linker. > > g++ -o projeto qmainapp.o qmainviewer.o qfilme.o qsavedialog.o >qpropriedadesdialog.o qdicominfodialog.o dimagem.o thumbs.o dutil.o dimageinfo.o >qiconviewitemcustom.o qavitojpeg.o main.o moc_qmainapp.o moc_qmainviewer.o >moc_qfilme.o moc_qsavedialog.o moc_dimagem.o moc_thumbs.o -L/usr/share/qt/lib >-L/usr/local/dicom/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm -lSDL -llavfile >-llavjpeg -llavplay -llavrec -lmjpegutils -lz -lpng -ldcmimage -ldcmimgle -ldcmdata >-lofstd -lpthread -ldcmjpeg -lijg8 -lijg12 -lijg16 > qavitojpeg.o(.text+0x44): In function `QAVIToJPEG::loadFile(void)': > : undefined reference to `lav_open_output_file(char *, char, int, int, int, double, >int, int, long)' > collect2: ld returned 1 exit status > make: *** [projeto] Error 1 > > Is there any other libs that I need to link?????? > > Thanks in advance and sorry for my english ! > > Diego > [EMAIL PROTECTED] > ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users