Alexander Neundorf wrote: > On Sunday 14 May 2006 18:02, Christian Ehrlicher wrote: >> Peter Kümmel schrieb: >>> Something for the kdewin32 TODO list: >>> >>> >>> makekdewidgets throws an assert in win/src/mmap.c: >>> >>> line 117: >>> hfd = (HANDLE)_get_osfhandle( fd ); >>> >>> >>> When the mmap call is avoided then makekdewidgets >>> does not crash: >> I wonder how often I have to say this - you *can't* mix debug and relase >> libs as you do here. Because of this I stopped msvc compilation - the >> kdelibs need a debug prefix like the qt libs have. > > Ok, so what exactly is required ? > > if (MSVC) > set(DEBUG_POSTFIX "_debug") > endif (MSVC) > > and then always only use debug versions of all kde libs in debug build mode ? > > Bye > Alex
kdelibs/win already generates and installs kdewin32d.lib by default due to the cmake line set(CMAKE_DEBUG_POSTFIX "d") But the problem is that the rest of kdelibs links against the release dlls of Qt: *4.dll instead of d4.dll I don't know if the gnuwin32 libraries make problems. Peter _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem