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