[Digikam-devel] Re: Problem compiling transupp.cpp

Gilles Caulier caulier.gilles at gmail.com
Wed Dec 1 19:06:55 GMT 2010


Do you have compiled digiKam using MSVC or GCC ?

Gilles

2010/12/1 Gert Kello <gert.kello at gmail.com>:
> I was able to compile it with the attached diff applied. The jconfig.h
> seems to be the guilty one, it defines
>    #if defined(libjpeg_EXPORTS)
>        #define JPEG_EXPORT __declspec(dllexport)
>    #else
>        #define JPEG_EXPORT __declspec(dllimport)
>    #endif
>
> ...
> #define GLOBAL(type) JPEG_EXPORT type
> #define EXTERN(type) JPEG_EXPORT type
>
> On 1 December 2010 12:27, Gert Kello <gert.kello at gmail.com> wrote:
>>> It compile with TDM-GCC. I tested it yesterday.
>>
>> Yes, but if I try TDM-GCC with emerged kde then it fails. And I have
>> no idea why, I have near-zero experience in C world. Some
>> lib/header/?? incorrect?
>>
>> The emerge applies some huge patch to jpeg lib... Maybe I shopuld just
>> try to recompile it without patches applied... But I have no idea what
>> else I need to recompile after that?
>>
>> Gert
>>
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
>



More information about the Digikam-devel mailing list