On Thu, 13 May 2004, Jose Luis Czerwinski wrote:

> Hi folks, I wanted to try the new denoiser, y4mdenoise, so I downloaded 
> it from CVS and tried to compile it.

        Hmmm, did you do a checkout and build of the entire mjpegtools?

> First of all, I had a problem regarding the version of my gcc compiler 
> (I'm using gcc 3.2.3), so I changed all occurrences of 3.3.3 to 3.2.3.

        That should work fine - in fact 2.95.3 can be used to build mjpegtools
        (including y4mdenoise).

> Then a new error appeared as I don't have locale_classes.h in 
> /usr/include/c++/... so I commented out all references to 
> locale_classes.h in Makefile.
> Then make issued these error messages:
> 
> gcc -Wall -I ../utils -I .. -O3 -march=athlon-xp -DNDEBUG 
> -DHAVE_CONFIG_H -c main.c
> main.c: In function `main':
> main.c:55: warning: implicit declaration of function `y4m_accept_extensions'
> main.c:94: warning: implicit declaration of function 
> `y4m_si_get_plane_count'
> main.c:98: warning: implicit declaration of function `y4m_si_get_chroma'
> main.c:99: warning: implicit declaration of function `y4m_chroma_ss_x_ratio'

        That tells me that you are attempting to build y4mdenoise with
        an old (non-CVS) version of mjpegtools.

        y4mdenoise uses the new YUV4MPEG2 API and thus will not build against
        the released version of mjpegtools.

        All of those functions are only present in the new version of
        mjpegtools.

> My questions are:
> 1) Could I compile the code with the resources I have now (gcc 3.2.3, 
> mjpeg-tools 1.6.2) ?

        You can use any version of gcc from 2.95.3 on up to 3.3.3 (I just
        installed SuSE 9.1 which comes with gcc 3.3.3).

        But you do need to build the cvs version of mjpegtools.   Since you've
        checked out the cvs version (which is the only place y4mdenoise
        exists ;)) just   go ahead and run the ./autogen.sh script - if you've
        got libtool,autoconf,automake installed it shouldn't be too hard
        to do a build.

        Checkout mjpegtools from cvs, run ./autogen.sh and you should be
        all set to do a 'make install'.

        One benefit of building the cvs version (which is quite stable - there
        were only a few days where things weren't buildable) is that the
        cpu detection is *vastly* better than before so the compiler will
        get all the right flags for your cputype.

        Cheers,
        Steven Schultz



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to