https://bugs.kde.org/show_bug.cgi?id=369303

            Bug ID: 369303
           Summary: Krita fails to build in Debug mode
           Product: krita
           Version: git master
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: bruceoutdo...@gmail.com

In the official build instructions krita is built using "RelWithDebInfo", which
is a Release build with debugging information. However release builds optimized
out certain values (like QStrings), which can be useful for programmers when
using a debugger.

The problem is that Krita can build in Release and RelWithDebInfo mode, but
fails in Debug mode. That still means Krita can be built and packaged, but that
doesn't seem like something that should happen. I have replicated this error
about 3 times, and the compile errors consistently points to the VC library (I
rebuilt VC and Krita from scratch a few times to confirm):

C:/dev/install/lib/libVc.a(const.cpp.obj):const.cpp:(.text+0x0): 
multiple definition of `Vc1::Common::checkLibraryAbi(unsigned int, unsigned
int, char const*)'
lib/libkritaimage.dll.a(d008809.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1. When configuring krita, set CMAKE_BUILD_TYPE to "Debug"
2. Build krita.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to