Re: save 1.0.3 compile problem w/ gimp compat

From: John Hunter (
Date: Mon Dec 18 2000 - 09:51:14 PST

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

    >>>>> "John" == John Hunter <> 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.


    Source code, list archive, and docs:
    To unsubscribe: echo unsubscribe sane-devel | mail

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