Vc branch ready for testing

Dmitry Kazakov dimula73 at gmail.com
Sat Sep 8 12:13:48 UTC 2012


On Sat, Sep 8, 2012 at 3:56 PM, Sven Langkamp <sven.langkamp at gmail.com>wrote:

> On Sat, Sep 8, 2012 at 1:37 PM, Dmitry Kazakov <dimula73 at gmail.com> wrote:
>
>> Yes, this really makes the painting faster! Quite desirable in master! =)
>>
>> I had a couple of problems with compiling it though:
>>
>> 1) I had to add '-fabi-version=4' to CMAKE_CXX_FLAGS to avoid some
>> redifinition compile bug (I don't know what this keyword means, thought =)
>> ).
>>
>
> Which gcc version do you have?
>

gcc (SUSE Linux) 4.6.2



>  2) I had to add my installation of Vc to the include paths of Krita, like:
>
>>
>> include_directories(${INCLUDE_INSTALL_DIR})
>>
>> (I installed Vc to the same prefix as calligra)
>>
>> It looks either Vc's macros do not add inclusion for the library, or just
>> we don't directly use this feature.
>
>
> If it's installed to /usr/... it works. There is still a small problems
> thought that it doesn't get the OptimizeForArchitecture cmake script yet
> and the require file have to be included by had or put into the calligra
> cmake modules.
>

I installed it into the same prefix where I install calligra. I guess,
there should be a macro which shows the includes of Vc in its cmake files.


-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20120908/72761d98/attachment.html>


More information about the kimageshop mailing list