Am 04.03.2016 um 01:34 schrieb Uwe Stöhr:
I played a bit with Qt5.6RC and the latest MSVC 2015. I can compile current 
master without errors but finally I still get this linking error:

D:\LyXGit\Master\compile-2015\src\tests\check_ExternalTransforms.vcxproj" 
(standard target) (18) ->
   support.lib(os.obj) : error LNK2019: unresolved external symbol ___wgetmainargs 
referenced in function "void __cdecl lyx::support::os::init(int,char * * 
const)" (?init@os@support@lyx@@YAXHQAPAD@Z) 
[D:\LyXGit\Master\compile-2015\src\tests\check_ExternalTransforms.vcxproj]

D:\LyXGit\Master\compile-2015\bin\Release\check_ExternalTransforms.exe : fatal 
error LNK1120: 1 unresolved externals 
[D:\LyXGit\Master\compile-2015\src\tests\check_ExternalTransforms.vcxproj]

for the

- LyX.exe
- check_Length.exe
- check_ExternalTransforms.exe
- check_ListingsCaption.exe
- check_convert.exe

I still cannot imagine that there is a bug in MSVC because I get the same with 
MSVC 2013 and cannot imagine that users did not yet reported such a linking 
error.

Of course I can switch to MinGW but to me its seems we have a real issue that 
should be corrected.
I read that MinGW 4.9 is not fully capable of the windows handling in Win 10 so 
if possible I would prefer using MSVC for maintainability reasons. Of course if 
the mentioned error is not fixable I won't have another option.

thanks and regards
Uwe


___wgetmainargs was removed in 2015.

Please try this patch

https://github.com/syntheticpp/lyx/commit/2470fb442cb2b04a69b2030f28f1da60221556a7?diff=unified

Peter

Reply via email to