2.3.x does not compile on Windows

Yu Jin technikmagma at gmail.com
Mon Apr 8 17:36:40 UTC 2024


Am So., 7. Apr. 2024 um 20:40 Uhr schrieb Jean-Marc Lasgouttes <
lasgouttes at lyx.org>:

> 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?


That's a problem, I am not able to select C++11:
[image: image.png]
even installed an older Windows SDK and ran CMake reconfigure completely
new.

-- 
  Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240408/28264d5b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16163 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240408/28264d5b/attachment-0001.png>


More information about the lyx-devel mailing list