Re: save 1.0.3 compile problem w/ gimp compat

From: John Hunter (jdhunter@ace.bsd.uchicago.edu)
Date: Mon Dec 18 2000 - 09:51:14 PST

  • Next message: Sebastien Sable: "Re: Snapscan.... Help!"

    >>>>> "John" == John Hunter <jdhunter@ace.bsd.uchicago.edu> writes:

        John> I am trying to compile sane-1.0.3 and the compile is
        John> crashing on xscanimage.c. The error messages indicate that
        John> it is not recognizing the types GParam and GPlugInInfo. I
        John> recently installed gimp v1.1.30 (didn't know it was
        John> developers until too late). I know that these type names
        John> have changed to GimpParam, etc..., but the header
        John> libgimp/gimp.h includes gimpcompat.h, which #defines these
        John> old names as the new names. So I am not sure why I am
        John> having this compile problem.

    Found the problem: I had to set the CPP flags to include
    -DGIMP_ENABLE_COMPAT_CRUFT=1. After this, the build, install and run
    worked fine.

    JDH

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon Dec 18 2000 - 09:48:31 PST