On Sun, 11 Jan 2004 [EMAIL PROTECTED] wrote:

> Mjpegtools then configured and detected libquicktime but now I have a make 
> Error in mjpegtools as follows:
> 
> 
> av_io.c:941: warning: assignment makes pointer from integer without a cast
> lav_io.c:946: error: `QUICKTIME_RAW' undeclared (first use in this function)
> lav_io.c:948: error: `QUICKTIME_TWOS' undeclared (first use in this function)
> lav_io.c:977: error: `QUICKTIME_DV' undeclared (first use in this function)
> lav_io.c:995: error: `QUICKTIME_YUV420' undeclared (first use in this 
> function)
> lav_io.c:1003: error: `QUICKTIME_YUV4' undeclared (first use in this function)
> lav_io.c: In function `lav_fileno':
> lav_io.c:1306: error: `quicktime_t' undeclared (first use in this function)
> lav_io.c:1306: error: parse error before ')' token
> make[2]: *** [lav_io.lo] Error 1
> make[2]: Leaving directory 
> `/home/Raena/DownloadApps/mjpegtools-1.6.1.92/lavtools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Raena/DownloadApps/mjpegtools-1.6.1.92'
> make: *** [all] Error 2
> 
> line 1306 is:
>      res = fileno(((quicktime_t *)lav_file->qt_fd)->stream);
> 
> Can anyone help and/or should I refer this to Libquicktime Developers? 

        What directory did you install libquicktime into?   /usr/local?

        The real errors are 'QUICKTIME_RAW' and quicktime_t not being defined.
        those are defined in quicktime.h.

        WHen you compile what does the 'gcc' line look like?   On my system it
        looks like this:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"lavtools\" 
-DLAVPLAY_VERSION=\"1.6.1.93\" -I/usr/local/include -I/usr/local/include 
-I/usr/local/include/quicktime -I/usr/X11R6/include -I /usr/X11R6/include -I../utils 
-I/usr/contrib/lib/glib/include -I/usr/contrib/include -I/usr/X11R6/include 
-I/packages/mjpegtools-cvs/../jpeg-mmx -mcpu=i686 -march=i386 -g -O2 -Wall -Wunused 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wcast-align 
-Wwrite-strings -Wcast-qual -c lav_io.c -Wp,-MD,.deps/lav_io.TPlo  -fPIC -DPIC -o 
.libs/lav_io.o

        See the -I/usr/local/include/quicktime argument?   That will allow
        the compiler to find the file quicktime.h which is located in
        /usr/local/include/quicktime/quicktime.h

        It almost sounds like libquicktime didn't install its files into
        where mjpegtools' build process is looking.   I think once you
        get the CFLAGS set to find the quicktime.h file everything will
        build fine.

        Cheers,
        Steven Schultz



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to