Well, I think I will stick with 3rdparty/libpurple (becaouse the whole structure of libpurple uses name libpurple)... So this problem was solved by changing
ow_use_public_libraries(
owimwrapper
purple -> libpurple
)
But now it tells me the same error as usual, but now with
owimwrapper and owphapiwrapper, and I don't think I need to mess
with sipwrapper (phapiwrapper is part of it). So now I'm confused...
I think I shouldn't use subdirs, but I have
ow_create_static_library(owpurplewrapper) (I guess it's the project
name you talked about) as the first line of
imwrapper/src/purple/CMakeLists.txt, so it should find it.
Vadim Lebedev napsal(a):
> Jan,
>
> Would you mind to continue this discussion on the mailing list?
> i think a lot of people will be interested by it and your work
>
>
>
> You need a create a libs/3rdparty/purple subproject similar to
> libs/3rdparty/gaim
>
> The alphabetic ordering is not relevant here
>
>
> Thanks
> Vadim
>
> Le 21 août 08 à 11:15, Jan Kaláb a écrit :
>
>> subdirs helped, but now I have here similar error:
>>
>> CMake Error at owbuild/owbuild/OWUsePublicLibraries.cmake:22 (message):
>> owpurplewrapper: purple_INCLUDE_DIRS and purple_INCLUDE_DIR empty,
>> check that purple is declared before owpurplewrapper
>> Call Stack (most recent call first):
>> libs/imwrapper/src/purple/CMakeLists.txt:3 (ow_use_public_libraries)
>>
>> but now I don't know which CMakeLists.txt edit. How do you know
>> that? And I don't know what does he mean with "purple"... is it the
>> 3rd party libpurple, or something else? Btw, am I right when I
>> thought it's caused by alphabetical ordering? G from gaim was
>> earlier in alphabet then P from purple, and we must override it.
>>
>> Vadim Lebedev napsal(a):
>>> Jan,
>>>
>>> in libs/imwrapper/CMakeLists.txt there is subdirs statement
>>> purple subdir there should be BEFORE multiim
>>>
>>> In libs/imwrapper/src/purple/CMakeLists.txt --- did you change the
>>> project name?
>>>
>>> Thanks
>>> Vadim
>>>
>>> Jan Kaláb wrote:
>>>> I'm now in dirty moving/renaming phase, just to make cmake work. So
>>>> I'm renaming all gaim files and direcotries to purple and also
>>>> editing cmake files. And i get this error:
>>>>
>>>> CMake Error at owbuild/owbuild/OWUsePublicLibraries.cmake:22 (message):
>>>> owmultiimwrapper: owpurplewrapper_INCLUDE_DIRS and
>>>> owpurplewrapper_INCLUDE_DIR empty, check that owpurplewrapper is
>>>> declared before owmultiimwrapper
>>>> Call Stack (most recent call first):
>>>> libs/imwrapper/src/multiim/CMakeLists.txt:3 (ow_use_public_libraries)
>>>>
>>>> I renamed libs/imwrapper/src/gaim to purple, and edited the
>>>> CMakeLists.txt to ow_create_static_library(owpurplewrapper).
>>>> Then I edited imwrapper/src/multiim/CMAkeLists, to match the
>>>> owpurplewrapper, but CMake is still complaining. Any idea what might
>>>> be wrong?
>>>>
>>>> Vadim Lebedev napsal(a):
>>>>
>>>>> Jan Kaláb wrote:
>>>>>
>>>>>> Hi,
>>>>>> I'm just trying to change libgaim in 2.2 branch to libpurple from
>>>>>> coip branch. If I succeed, will you use the libpurple patch in 2.2
>>>>>> branch, or is it only for coip branch?
>>>>>>
>>>>>>
>>>>>>
>>>>> YESSSSSS!!!!!
>>>>>
>>>>> But please take the latest version of libpurple from upstream.
>>>>> And please keep me posted on the progress....
>>>>>
>>>>> Thanks
>>>>> Vadim
>>>>>
>>>>
>>>>
>>>
>>
>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
