[krita] [Bug 369303] Krita fails to build in Debug mode

2016-11-01 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=369303 Boudewijn Rempt changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread Lee Zhen Yong via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #10 from Lee Zhen Yong --- => Are you sure you're building everything from scratch? Yep. The install and build folder are emptied out before I rebuild. -- You are receiving this mail because: You are watching all bug changes.

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #9 from alvinhoc...@gmail.com --- In fact --export-all-symbols should not be in the linker flags at all, exported functions should be marked `__declspec(dllexport)` properly or be using a .def file. It seems that CMAKE_WINDOWS_EXPORT_ALL_SYM

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #8 from alvinhoc...@gmail.com --- Are you sure you're building everything from scratch? The easiest way to make sure is to delete the build and install dir. >From what I see though, that function is declared in Vc/version.h and not marked `d

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread Lee Zhen Yong via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #7 from Lee Zhen Yong --- You know what, I should paste the full error message: [142/1938] Linking CXX shared library bin\libkritalibbrush.dll FAILED: bin/libkritalibbrush.dll lib/libkritalibbrush.dll.a cmd.exe /C "cd . && C:\TDM-GCC-64\bin

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread Lee Zhen Yong via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #6 from Lee Zhen Yong --- Aite. As suggested, for Qt I've modified the CMakeLists.txt to replace "-release" with "-debug" in CONFIGURE_COMMAND /configure.bat. For boost CMakeLists.txt, in "BUILD_COMMAND /b2.exe" change variant from "release

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #5 from alvinhoc...@gmail.com --- Actually, Qt has more flags than that: >-release ... Compile and link Qt with debugging turned off. > * -debug . Compile and link Qt with debugging turned on. > + -debug-and-release

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #4 from alvinhoc...@gmail.com --- configure.bat of Qt has the `-debug-and-release` flag which will build both the debug and release versions at the same time. Or you can just use `-debug` for a debug-only build. I would suggest doing an out-o

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread Lee Zhen Yong via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #3 from Lee Zhen Yong --- _drat. I can't edit comments here..._ I meant to say I can change the build modes for all 3rd party libraries except Qt and Boost. -- You are receiving this mail because: You are watching all bug changes.

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread Lee Zhen Yong via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 --- Comment #2 from Lee Zhen Yong --- Owh... that would probably be the reason why. The error messages aren't very helpful in pointing that out. I know how to change the modes for all 3rd party libraries (setting "GLOBAL_BUILD_TYPE" in 3rdparty/CMakeL

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-26 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 Boudewijn Rempt changed: What|Removed |Added CC||b...@valdyas.org --- Comment #1 from Boudewij

[krita] [Bug 369303] Krita fails to build in Debug mode

2016-09-24 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369303 alvinhoc...@gmail.com changed: What|Removed |Added CC||alvinhoc...@gmail.com -- You are receiv