TESTING Tarballs for 2.4.0

Yu Jin technikmagma at gmail.com
Tue May 14 16:34:50 UTC 2024


Am Di., 14. Mai 2024 um 17:54 Uhr schrieb Kornel Benko:

> Am Tue, 14 May 2024 17:41:46 +0200
> schrieb Yu Jin:
>
> > Am Mo., 13. Mai 2024 um 23:49 Uhr schrieb Richard Kimberly Heck:
> >
> > > Hi, all,
> > >
> > > Tarballs for 2.4.0 are here:
> > >
> > >      http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/
> > >
> > > Please test. Please let me know if I forgot to do or include anything.
> > >
> > > Hold off on binaries for now.
> > >
> >
> > Cmake fails, I get this error
> >
> > C:\lyx>"C:\Program Files\CMake\bin\cmake.exe" -S lyx-2.4.0 -G "Visual
> > Studio 17 2022" -A x64 -DLYX_EXTERNAL_DTL=0 -DLYX_USE_QT=QT6
> > -DLYX_INSTALL=1 -DLYX_CONSOLE=0
> > -DGNUWIN32_DIR=C:\lyx\lyx-windows-deps-msvc2023_64
> > -DCMAKE_PREFIX_PATH=C:\Qt\6.7.0\msvc2019_64 -B
> "C:\lyx\lyx-2.4.0-build-64"
> > CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
> >   Compatibility with CMake < 3.5 will be removed from a future version of
> >   CMake.
> >
> >   Update the VERSION argument <min> value or use a ...<max> suffix to
> tell
> >   CMake that the project does not need compatibility with older versions.
> >
> >
> > -- TOP_SRC_DIR = C:/lyx/lyx-2.4.0
> > --
> > -- Building out-of-source
> > -- Selecting Windows SDK version 10.0.22621.0 to target Windows
> 10.0.22631.
> > CMake Error at development/cmake/modules/LyXMacros.cmake:466 (message):
> >   "C:/lyx/lyx-2.4.0/configure.ac": Unable to determine build-type from
> > suffix
> >   "" in AC_INIT macro
> > Call Stack (most recent call first):
> >   CMakeLists.txt:120 (determineversionandbuildtype)
> >
> >
> > -- Configuring incomplete, errors occurred!
> >
> >
>
> Corrected at 5eaa03a1, sorry.
>

Well, the 2.4.x branch still does not compile:

Build started at 18:30...
1>------ Build started: Project: support (applications\LyX\support),
Configuration: Debug x64 ------
1>ConsoleApplication.cpp
1>Package.cpp
1>C:\lyx\master\src\support\Package.cpp(553,29): error C2065:
'LYX_DIR_VER': undeclared identifier
1>C:\lyx\master\src\support\Package.cpp(556,46): error C2065:
'LYX_DIR_VER': undeclared identifier
1>C:\lyx\master\src\support\Package.cpp(650,47): error C2065:
'LYX_DIR_VER': undeclared identifier
1>C:\lyx\master\src\support\Package.cpp(666,31): error C2065:
'LYX_USERDIR_VER': undeclared identifier
1>PathChanger.cpp
1>gzstream.cpp
1>C:\lyx\master\src\support\gzstream.cpp(92,19): warning C4244:
'initializing': conversion from '__int64' to 'int', possible loss of data
1>C:\lyx\master\src\support\gzstream.cpp(113,11): warning C4244:
'initializing': conversion from '__int64' to 'int', possible loss of data
1>gettext.cpp
1>Generating Code...
1>Done building project "support.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
========== Build completed at 18:30 and took 03,018 seconds ==========

or here

Build started at 18:33...
1>------ Build started: Project: LyX (applications\LyX\LyX), Configuration:
Debug x64 ------
1>version.cpp
1>C:\lyx\master\src\version.cpp(25,38): error C2065: 'NOTFOUND': undeclared
identifier
1>C:\lyx\master\src\version.cpp(26,38): error C2065: 'NOTFOUND': undeclared
identifier
1>Done building project "LyX.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 18:33 and took 00,368 seconds ==========

not sure why it says NOTFOUND here, line 25 and 26 are actually:

extern const int lyx_version_major = LYX_MAJOR_VERSION;
extern const int lyx_version_minor = LYX_MINOR_VERSION;

Those definitions are not found though.

-- 
  Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240514/79805f0c/attachment.html>


More information about the lyx-devel mailing list