Uwe Stöhr wrote: > Am 07.12.2015 um 20:58 schrieb Georg Baum: > >>> So since I cannot compile iconv and friends with MSVC 2013, I cannot >>> release a LyX 2.2 version? >> >> There are only two options: Either you recompile all dependencies >> (including qt btw, if no binary package compiled with MSVC 2013 is >> offered) > > Then LyX for Windows is dead.
Not at all. But maybe I should stop trying to help with MSVC and use the time to study cross-compilation with mingw, the ROI is probably much better for this alternative. > Nice and I can even compile iconv.dll with this and MSVC 2013 but when I > use the created iconv.lib and iconv.h in the dependencies I get > compilation errors with LyX: > > D:/LyXGit/Master/src/support/docstream.cpp(280): error C2664: 'size_t > libiconv(libiconv_t,char **,size_t *,char **,size_t *)' : cannot convert > argument 2 from 'const char **' to 'char **' > [D:\LyXGit\Master\compile-2013\src\support\support.vcxproj] > D:/LyXGit/Master/src/support/unicode.cpp(145): error C2664: 'size_t > libiconv(libiconv_t,char **,size_t *,char **,size_t *)' : cannot convert > argument 2 from 'const char **' to 'char **' > [D:\LyXGit\Master\compile-2013\src\support\support.vcxproj] > > Of course I can change unicode.cpp and docstream.cpp but then you will > get compilation problems, right? The determination of the macro ICONV_CONST would need to be adjusted in cmake. The cpp files are fine as they are. Georg