On Wednesday 20 March 2002 8:35 pm, Kayvan A. Sylvan wrote:
> On Wed, Mar 20, 2002 at 08:11:16PM +0000, Angus Leeming wrote:
> > On Wednesday 20 March 2002 8:03 pm, Kayvan A. Sylvan wrote:
> > > I still have to add "-ljpeg" by hand into src/Makefile (some recent
> > > change that I have not tracked down yet), but I can build lyx on
> > > WinXP again!
> >
> > Perhaps line 394 in src/frontends/xformsGImage.C has something to do with
> > this?
> >     flimage_enable_jpeg();
> >
> > (If you're using xforms 0.89.x, x>=5...)
> >
> > Angus
>
> Yes, I am using xforms-0.89.6 on Cygwin.
>
> Does that mean we should add some magic to the build process to add
> the "-ljpeg" dependency if using xforms-0.89.5?
>
>                       ---Kayvan

Guess so. The tests are already there (to use the xforms image loader that 
is). Presumably we need to have something in Makefile.am

if USE_BASIC_IMAGE_LOADER
else
        ??? += -ljpeg
endif

Alternatively, I could just disable 
        flimage_enable_jpeg();

??
Angus


Reply via email to