kdevplatform win32 link error
Ralf Habacker
ralf.habacker at freenet.de
Wed Aug 29 16:11:05 CEST 2007
Andreas Pakulat schrieb:
> On 29.08.07 15:40:34, Ralf Habacker wrote:
>
>> Hi,
>>
>> I've got a win32 msvc link error with kdevplatform. In
>> vcs\interfaces\ibasicversioncontrol.h there is a class exported with
>> KDEVPLATFORMVCS_EXPORT.
>>
>> Unfortunally neither the file defining this macros vcsexport.h is
>> included nor the file vcs\interfaces\interfacesexport.h which naming
>> looks like a header containing export definitions for interfaces
>> contains the required macros.
>>
>> I see 3 possible solution for this problem:
>>
>> - include vcsexport.h into every i...h file
>> - include vcsexport.h into interfacesexport.h and include
>> interfacesexport.h in every i....h file
>>
>
> Whats the 3rd solution you thought of? (just curious)
>
Ups, I had in mind to use iextension.h but castaway it and forgot to
decrement the counter :-)
>
>> Can anyone with kdevplatfom internal knowledge fix this issue ?
>>
>
> Done. If you find other ifoo.h header files that don't have a .cpp file
> coming with them and are not included in a library please feel free to
> fix this by removing the export macro from the classes. Those interface
> classes don't need an export macro.
>
Seems to work. Thanks
Ralf
More information about the Kde-windows
mailing list