On Sat, 10 Jul 2004, Matthias Jaenichen wrote:
> I want to compile the MJPEG-Tools with Cygwin, but it is less easy than I
> thought:
>
> These errors come up, when "make"ing the recommended JPEG-MMX.
>
> jidctint.c:196: warning: integer constant is too large for "long" type
Those are harmless warning errors and can be safely ignored. They
are annoying but nothing more. One of these days I'll fix the problem
but it's a low priority task.
> g.o libjpeg-mmx.a
> libjpeg-mmx.a(jcdctmgr.o)(.text+0x8b0):jcdctmgr.c: undefined reference to
> `_jcquant_mmx'
> libjpeg-mmx.a(jcdctmgr.o)(.text+0xb6f):jcdctmgr.c: undefined reference to
> `_jpeg_fdct_ifast_mmx'
>
> Any Ideas???
A couple ideas come to mind.
First, you can ignore jpeg-mmx and use the standard libjpeg. The MMX
version (jpeg-mmx) was a hack done when cpu speeds were much slower.
Modern cpus are fast enough that the jpeg decompression is not the
bottleneck it was at one time.
Second, you'll need 'nasm' to compile the MMX routines - the undefined
symbols you mention are all in modules that are assembled with
'nasm'.
mjpegtools will build and run without jpeg-mmx - and indeed that is
how mjpegtools is built on OS/X and other platforms which do not have
MMX instructions.
Good Luck!
Cheers,
Steven Schultz
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users