[Ktechlab-devel] compile fail
Zoltan Padrah
zoltan.padrah at gmail.com
Thu Oct 11 16:08:52 BST 2018
WADE MAXFIELD <wade.maxfield at 4gwireline.com> ezt írta (időpont: 2018. okt.
11., Cs, 18:03):
> I am pulling from ktechlab’s repository.
>
>
I've pushed both master and fix-osx-build-v2 there (
github.com/ktechlab/ktechlab ). Feel free to pull.
> Not sure how to tap the kde repository without a lot of research. Do
> you have a command line for me?
>
>
git clone git://anongit.kde.org/ktechlab.git
also there is a web UI for it : https://cgit.kde.org/ktechlab.git/
> I just signed up for the kde mailing list. If your next contact comes
> from both I can reply and we should be using the mailing list you indicated
> should be preferred.
>
>
I'm sending this message to both lists.
>
>
> On Oct 11, 2018, at 9:59 AM, Zoltan Padrah <zoltan.padrah at gmail.com>
> wrote:
>
> You have found the bug for which I hope to have a fix. Please try to build
> branch fix-osx-build-v1 or fix-osx-build-v2 ; both branches can be found on
> KDE git (or are you pulling from ktechlab's github repository?)
>
> The fix itself is the same for both branches, v2 is based on newer master
> and it should include the script ' build-simple.sh ' with workaround for
> the header file generation issue.
>
>
>
> WADE MAXFIELD <wade.maxfield at 4gwireline.com> ezt írta (időpont: 2018.
> okt. 11., Cs, 17:49):
>
>> Hmmm…..
>>
>> Some dereferenced null pointer warnings, and then x11setscreen…..
>>
>> canvas error came back??? I pulled from git….
>>
>> [ 4%] Building CXX object
>> src/CMakeFiles/test_ktechlab.dir/ktechlab.cpp.o
>> In file included from
>> /Users/maxfield/ktechlabLatest/ktechlab/src/ktechlab.cpp:38:
>> In file included from
>> /Users/maxfield/ktechlabLatest/ktechlab/src/textdocument.h:22:
>> In file included from /opt/local/include/KDE4/ktexteditor/document.h:26:
>> */opt/local/include/KDE4/ktexteditor/cursor.h:309:12: **warning: **reference
>> cannot be bound to dereferenced null pointer in*
>> * well-defined C++ code; pointer may be assumed to always convert to
>> true [-Wundefined-bool-conversion]*
>> if (&cursor)
>> * ~~ ^~~~~~*
>> In file included from
>> /Users/maxfield/ktechlabLatest/ktechlab/src/ktechlab.cpp:38:
>> In file included from
>> /Users/maxfield/ktechlabLatest/ktechlab/src/textdocument.h:22:
>> In file included from /opt/local/include/KDE4/ktexteditor/document.h:27:
>> */opt/local/include/KDE4/ktexteditor/range.h:572:12: **warning: **reference
>> cannot be bound to dereferenced null pointer in*
>> * well-defined C++ code; pointer may be assumed to always convert to
>> true [-Wundefined-bool-conversion]*
>> if (&range)
>> * ~~ ^~~~~*
>> */Users/maxfield/ktechlabLatest/ktechlab/src/ktechlab.cpp:791:29: **warning:
>> **comparison of integers of different signs:*
>> * 'unsigned int' and 'int' [-Wsign-compare]*
>> for ( unsigned i = 0; i < name.length();
>> ++i )
>>
>> *……..*
>>
>> [ 18%] Building CXX object src/CMakeFiles/test_ktechlab.dir/canvas.cpp.o
>> */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:367:18: **warning:
>> **unused variable 'item' [-Wunused-variable]*
>> KtlQCanvasItem* item;
>> * ^*
>> */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:521:10: **error:
>> **no member named 'x11SetScreen' in 'QPixmap'*
>> offscr.x11SetScreen(p->device()->x11Screen());
>> * ~~~~~~ ^*
>> */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:521:36: **error:
>> **no member named 'x11Screen' in 'QPaintDevice'*
>> offscr.x11SetScreen(p->device()->x11Screen());
>> * ~~~~~~~~~~~ ^*
>> */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:835:17: **error:
>> **no member named 'x11SetScreen' in 'QPixmap'*
>> if (p) offscr.x11SetScreen(p->device()->x11Screen());
>> * ~~~~~~ ^*
>> */Users/maxfield/ktechlabLatest/ktechlab/src/canvas.cpp:835:43: **error:
>> **no member named 'x11Screen' in 'QPaintDevice'*
>> if (p) offscr.x11SetScreen(p->device()->x11Screen());
>> * ~~~~~~~~~~~ ^*
>> 1 warning and 4 errors generated.
>> make[2]: *** [src/CMakeFiles/test_ktechlab.dir/canvas.cpp.o] Error 1
>> make[1]: *** [src/CMakeFiles/test_ktechlab.dir/all] Error 2
>>
>> * ~ ^ ~~~~~~~~~~~~~*
>>
>>
>> On Oct 11, 2018, at 9:31 AM, WADE MAXFIELD <wade.maxfield at 4gwireline.com>
>> wrote:
>>
>> make -f src/gui/CMakeFiles/gui.dir/build.make
>> src/gui/ui_contexthelpwidget.h
>> [ 6%] *Generating ui_contexthelpwidget.h*
>>
>>
>>
>> On Oct 11, 2018, at 2:36 AM, Zoltan Padrah <zoltan.padrah at gmail.com>
>> wrote:
>>
>> make -f src/gui/CMakeFiles/gui.dir/build.make
>> src/gui/ui_contexthelpwidget.h
>>
>>
>>
>> _______________________________________________
>> Ktechlab-devel mailing list
>> Ktechlab-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
>>
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
>
>
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20181011/80dc9012/attachment-0001.html>
More information about the Ktechlab-devel
mailing list