|
Hello!
I have an error when trying to compile digikam 0.9.0-rc2. In file included from dimg.cpp:44: ../../../digikam/libs/dimg/loaders/pngloader.h:59: error: `va_list' has not been declared ../../../digikam/libs/dimg/loaders/pngloader.h:59: error: ISO C++ forbids declaration of `operands' with no type make[5]: *** [dimg.lo] Error 1 -- digiKam configure results ------------------- -- sqlite3 found.................. YES -- libgphoto2 found............... YES -- libkipi found.................. YES -- libtiff found.................. YES -- libpng found................... YES -- lcms found..................... YES -- Exiv2 library found............ YES ------------------------------------------------ Good - your configure finished. Start make now gcc 3.4.6 qt 3.3.6 libpng 1.2.8 exiv2 0.12 Is there anything I can do to make it work? Thank you for the help. Akos _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Le jeudi 7 décembre 2006 21:35, Peter Akos a écrit :
> Hello! > > I have an error when trying to compile digikam 0.9.0-rc2. > > In file included from dimg.cpp:44: > ../../../digikam/libs/dimg/loaders/pngloader.h:59: error: `va_list' has not > been declared > ../../../digikam/libs/dimg/loaders/pngloader.h:59: error: ISO C++ forbids > declaration of `operands' with no type > make[5]: *** [dimg.lo] Error 1 > > -- digiKam configure results ------------------- > -- sqlite3 found.................. YES > -- libgphoto2 found............... YES > -- libkipi found.................. YES > -- libtiff found.................. YES > -- libpng found................... YES > -- lcms found..................... YES > -- Exiv2 library found............ YES > ------------------------------------------------ > > Good - your configure finished. Start make now > > gcc 3.4.6 > qt 3.3.6 > libpng 1.2.8 > exiv2 0.12 > > Is there anything I can do to make it work? > Thank you for the help. Yes. i suspect than a C ANSI header is missing in your libpng.h. Edit the file digikam/libs/dimg/loaders/pngloader.h and add #include <stdarg.h> ...on line 26. You will have something like that : --------------------------------------------------------- #define PNGLOADER_H extern "C" { #include <stdarg.h> #include <png.h> } // Local includes. --------------------------------------------------------- ... and try to recompile all Gilles Caulier _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
