<div dir="ltr">Making the Windows build in Debug config kind of doesn't work. It's a known issue but I don't know exactly how it would've failed on the latest tree. The error you're seeing might be due to something else though. You should try to get a RelWithDebInfo build going first.</div><br><div class="gmail_quote"><div dir="ltr">Boudewijn Rempt <<a href="mailto:boud@valdyas.org">boud@valdyas.org</a>> 於 2018年5月23日週三 上午9:35寫道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On woensdag 23 mei 2018 00:12:25 CEST Nick Weihs wrote:<br>
> Hey all,<br>
> <br>
> I'm using CLI cmake to build with latest from the Krita git repository, and<br>
> I've followed all the steps from the instructions from the 3rd party<br>
> folder.  Building in release works for me.  I've also tried doing a clean<br>
> first.<br>
<br>
I have to admit that I only build with RelWithDebInfo, which works. I know <br>
that we used to have problems building in Debug mode, but that was only with <br>
unittests, these look sort of new to me.<br>
<br>
> <br>
> Here's what I'm seeing when linking libkritaui:<br>
> <br>
> CMakeFiles\kritaui.dir/objects.a(kis_uniform_paintop_property_widget.cpp.obj<br>
> ): In function<br>
> `KisUniformPaintOpPropertyIntSlider::KisUniformPaintOpPropertyIntSlider(QSha<br>
> redPointer<KisUniformPaintOpProperty>, QWidget*)':<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :81: undefined reference to `KisSliderBasedPaintOpProperty<int>::max()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cp<br>
> p:81:(.text+0x496): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<int>::max() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :81: undefined reference to `KisSliderBasedPaintOpProperty<int>::min()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cp<br>
> p:81:(.text+0x4a4): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<int>::min() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :82: undefined reference to<br>
> `KisSliderBasedPaintOpProperty<int>::singleStep() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :82:(.text+0x4c5): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<int>::singleStep() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :83: undefined reference to `KisSliderBasedPaintOpProperty<int>::pageStep()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :83:(.text+0x4e3): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<int>::pageStep() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :85: undefined reference to `KisSliderBasedPaintOpProperty<int>::suffix()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cp<br>
> p:85:(.text+0x51f): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<int>::suffix() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :86: undefined reference to<br>
> `KisSliderBasedPaintOpProperty<int>::exponentRatio() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :86:(.text+0x551): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<int>::exponentRatio()<br>
> const'<br>
> CMakeFiles\kritaui.dir/objects.a(kis_uniform_paintop_property_widget.cpp.obj<br>
> ): In function<br>
> `KisUniformPaintOpPropertyDoubleSlider::KisUniformPaintOpPropertyDoubleSlide<br>
> r(QSharedPointer<KisUniformPaintOpProperty>, QWidget*)':<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :121: undefined reference to<br>
> `KisSliderBasedPaintOpProperty<double>::decimals() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :121:(.text+0x9e6): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<double>::decimals() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :121: undefined reference to `KisSliderBasedPaintOpProperty<double>::max()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cp<br>
> p:121:(.text+0x9f4): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<double>::max() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :121: undefined reference to `KisSliderBasedPaintOpProperty<double>::min()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cp<br>
> p:121:(.text+0xa05): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<double>::min() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :122: undefined reference to<br>
> `KisSliderBasedPaintOpProperty<double>::singleStep() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :122:(.text+0xa33): relocation truncated to fit: R_X86_64_PC32 against<br>
> undefined symbol `KisSliderBasedPaintOpProperty<double>::singleStep()<br>
> const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :124: undefined reference to<br>
> `KisSliderBasedPaintOpProperty<double>::suffix() const'<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :124:(.text+0xa77): additional relocation overflows omitted from the output<br>
> C:/kritabuild/krita/libs/ui/brushhud/kis_uniform_paintop_property_widget.cpp<br>
> :125: undefined reference to<br>
> `KisSliderBasedPaintOpProperty<double>::exponentRatio() const'<br>
> collect2.exe: error: ld returned 1 exit status<br>
> mingw32-make.exe[2]: *** [libs\ui\CMakeFiles\kritaui.dir\build.make:6409:<br>
> bin/libkritaui.dll] Error 1<br>
> mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:16766:<br>
> libs/ui/CMakeFiles/kritaui.dir/all] Error 2<br>
> mingw32-make.exe: *** [Makefile:140: all] Error 2<br>
<br>
<br>
-- <br>
Boudewijn Rempt | <a href="https://www.valdyas.org" rel="noreferrer" target="_blank">https://www.valdyas.org</a> | <a href="https://www.krita.org" rel="noreferrer" target="_blank">https://www.krita.org</a><br>
</blockquote></div>