[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Problem using Vc with CMake 3.0 and kf5
From:       Andrius da Costa Ribas <andriusmao () gmail ! com>
Date:       2015-05-23 15:46:09
Message-ID: CADzOArFuPQOwbmPp+GcH5tkR-wBk6VW=ZTr0BWmaUvzsJxpFxw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I'm not sure if I understood the issue. If we need to pass the -I
parameters to vc_compile_for_all_implementations, then something like
https://git.reviewboard.kde.org/r/115110/diff/1/ might work.
 Em 23/05/2015 09:07, "Aleix Pol" <aleixpol@kde.org> escreveu:

> On Sat, May 23, 2015 at 11:51 AM, Boudewijn Rempt <boud@valdyas.org>
> wrote:
> > Sorry for the extensive cross-posting in advance, please when replying,
> do a
> > reply-all.
> > 
> > Just so everyone is on the same page: Vc is a template library that
> makes it
> > easy to build vectorized code using a single source file. Krita uses Vc
> to
> > optimize blending colors, creating masks and much more. Krita uses the
> most
> > recent Vc release, 0.7.4: http://code.compeng.uni-frankfurt.de/news/27
> > 
> > We're currently porting Krita to Qt5 and KF5 and the way KF5 and Vc
> handle
> > include directories is a big roadblock for us:
> > https://git.reviewboard.kde.org/r/123179/ .
> > 
> > In a nutshell: Vc builds many different object files from single cpp
> file.
> > It does this by creating a custom command for each target vectorization
> > extension. To do that, it needs to access the contents of
> > INCLUDE_DIRECTORIES, like this (in VcMacros.cmake:
> > 
> http://code.compeng.uni-frankfurt.de/projects/vc/repository/entry/cmake/VcMacros.cmake?rev=0.7
>  )
> > 
> > get_directory_property(_inc INCLUDE_DIRECTORIES)
> > foreach(_i ${_inc})
> > list(APPEND _flags "-I${_i}")
> > endforeach()
> > 
> > In the end the command is generated like this:
> > 
> > add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out}
> > COMMAND ${CMAKE_CXX_COMPILER} ${_flags} ${_extra_flags}
> > -DVC_IMPL=${_impl}
> > ${_outfile_flag}${_out}
> > ${CMAKE_CURRENT_SOURCE_DIR}/${_vc_compile_src}
> > MAIN_DEPENDENCY
> ${CMAKE_CURRENT_SOURCE_DIR}/${_vc_compile_src}
> > IMPLICIT_DEPENDS CXX
> > ${CMAKE_CURRENT_SOURCE_DIR}/${_vc_compile_src}
> > COMMENT "Building CXX object ${_out}"
> > WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
> > VERBATIM
> > )
> > KF5 uses cmake generator expressions to derive the include directories
> from
> > the target_link_libraries lines. This means that when we try to build our
> > per-extensions object files we get this:
> > 
> > 
> > 
> > [  0%] Building CXX object
> > KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o
> > cd /home/boud/kde/build/calligra/libs/pigment && /usr/bin/c++
> -std=c++0x
> > -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts
> > -Wformat-security -Wno-long-long -Wpointer-arith -Wundef
> -Wnon-virtual-dtor
> > -Woverloaded-virtual -Werror=return-type
> -D__GNUC_UBUNTU_VERSION__=0xf040a
> > -Wabi -fabi-version=0 -ffp-contract=fast -mtune=core2 -fPIC
> > -I/home/boud/kde/src/calligra/interfaces -I/home/boud/kde/build/calligra
> > -I/home/boud/kde/src/calligra -I/home/boud/kde/src/calligra/libs/version
> > -I/home/boud/kde/build/calligra/libs/version
> > -I/home/boud/kde/src/calligra/libs/koplugin
> > -I/home/boud/kde/src/calligra/libs/version
> > -I/home/boud/kde/build/calligra/libs/version
> > -I/home/boud/kde/src/calligra/libs/pigment
> > -I/home/boud/kde/src/calligra/libs/pigment/compositeops
> > -I/home/boud/kde/src/calligra/libs/pigment/resources -I/usr/include
> > -I/usr/include -I/usr/include/OpenEXR -I/usr/include -mavx -DVC_IMPL=AVX
> -c
> > -oKoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o
> > 
> /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp
> 
> > 
> > 
> /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp:22:19:
> 
> > fatal error: QString: No such file or directory
> > #include <QString>
> > ^
> > compilation terminated.
> > libs/pigment/CMakeFiles/pigmentcms.dir/build.make:72: recipe for
> target
> > 'libs/pigment/KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o' failed
> > 
> > On other words, INCLUDE_DIRECTORIES is empty, there's no Qt5, no Kf5 to
> be
> > found.
> > 
> > If we manually set include directories like this:
> > 
> > if (HAVE_VC)
> > message(".>>>>>>>>>>>>" ${KDE4_INCLUDES})
> > include_directories(${KDE4_INCLUDES} ${Qt5Core_INCLUDE_DIRS}
> > ${Qt5Gui_INCLUDE_DIRS} ${Qt5Xml_INCLUDE_DIRS} ${PIGMENT_INCLUDES}
> > ${Boost_INCLUDE_DIR})
> > endif()
> > 
> > We end up with the entire include line for the contents of KDE4_INCLUDES
> > ($<TARGET_PROPERTY:KF5::KDELibs4Support,INTERFACE_INCLUDE_DIRECTORIES>)
> > expanded to a string with quotes around it:
> > 
> > [  0%] Building CXX object
> KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o
> > cd /home/boud/kde/build/calligra/libs/pigment && /usr/bin/c++
> -std=c++0x
> > -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts
> > -Wformat-security -Wno-long-long -Wpointer-arith -Wundef
> -Wnon-virtual-dtor
> > -Woverloaded-virtual -Werror=return-type
> -D__GNUC_UBUNTU_VERSION__=0xf040a
> > -Wabi -fabi-version=0 -ffp-contract=fast -mtune=core2 -fPIC
> > -I/home/boud/kde/src/calligra/interfaces -I/home/boud/kde/build/calligra
> > -I/home/boud/kde/src/calligra -I/home/boud/kde/src/calligra/libs/version
> > -I/home/boud/kde/build/calligra/libs/version
> > 
> "-I/usr/include/KF5/KDELibs4Support;/usr/include/KF5/KDELibs4Support/KDE;/usr/includ \
> e/KF5;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtWidgets \
> ;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/inc \
> lude/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64- \
> linux-gnu/qt5//mkspecs/linux-g++-64;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/ \
> x86_64-linux-gnu/qt5/QtDBus;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-l \
> inux-gnu/qt5/QtPrintSupport;/usr/include/KF5/KCoreAddons;/usr/include/KF5;/usr/inclu \
> de/KF5/KCrash;/usr/include/KF5;/usr/include/KF5/KWidgetsAddons;/usr/include/KF5;/usr \
> /include/KF5/KConfigCore;/usr/include/KF5;/usr/include/KF5/KConfigWidgets;/usr/inclu \
> de/KF5;/usr/include/KF5/KCodecs;/usr/include/KF5;/usr/include/KF5/KConfigGui;/usr/in \
> clude/KF5;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtXml;/usr/include/KF5/KAuth;/usr/include/KF5;/usr/include/KF5/KIOCore;
> 
> > 
> /usr/include/KF5;/usr/include/KF5/KService;/usr/include/KF5;/usr/include/KF5/KIOFile \
> Widgets;/usr/include/KF5;/usr/include/KF5/KIOWidgets;/usr/include/KF5;/usr/include/K \
> F5/KJobWidgets;/usr/include/KF5;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_ \
> 64-linux-gnu/qt5/QtNetwork;/usr/include/KF5/KCompletion;/usr/include/KF5;/usr/includ \
> e/KF5/KBookmarks;/usr/include/KF5;/usr/include/KF5/KItemViews;/usr/include/KF5;/usr/ \
> include/KF5/KXmlGui;/usr/include/KF5;/usr/include/KF5/Solid;/usr/include/KF5;/usr/in \
> clude/KF5/KI18n;/usr/include/KF5;/usr/include/KF5/KNotifications;/usr/include/KF5;/u \
> sr/include/KF5/KIconThemes;/usr/include/KF5;/usr/include/KF5/KWindowSystem;/usr/incl \
> ude;/usr/include;/usr/include/KF5;/usr/include/KF5;/usr/include/KF5/KGuiAddons;/usr/ \
> include/KF5;/usr/include/KF5/KUnitConversion;/usr/include/KF5;/usr/include/KF5/KText \
> Widgets;/usr/include/KF5;/usr/include/KF5/SonnetUi;/usr/include/KF5;/usr/include/KF5/KParts;/usr/include/KF5"
> 
> > -I/usr/include/x86_64-linux-gnu/qt5
> > -I/usr/include/x86_64-linux-gnu/qt5/QtCore
> > -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
> > -I/usr/include/x86_64-linux-gnu/qt5
> > -I/usr/include/x86_64-linux-gnu/qt5/QtGui
> > -I/usr/include/x86_64-linux-gnu/qt5/QtCore
> > -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
> > -I/usr/include/x86_64-linux-gnu/qt5
> > -I/usr/include/x86_64-linux-gnu/qt5/QtXml
> > -I/usr/include/x86_64-linux-gnu/qt5/QtCore
> > -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
> > -I/home/boud/kde/src/calligra/libs/koplugin
> > -I/home/boud/kde/src/calligra/libs/version
> > -I/home/boud/kde/build/calligra/libs/version
> > -I/home/boud/kde/src/calligra/libs/pigment
> > -I/home/boud/kde/src/calligra/libs/pigment/compositeops
> > -I/home/boud/kde/src/calligra/libs/pigment/resources -I/usr/include
> > -I/usr/include -I/usr/include/OpenEXR -I/usr/include -mavx -DVC_IMPL=AVX
> -c
> > -oKoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o
> > 
> /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp
> 
> > In file included from
> > /home/boud/kde/src/calligra/libs/pigment/DebugPigment.h:23:0,
> > from
> > 
> /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp:23:
> 
> > /home/boud/kde/src/calligra/libs/pigment/pigment_export.h:24:23:
> fatal
> > error: kdemacros.h: No such file or directory
> > #include <kdemacros.h>
> > ^
> > compilation terminated.
> > libs/pigment/CMakeFiles/pigmentcms.dir/build.make:72: recipe for
> target
> > 'libs/pigment/KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o' failed
> > 
> > 
> > And that's where I'm totally stuck. It seems the cmake 3.0/kf5/e-c-m (I
> > don't know where this system came from) is incompatible with a key libary
> > that I have to use. We can't drop using Vc, we cannot move to a newer
> > release of Vc and I can't see a way to replicate the functionality of
> > vc_compile_for_all_implementations in our own cmake code either, so
> please
> > help!
> > 
> > Boudewijn
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Kde-buildsystem mailing list
> > Kde-buildsystem@kde.org
> > https://mail.kde.org/mailman/listinfo/kde-buildsystem
> > 
> 
> Including kde-windows, they are more likely to know what's going on...
> 
> Aleix
> _______________________________________________
> calligra-devel mailing list
> calligra-devel@kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
> 


[Attachment #5 (text/html)]

<p dir="ltr">I&#39;m not sure if I understood the issue. If we need to pass the -I \
parameters to vc_compile_for_all_implementations, then something like <a \
href="https://git.reviewboard.kde.org/r/115110/diff/1/">https://git.reviewboard.kde.org/r/115110/diff/1/</a> \
might work. <br> </p>
<div class="gmail_quote">Em 23/05/2015 09:07, &quot;Aleix Pol&quot; &lt;<a \
href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>&gt; escreveu:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, May 23, 2015 at 11:51 AM, \
Boudewijn Rempt &lt;<a href="mailto:boud@valdyas.org">boud@valdyas.org</a>&gt; \
wrote:<br> &gt; Sorry for the extensive cross-posting in advance, please when \
replying, do a<br> &gt; reply-all.<br>
&gt;<br>
&gt; Just so everyone is on the same page: Vc is a template library that makes it<br>
&gt; easy to build vectorized code using a single source file. Krita uses Vc to<br>
&gt; optimize blending colors, creating masks and much more. Krita uses the most<br>
&gt; recent Vc release, 0.7.4: <a href="http://code.compeng.uni-frankfurt.de/news/27" \
target="_blank">http://code.compeng.uni-frankfurt.de/news/27</a><br> &gt;<br>
&gt; We&#39;re currently porting Krita to Qt5 and KF5 and the way KF5 and Vc \
handle<br> &gt; include directories is a big roadblock for us:<br>
&gt; <a href="https://git.reviewboard.kde.org/r/123179/" \
target="_blank">https://git.reviewboard.kde.org/r/123179/</a> .<br> &gt;<br>
&gt; In a nutshell: Vc builds many different object files from single cpp file.<br>
&gt; It does this by creating a custom command for each target vectorization<br>
&gt; extension. To do that, it needs to access the contents of<br>
&gt; INCLUDE_DIRECTORIES, like this (in VcMacros.cmake:<br>
&gt; <a href="http://code.compeng.uni-frankfurt.de/projects/vc/repository/entry/cmake/VcMacros.cmake?rev=0.7" \
target="_blank">http://code.compeng.uni-frankfurt.de/projects/vc/repository/entry/cmake/VcMacros.cmake?rev=0.7</a>)<br>
 &gt;<br>
&gt;      get_directory_property(_inc INCLUDE_DIRECTORIES)<br>
&gt;      foreach(_i ${_inc})<br>
&gt;           list(APPEND _flags &quot;-I${_i}&quot;)<br>
&gt;      endforeach()<br>
&gt;<br>
&gt; In the end the command is generated like this:<br>
&gt;<br>
&gt;               add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_out}<br>
&gt;                    COMMAND ${CMAKE_CXX_COMPILER} ${_flags} ${_extra_flags}<br>
&gt;                    -DVC_IMPL=${_impl}<br>
&gt;                    ${_outfile_flag}${_out}<br>
&gt; ${CMAKE_CURRENT_SOURCE_DIR}/${_vc_compile_src}<br>
&gt;                    MAIN_DEPENDENCY \
${CMAKE_CURRENT_SOURCE_DIR}/${_vc_compile_src}<br> &gt;                    \
IMPLICIT_DEPENDS CXX<br> &gt; ${CMAKE_CURRENT_SOURCE_DIR}/${_vc_compile_src}<br>
&gt;                    COMMENT &quot;Building CXX object ${_out}&quot;<br>
&gt;                    WORKING_DIRECTORY &quot;${CMAKE_CURRENT_BINARY_DIR}&quot;<br>
&gt;                    VERBATIM<br>
&gt;                    )<br>
&gt; KF5 uses cmake generator expressions to derive the include directories from<br>
&gt; the target_link_libraries lines. This means that when we try to build our<br>
&gt; per-extensions object files we get this:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;        [   0%] Building CXX object<br>
&gt; KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o<br>
&gt;        cd /home/boud/kde/build/calligra/libs/pigment &amp;&amp; /usr/bin/c++ \
-std=c++0x<br> &gt; -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts<br>
&gt; -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor<br>
&gt; -Woverloaded-virtual -Werror=return-type -D__GNUC_UBUNTU_VERSION__=0xf040a<br>
&gt; -Wabi -fabi-version=0 -ffp-contract=fast -mtune=core2 -fPIC<br>
&gt; -I/home/boud/kde/src/calligra/interfaces -I/home/boud/kde/build/calligra<br>
&gt; -I/home/boud/kde/src/calligra -I/home/boud/kde/src/calligra/libs/version<br>
&gt; -I/home/boud/kde/build/calligra/libs/version<br>
&gt; -I/home/boud/kde/src/calligra/libs/koplugin<br>
&gt; -I/home/boud/kde/src/calligra/libs/version<br>
&gt; -I/home/boud/kde/build/calligra/libs/version<br>
&gt; -I/home/boud/kde/src/calligra/libs/pigment<br>
&gt; -I/home/boud/kde/src/calligra/libs/pigment/compositeops<br>
&gt; -I/home/boud/kde/src/calligra/libs/pigment/resources -I/usr/include<br>
&gt; -I/usr/include -I/usr/include/OpenEXR -I/usr/include -mavx -DVC_IMPL=AVX -c<br>
&gt; -oKoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o<br>
&gt; /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp<br>
 &gt;<br>
&gt; /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp:22:19:<br>
 &gt; fatal error: QString: No such file or directory<br>
&gt;         #include &lt;QString&gt;<br>
&gt;                                    ^<br>
&gt;        compilation terminated.<br>
&gt;        libs/pigment/CMakeFiles/pigmentcms.dir/build.make:72: recipe for \
target<br> &gt; &#39;libs/pigment/KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o&#39; \
failed<br> &gt;<br>
&gt; On other words, INCLUDE_DIRECTORIES is empty, there&#39;s no Qt5, no Kf5 to \
be<br> &gt; found.<br>
&gt;<br>
&gt; If we manually set include directories like this:<br>
&gt;<br>
&gt; if (HAVE_VC)<br>
&gt;        message(&quot;.&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&quot; \
${KDE4_INCLUDES})<br> &gt;        include_directories(${KDE4_INCLUDES} \
${Qt5Core_INCLUDE_DIRS}<br> &gt; ${Qt5Gui_INCLUDE_DIRS} ${Qt5Xml_INCLUDE_DIRS} \
${PIGMENT_INCLUDES}<br> &gt; ${Boost_INCLUDE_DIR})<br>
&gt; endif()<br>
&gt;<br>
&gt; We end up with the entire include line for the contents of KDE4_INCLUDES<br>
&gt; ($&lt;TARGET_PROPERTY:KF5::KDELibs4Support,INTERFACE_INCLUDE_DIRECTORIES&gt;)<br>
 &gt; expanded to a string with quotes around it:<br>
&gt;<br>
&gt;      [   0%] Building CXX object \
KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o<br> &gt;        cd \
/home/boud/kde/build/calligra/libs/pigment &amp;&amp; /usr/bin/c++ -std=c++0x<br> \
&gt; -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts<br> &gt; \
-Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor<br> &gt; \
-Woverloaded-virtual -Werror=return-type -D__GNUC_UBUNTU_VERSION__=0xf040a<br> &gt; \
-Wabi -fabi-version=0 -ffp-contract=fast -mtune=core2 -fPIC<br> &gt; \
-I/home/boud/kde/src/calligra/interfaces -I/home/boud/kde/build/calligra<br> &gt; \
-I/home/boud/kde/src/calligra -I/home/boud/kde/src/calligra/libs/version<br> &gt; \
-I/home/boud/kde/build/calligra/libs/version<br> &gt; \
&quot;-I/usr/include/KF5/KDELibs4Support;/usr/include/KF5/KDELibs4Support/KDE;/usr/inc \
lude/KF5;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtWidget \
s;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/incl \
ude/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-lin \
ux-gnu/qt5//mkspecs/linux-g++-64;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_6 \
4-linux-gnu/qt5/QtDBus;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gn \
u/qt5/QtPrintSupport;/usr/include/KF5/KCoreAddons;/usr/include/KF5;/usr/include/KF5/KC \
rash;/usr/include/KF5;/usr/include/KF5/KWidgetsAddons;/usr/include/KF5;/usr/include/KF \
5/KConfigCore;/usr/include/KF5;/usr/include/KF5/KConfigWidgets;/usr/include/KF5;/usr/i \
nclude/KF5/KCodecs;/usr/include/KF5;/usr/include/KF5/KConfigGui;/usr/include/KF5;/usr/ \
include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtXml;/usr/include/KF5/KAuth;/usr/include/KF5;/usr/include/KF5/KIOCore;<br>
 &gt; /usr/include/KF5;/usr/include/KF5/KService;/usr/include/KF5;/usr/include/KF5/KIO \
FileWidgets;/usr/include/KF5;/usr/include/KF5/KIOWidgets;/usr/include/KF5;/usr/include \
/KF5/KJobWidgets;/usr/include/KF5;/usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_ \
64-linux-gnu/qt5/QtNetwork;/usr/include/KF5/KCompletion;/usr/include/KF5;/usr/include/ \
KF5/KBookmarks;/usr/include/KF5;/usr/include/KF5/KItemViews;/usr/include/KF5;/usr/incl \
ude/KF5/KXmlGui;/usr/include/KF5;/usr/include/KF5/Solid;/usr/include/KF5;/usr/include/ \
KF5/KI18n;/usr/include/KF5;/usr/include/KF5/KNotifications;/usr/include/KF5;/usr/inclu \
de/KF5/KIconThemes;/usr/include/KF5;/usr/include/KF5/KWindowSystem;/usr/include;/usr/i \
nclude;/usr/include/KF5;/usr/include/KF5;/usr/include/KF5/KGuiAddons;/usr/include/KF5; \
/usr/include/KF5/KUnitConversion;/usr/include/KF5;/usr/include/KF5/KTextWidgets;/usr/i \
nclude/KF5;/usr/include/KF5/SonnetUi;/usr/include/KF5;/usr/include/KF5/KParts;/usr/include/KF5&quot;<br>
 &gt; -I/usr/include/x86_64-linux-gnu/qt5<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5/QtCore<br>
&gt; -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5/QtGui<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5/QtCore<br>
&gt; -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5/QtXml<br>
&gt; -I/usr/include/x86_64-linux-gnu/qt5/QtCore<br>
&gt; -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64<br>
&gt; -I/home/boud/kde/src/calligra/libs/koplugin<br>
&gt; -I/home/boud/kde/src/calligra/libs/version<br>
&gt; -I/home/boud/kde/build/calligra/libs/version<br>
&gt; -I/home/boud/kde/src/calligra/libs/pigment<br>
&gt; -I/home/boud/kde/src/calligra/libs/pigment/compositeops<br>
&gt; -I/home/boud/kde/src/calligra/libs/pigment/resources -I/usr/include<br>
&gt; -I/usr/include -I/usr/include/OpenEXR -I/usr/include -mavx -DVC_IMPL=AVX -c<br>
&gt; -oKoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o<br>
&gt; /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp<br>
 &gt;        In file included from<br>
&gt; /home/boud/kde/src/calligra/libs/pigment/DebugPigment.h:23:0,<br>
&gt;                                 from<br>
&gt; /home/boud/kde/src/calligra/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch.cpp:23:<br>
 &gt;        /home/boud/kde/src/calligra/libs/pigment/pigment_export.h:24:23: \
fatal<br> &gt; error: kdemacros.h: No such file or directory<br>
&gt;         #include &lt;kdemacros.h&gt;<br>
&gt;                                          ^<br>
&gt;        compilation terminated.<br>
&gt;        libs/pigment/CMakeFiles/pigmentcms.dir/build.make:72: recipe for \
target<br> &gt; &#39;libs/pigment/KoOptimizedCompositeOpFactoryPerArch_AVX.cpp.o&#39; \
failed<br> &gt;<br>
&gt;<br>
&gt; And that&#39;s where I&#39;m totally stuck. It seems the cmake 3.0/kf5/e-c-m \
(I<br> &gt; don&#39;t know where this system came from) is incompatible with a key \
libary<br> &gt; that I have to use. We can&#39;t drop using Vc, we cannot move to a \
newer<br> &gt; release of Vc and I can&#39;t see a way to replicate the functionality \
of<br> &gt; vc_compile_for_all_implementations in our own cmake code either, so \
please<br> &gt; help!<br>
&gt;<br>
&gt; Boudewijn<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Kde-buildsystem mailing list<br>
&gt; <a href="mailto:Kde-buildsystem@kde.org">Kde-buildsystem@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/kde-buildsystem" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-buildsystem</a><br> \
&gt;<br> <br>
Including kde-windows, they are more likely to know what&#39;s going on...<br>
<br>
Aleix<br>
_______________________________________________<br>
calligra-devel mailing list<br>
<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br> \
</blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic