Issues with building kdeconnect on Windows

Aleix Pol aleixpol at kde.org
Thu Apr 16 22:46:15 BST 2020


On Sun, Apr 12, 2020 at 5:09 PM Piyush Aggarwal <piyushaggarwal002 at gmail.com>
wrote:

> Hey Daniel, sorry for not replying earlier. I hope this mail finds you in
> good health. :)
> Please check out the Test Release 02 for KDE Connect for WIndows here :
> https://www.reddit.com/r/Windows10/comments/fyn65s/test_release_02_kde_connect_for_windows/
>
> Best
> Piyush Aggarwal
>
> On Wed, 25 Mar 2020 at 14:17, 종잇조각 <daniel9607 at hanmail.net> wrote:
>
>> Hi,
>>
>> 
>>
>> I'm currently having a hard time building kdeconnect with craft on
>> Windows 10.
>>
>> Here's the error log.
>>
>> 
>>
>> PS C:\CraftRoot\build> craft -i kdeconnect-kde
>> Craft               : C:\CraftRoot
>> Version             : master
>> ABI                 : windows-msvc2017_64-cl
>> Download directory  : C:\CraftRoot\download
>>
>>
>> ==============================================================================
>>
>> ... (omitted) ...
>>
>> [49/64] Building CXX object
>> autotests\CMakeFiles\rfc2047test.dir\rfc2047test.cpp.obj
>> FAILED: autotests/CMakeFiles/rfc2047test.dir/rfc2047test.cpp.obj
>> C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1416~1.270\bin\Hostx64\x64\cl.exe
>> /nologo /TP -DKCODECS_DEPRECATED_WARNINGS_SINCE=0x0
>> -DKCODECS_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0
>> -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB
>> -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
>> -DQT_DISABLE_DEPRECATED_BEFORE=0x050d00 -DQT_NO_CAST_FROM_ASCII
>> -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG
>> -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
>> -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING
>> -DQT_TESTCASE_BUILDDIR=\"C:/CraftRoot/build/_/2fcbfb99/build\"
>> -DQT_TESTLIB_LIB -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32_LEAN_AND_MEAN
>> -DWINVER=0x0600 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE
>> -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE
>> -D_USE_MATH_DEFINES -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0600 -Iautotests
>> -IC:\CraftRoot\build\_\1ae45ebc\kcodecs\autotests
>> -Iautotests\rfc2047test_autogen\include -Isrc
>> -IC:\CraftRoot\build\_\1ae45ebc\kcodecs\src -IC:\CraftRoot\include\qt5
>> -IC:\CraftRoot\include\qt5\QtCore -IC:\CraftRoot\.\mkspecs\win32-msvc
>> -IC:\CraftRoot\include\qt5\QtTest /DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd4250
>> /wd4251 /wd4396 /wd4661 /MD /Zi /O2 /Ob1 /DNDEBUG /showIncludes
>> /Foautotests\CMakeFiles\rfc2047test.dir\rfc2047test.cpp.obj
>> /Fdautotests\CMakeFiles\rfc2047test.dir\ /FS -c
>> C:\CraftRoot\build\_\1ae45ebc\kcodecs\autotests\rfc2047test.cpp
>> C:\CraftRoot\build\_\1ae45ebc\kcodecs\autotests\rfc2047test.cpp(99):
>> error C2001: newline in constant
>> C:\CraftRoot\build\_\1ae45ebc\kcodecs\autotests\rfc2047test.cpp(101):
>> error C2143: syntax error: missing ')' before 'QTest::newRow'
>> C:\CraftRoot\build\_\1ae45ebc\kcodecs\autotests\rfc2047test.cpp(101):
>> error C2143: syntax error: missing ';' before 'QTest::newRow'
>> [50/64] Building CXX object
>> autotests\CMakeFiles\rfc2047test.dir\rfc2047test_autogen\mocs_compilation.cpp.obj
>> [51/64] Building CXX object
>> autotests\CMakeFiles\kencodingprobertest.dir\kencodingprobertest.cpp.obj
>> [52/64] Building CXX object
>> autotests\CMakeFiles\codectest.dir\codectest.cpp.obj
>> [53/64] Building CXX object
>> autotests\CMakeFiles\kemailaddresstest.dir\kemailaddresstest_autogen\mocs_compilation.cpp.obj
>> [54/64] Building CXX object
>> autotests\CMakeFiles\kemailaddresstest.dir\kemailaddresstest.cpp.obj
>> ninja: build stopped: subcommand failed.
>> Action: compile for kde/frameworks/tier1/kcodecs:master FAILED
>> *** Craft all failed: kde/frameworks/tier1/kcodecs after 31 seconds ***
>> fatal error: package kde/frameworks/tier1/kcodecs all failed
>> Craft stopped with out completing ['kde/frameworks/tier1/kcodecs',
>> 'kde/frameworks/tier1/kconfig', 'libs/libarchive',
>> 'kde/frameworks/tier1/karchive', 'libs/libxslt', 'data/docbook-dtd',
>> 'data/docbook-xsl', 'perl-modules/xml-parser', 'perl-modules/uri-url',
>> 'kde/frameworks/tier2/kdoctools', 'kde/frameworks/tier1/kguiaddons',
>> 'kde/frameworks/tier1/kwidgetsaddons',
>> 'kde/frameworks/tier3/kconfigwidgets', 'kde/frameworks/tier1/kdbusaddons',
>> 'kde/frameworks/tier1/kitemviews', 'kde/frameworks/tier1/breeze-icons',
>> 'kde/frameworks/tier3/kiconthemes', 'libs/qt5/qtwinextras',
>> 'kde/frameworks/tier1/kwindowsystem', 'kde/frameworks/tier2/kcrash',
>> 'kde/frameworks/tier3/kservice', 'qt-libs/phonon', 'dev-utils/snoretoast',
>> 'kde/frameworks/tier3/knotifications', 'kde/frameworks/tier3/kglobalaccel',
>> 'libs/qt5/qtspeech', 'kde/frameworks/tier2/kcompletion',
>> 'kde/frameworks/tier1/sonnet', 'kde/frameworks/tier3/ktextwidgets',
>> 'kde/frameworks/tier1/attica', 'kde/frameworks/tier3/kxmlgui',
>> 'kde/frameworks/tier3/kbookmarks', 'kde/frameworks/tier2/kjobwidgets',
>> 'kde/frameworks/tier1/solid', 'libs/mingw-crt4msvc', 'libs/gpg-error',
>> 'libs/gcrypt', 'libs/assuan2', 'libs/gpgme',
>> 'kde/frameworks/tier3/kwallet', 'kde/frameworks/tier3/kio',
>> 'kde/frameworks/tier2/kpackage', 'kde/frameworks/tier3/kdeclarative',
>> 'kde/frameworks/tier3/kcmutils', 'libs/qt5/qtgraphicaleffects',
>> 'libs/qt5/qtquickcontrols2', 'kde/frameworks/tier1/kirigami',
>> 'kde/frameworks/tier3/kpeople', 'kde/frameworks/tier2/kcontacts',
>> 'kde/unreleased/kpeoplevcard', 'libs/qt5/qtmultimedia',
>> 'extragear/kdeconnect-kde']
>>
>> 
>>
>> Please tell me if any additional information is needed to figure out
>> what the problem is.
>>
>> Thank you in advance.
>>
>> 
>>
>> Best regards,
>>
>> Jongeui
>>
>
Hi Piyush,
I don't think it's a good idea to be telling people in the internets to get
Windows binaries from random non-KDE websites.

If it's not a final release it should come from the binary factory, if it's
final it should probably be in the Store or at least
https://kdeconnect.kde.org/.

Also you didn't reply to his question, he wants it to compile.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20200416/249a4035/attachment-0001.html>


More information about the KDEConnect mailing list