Hi all, I'm trying to compile the LCMS package but it is stumbling trying to build the SWIG/Python module. Here is the relevant lines giving problems from the lcms.i file (which is used to autogenerate the lcms_wrap.cxx source)
if ((SWIG_ConvertPtr(tmp[0], (void **) &gamma[0], SWIGTYPE_LPGAMMATABLE,1)) == -1) return NULL; if ((SWIG_ConvertPtr(tmp[1], (void **) &gamma[1], SWIGTYPE_LPGAMMATABLE,1)) == -1) return NULL; if ((SWIG_ConvertPtr(tmp[2], (void **) &gamma[2], SWIGTYPE_LPGAMMATABLE,1)) == -1) return NULL; This code in the lcms.i file produces identical lines in lcms_wrap.cxx (in two places) which is actually used during compilation. Compilation fails with this message: lcms_wrap.cxx:8731: error: `SWIGTYPE_LPGAMMATABLE' undeclared (first use this function) Though it seems that declaring this identifier should be easy enough, I'm so weak on c++ that I'm not sure what to do, especially since the c++ code is autogenerated from SWIG source. Anyone have any pointers or tips on how I could patch the SWIG source so that the SWIGTYPE_LPGAMMATABLE identifier would be declared. Here's pertinent details: GCC-3.4.3 SWIG-1.3.24 Python-2.4.1 LCMS-1.14 Thanks in advance for any help on this subject. -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 10:24:01 up 12 days, 9:57, 3 users, load average: 0.63, 0.35, 0.15 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user