2.3.x does not compile on Windows
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sun Apr 7 18:40:18 UTC 2024
Le 05/04/2024 à 22:12, Yu Jin a écrit :
> Hi,
>
> Since 2.3.8 is around the corner I thought to try compiling the 2.3.x
> branch but failed on Format.cpp, get these errors:
>
> Build started at 22:05...
> 1>------ Build started: Project: LyX (applications\LyX\LyX),
> Configuration: Debug x64 ------
> 1>Format.cpp
> 1>C:\lyx\master\src\Format.cpp(61,33): error C2504: 'unary_function':
> base class undefined
> 1>C:\lyx\master\src\Format.cpp(61,47): error C2143: syntax error:
> missing ',' before '<'
> 1>C:\lyx\master\src\Format.cpp(75,38): error C2504: 'unary_function':
> base class undefined
> 1>C:\lyx\master\src\Format.cpp(75,52): error C2143: syntax error:
> missing ',' before '<'
> 1>C:\lyx\master\src\Format.cpp(89,32): error C2504: 'unary_function':
> base class undefined
> 1>C:\lyx\master\src\Format.cpp(89,46): error C2143: syntax error:
> missing ',' before '<'
> 1>C:\lyx\master\src\Format.cpp(608,18): warning C4244: 'return':
> conversion from '__int64' to 'int', possible loss of data
> 1>Done building project "LyX.vcxproj" -- FAILED.
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> ========== Build completed at 22:05 and took 00,762 seconds ==========
>
> Any Ideas?
Can you try to enforce C++11 mode to see whether it works better?
JMarc
More information about the lyx-devel
mailing list