Am So., 17. Sept. 2023 um 07:23 Uhr schrieb Yu Jin <technikma...@gmail.com>:

> When I configure for the first time (into an empty folder) I get this
> error:
>
> CMake Error at
> C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
> (include_directories):
>   Error evaluating generator expression:
>
>     $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>
>
>   Target "Qt6::ZlibPrivate" not found.
>
> (full log attached)
>
Log

> If I ignore this error and click configure again it works. Looks like it
> only occurs with Qt6.
>
-- 
  Eugene
TOP_SRC_DIR = C:/lyx/master

Building out-of-source
Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
Selecting build type defaults from configure.ac
Found GNUWIN32: C:/lyx/lyx-windows-deps-msvc2023_64

CXX11_FLAG_DETECTED = "/std:c++20"
Compiler supports std_regex
Found CXX11Compiler: /std:c++20  
CMAKE_CXX_STANDARD set to 20
Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Found Threads: TRUE  
Performing Test HAVE_STDATOMIC
Performing Test HAVE_STDATOMIC - Success
Found WrapAtomic: TRUE  
Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
Found Qt-Version 6.5.2
Looking for magic_file
Looking for magic_file - not found
Function magic_file not found
Looking for magic_open
Looking for magic_open - not found
Function magic_open not found
Looking for magic_load
Looking for magic_load - not found
Function magic_load not found
Looking for magic_close
Looking for magic_close - not found
Function magic_close not found
Looking for magic_error
Looking for magic_error - not found
Function magic_error not found
Could NOT find Magic (missing: Magic_INCLUDE_DIR Magic_LIBRARY 
HAS_MAGIC_FUNCTIONS) 
  * Hunspell:
     - include: 
C:/lyx/master/3rdparty/hunspell/1.7.0/src/hunspell;C:/lyx/master/3rdparty/hunspell/1.7.0/src
     - library: hunspell
Could NOT find ASPELL (missing: ASPELL_LIBRARY ASPELL_INCLUDE_DIR) 
ASPELL not found, building without ASPELL support
Could NOT find ENCHANT (missing: ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR) 
ENCHANT not found, building without ENCHANT support
Building with USE_HUNSPELL
Could NOT find LYX_PY_polib (missing: LYX_PY_POLIB) 
You will be unable to update layouttranslations file
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of ptrdiff_t
Check size of ptrdiff_t - done
Check size of sig_atomic_t
Check size of sig_atomic_t - done
Check size of size_t
Check size of size_t - done
Check size of wchar_t
Check size of wchar_t - done
Check size of wint_t
Check size of wint_t - done
Check size of long long int
Check size of long long int - done
Check size of unsigned long long int
Check size of unsigned long long int - done
Check size of _Bool
Check size of _Bool - done
Looking for include file alloca.h
Looking for include file alloca.h - not found
Looking for include file dlfcn.h
Looking for include file dlfcn.h - not found
Looking for include file inttypes.h
Looking for include file inttypes.h - found
Looking for include file mach-o/dyld.h
Looking for include file mach-o/dyld.h - not found
Looking for include file memory.h
Looking for include file memory.h - found
Looking for include file search.h
Looking for include file search.h - found
Looking for include file stdlib.h
Looking for include file stdlib.h - found
Looking for include file strings.h
Looking for include file strings.h - not found
Looking for include file string.h
Looking for include file string.h - found
Looking for include file sys/bitypes.h
Looking for include file sys/bitypes.h - not found
Looking for include file sys/inttypes.h
Looking for include file sys/inttypes.h - not found
Looking for include file sys/param.h
Looking for include file sys/param.h - not found
Looking for include file sys/socket.h
Looking for include file sys/socket.h - not found
Looking for include file sys/stat.h
Looking for include file sys/stat.h - found
Looking for include file sys/time.h
Looking for include file sys/time.h - not found
Looking for include file unistd.h
Looking for include file unistd.h - not found
Looking for include file wchar.h
Looking for include file wchar.h - found
Looking for include file winsock2.h
Looking for include file winsock2.h - found
Looking for canonicalize_file_name
Looking for canonicalize_file_name - not found
Looking for dcgettext
Looking for dcgettext - not found
Looking for gettext
Looking for gettext - not found
Looking for iconv
Looking for iconv - not found
Looking for lstat
Looking for lstat - not found
Looking for mbrtowc
Looking for mbrtowc - found
Looking for mbsinit
Looking for mbsinit - not found
Looking for memmove
Looking for memmove - found
Looking for atoll
Looking for atoll - found
Looking for chown
Looking for chown - not found
Looking for dprintf
Looking for dprintf - not found
Looking for dup2
Looking for dup2 - found
Looking for dup3
Looking for dup3 - not found
Looking for endusershell
Looking for endusershell - not found
Looking for environ
Looking for environ - not found
Looking for euidaccess
Looking for euidaccess - not found
Looking for faccessat
Looking for faccessat - not found
Looking for fchdir
Looking for fchdir - not found
Looking for fchmodat
Looking for fchmodat - not found
Looking for fchownat
Looking for fchownat - not found
Looking for fcntl
Looking for fcntl - not found
Looking for ffsl
Looking for ffsl - not found
Looking for ffsll
Looking for ffsll - not found
Looking for fpurge
Looking for fpurge - not found
Looking for fseeko
Looking for fseeko - not found
Looking for fstatat
Looking for fstatat - not found
Looking for fsync
Looking for fsync - not found
Looking for ftello
Looking for ftello - not found
Looking for ftruncate
Looking for ftruncate - not found
Looking for futimens
Looking for futimens - not found
Looking for getcwd
Looking for getcwd - found
Looking for getdelim
Looking for getdelim - not found
Looking for getdomainname
Looking for getdomainname - not found
Looking for canonicalize_file_name
Looking for canonicalize_file_name - not found
Looking for getdtablesize
Looking for getdtablesize - not found
Looking for getgroups
Looking for getgroups - not found
Looking for gethostname
Looking for gethostname - not found
Looking for getline
Looking for getline - not found
Looking for getloadavg
Looking for getloadavg - not found
Looking for getlogin
Looking for getlogin - not found
Looking for getlogin_r
Looking for getlogin_r - not found
Looking for getpagesize
Looking for getpagesize - not found
Looking for getsubopt
Looking for getsubopt - not found
Looking for getusershell
Looking for getusershell - not found
Looking for grantpt
Looking for grantpt - not found
Looking for group_member
Looking for group_member - not found
Looking for initstat_r
Looking for initstat_r - not found
Looking for lchmod
Looking for lchmod - not found
Looking for lchown
Looking for lchown - not found
Looking for link
Looking for link - not found
Looking for linkat
Looking for linkat - not found
Looking for lseek
Looking for lseek - found
Looking for lstat
Looking for lstat - not found
Looking for memmem
Looking for memmem - not found
Looking for mempcpy
Looking for mempcpy - not found
Looking for memrchr
Looking for memrchr - not found
Looking for mkdirat
Looking for mkdirat - not found
Looking for mkdtemp
Looking for mkdtemp - not found
Looking for mkfifo
Looking for mkfifo - not found
Looking for mkfifoat
Looking for mkfifoat - not found
Looking for mknod
Looking for mknod - not found
Looking for mknodat
Looking for mknodat - not found
Looking for mkostemp
Looking for mkostemp - not found
Looking for mkostemps
Looking for mkostemps - not found
Looking for openat
Looking for openat - not found
Looking for pipe
Looking for pipe - not found
Looking for pipe2
Looking for pipe2 - not found
Looking for popen
Looking for popen - not found
Looking for pread
Looking for pread - not found
Looking for pthread_sigmask
Looking for pthread_sigmask - not found
Looking for ptsname
Looking for ptsname - not found
Looking for pwrite
Looking for pwrite - not found
Looking for random_r
Looking for random_r - not found
Looking for rawmemchr
Looking for rawmemchr - not found
Looking for readlink
Looking for readlink - not found
Looking for readlinkat
Looking for readlinkat - not found
Looking for realpath
Looking for realpath - not found
Looking for renameat
Looking for renameat - not found
Looking for rmdir
Looking for rmdir - found
Looking for rpmatch
Looking for rpmatch - not found
Looking for setenv
Looking for setenv - not found
Looking for setstate_r
Looking for setstate_r - not found
Looking for setusershell
Looking for setusershell - not found
Looking for sigaction
Looking for sigaction - not found
Looking for sigaddset
Looking for sigaddset - not found
Looking for sigdelset
Looking for sigdelset - not found
Looking for sigemptyset
Looking for sigemptyset - not found
Looking for sigfillset
Looking for sigfillset - not found
Looking for sigismember
Looking for sigismember - not found
Looking for sigpending
Looking for sigpending - not found
Looking for sigprocmask
Looking for sigprocmask - not found
Looking for sleep
Looking for sleep - not found
Looking for snprintf
Looking for snprintf - not found
Looking for srandom_r
Looking for srandom_r - not found
Looking for stat
Looking for stat - found
Looking for stpcpy
Looking for stpcpy - not found
Looking for stpncpy
Looking for stpncpy - not found
Looking for strcasestr
Looking for strcasestr - not found
Looking for strchrnul
Looking for strchrnul - not found
Looking for strdup
Looking for strdup - found
Looking for strerror_r
Looking for strerror_r - not found
Looking for strncat
Looking for strncat - found
Looking for strndup
Looking for strndup - not found
Looking for strnlen
Looking for strnlen - found
Looking for strpbrk
Looking for strpbrk - found
Looking for strsignal
Looking for strsignal - not found
Looking for strtod
Looking for strtod - found
Looking for strtok_r
Looking for strtok_r - not found
Looking for strtoll
Looking for strtoll - found
Looking for strtoull
Looking for strtoull - found
Looking for strverscmp
Looking for strverscmp - not found
Looking for symlink
Looking for symlink - not found
Looking for symlinkat
Looking for symlinkat - not found
Looking for tmpfile
Looking for tmpfile - found
Looking for ttyname_r
Looking for ttyname_r - not found
Looking for unlink
Looking for unlink - found
Looking for unlinkat
Looking for unlinkat - not found
Looking for unlockpt
Looking for unlockpt - not found
Looking for unsetenv
Looking for unsetenv - not found
Looking for usleep
Looking for usleep - not found
Looking for utimensat
Looking for utimensat - not found
Looking for vdprintf
Looking for vdprintf - not found
Looking for vsnprintf
Looking for vsnprintf - not found
Looking for _Exit
Looking for _Exit - found
Looking for readlink
Looking for readlink - not found
Looking for readlinkat
Looking for readlinkat - not found
Looking for realpath
Looking for realpath - not found
Looking for setenv
Looking for setenv - not found
Looking for setlocale
Looking for setlocale - found
Looking for strerror_r
Looking for strerror_r - not found
Looking for tsearch
Looking for tsearch - not found
Looking for wcrtomb
Looking for wcrtomb - found
Looking for _NSGetExecutablePath
Looking for _NSGetExecutablePath - not found
Looking for alloca
Looking for alloca - not found
Looking for clearerr_unlocked
Looking for clearerr_unlocked - not found
Looking for feof_unlocked
Looking for feof_unlocked - not found
Looking for ferror_unlocked
Looking for ferror_unlocked - not found
Looking for fflush_unlocked
Looking for fflush_unlocked - not found
Looking for fgets_unlocked
Looking for fgets_unlocked - not found
Looking for fputc_unlocked
Looking for fputc_unlocked - not found
Looking for fputs_unlocked
Looking for fputs_unlocked - not found
Looking for fread_unlocked
Looking for fread_unlocked - not found
Looking for fwrite_unlocked
Looking for fwrite_unlocked - not found
Looking for getchar_unlocked
Looking for getchar_unlocked - not found
Looking for getc_unlocked
Looking for getc_unlocked - not found
Looking for program_invocation_name
Looking for program_invocation_name - not found
Looking for program_invocation_short_name
Looking for program_invocation_short_name - not found
Looking for putchar_unlocked
Looking for putchar_unlocked - not found
Looking for putc_unlocked
Looking for putc_unlocked - not found
Looking for setenv
Looking for setenv - not found
Looking for strerror_r
Looking for strerror_r - not found
Looking for environ
Looking for environ - not found
Looking for getcwd
Looking for getcwd - not found
Looking for getc_unlocked
Looking for getc_unlocked - not found
Looking for nl_langinfo
Looking for nl_langinfo - not found
Looking for mbstate_t
Looking for mbstate_t - not found
Check size of off64_t
Check size of off64_t - failed
Looking for fseeko
Looking for fseeko - not found
Looking for unistd.h
Looking for unistd.h - not found

----- PACKAGE                     : LyX2.4
----- PACKAGE_VERSION             : 2.4.0~RC1.devel
----- PROGRAM_SUFFIX              : 
----- LYX_VERSION                 : 2.4
----- LYX_DIR_VER                 : LYX_DIR_24x
----- LYX_USERDIR_VER             : LYX_USERDIR_24x
----- LYX_ABS_TOP_SRCDIR          : C:/lyx/master
----- LYX_ABS_INSTALLED_DATADIR   : LYX_INSTALLED/Resources/
----- LYX_ABS_INSTALLED_LOCALEDIR : LYX_INSTALLED/Resources/locale
----- LYX_INSTALL_SUFFIX          : 2.4

----- Warning level      : 3  
----- Warnings as errors : /we4101 /we4189
----- Warnings disabled  : /wd4288 /wd4355 /wd4800 /wd4996 /wd4267 /wd4180 
/wd4231

Looking for include file aspell.h
Looking for include file aspell.h - not found
Looking for include file aspell/aspell.h
Looking for include file aspell/aspell.h - not found
Looking for include file limits.h
Looking for include file limits.h - found
Looking for include file locale.h
Looking for include file locale.h - found
Looking for include file sys/utime.h
Looking for include file sys/utime.h - found
Looking for include file utime.h
Looking for include file utime.h - not found
Looking for include file argz.h
Looking for include file argz.h - not found
Looking for C++ include regex
Looking for C++ include regex - found
Looking for __argz_count
Looking for __argz_count - not found
Looking for __argz_next
Looking for __argz_next - not found
Looking for __argz_stringify
Looking for __argz_stringify - not found
Looking for chmod
Looking for chmod - found
Looking for close
Looking for close - found
Looking for _close
Looking for _close - found
Looking for fcntl
Looking for fcntl - not found
Looking for fork
Looking for fork - not found
Looking for __fsetlocking
Looking for __fsetlocking - not found
Looking for getegid
Looking for getegid - not found
Looking for getgid
Looking for getgid - not found
Looking for getpid
Looking for getpid - found
Looking for _getpid
Looking for _getpid - found
Looking for getuid
Looking for getuid - not found
Looking for lockf
Looking for lockf - not found
Looking for mempcpy
Looking for mempcpy - not found
Looking for mkdir
Looking for mkdir - found
Looking for _mkdir
Looking for _mkdir - found
Looking for mkfifo
Looking for mkfifo - not found
Looking for open
Looking for open - found
Looking for _open
Looking for _open - found
Looking for pclose
Looking for pclose - not found
Looking for _pclose
Looking for _pclose - found
Looking for popen
Looking for popen - not found
Looking for _popen
Looking for _popen - found
Looking for putenv
Looking for putenv - found
Looking for strcasecmp
Looking for strcasecmp - not found
Looking for stpcpy
Looking for stpcpy - not found
Looking for strdup
Looking for strdup - found
Looking for strerror
Looking for strerror - found
Looking for strtoul
Looking for strtoul - found
Looking for unsetenv
Looking for unsetenv - not found
Looking for wcslen
Looking for wcslen - found
Looking for alloca
Looking for alloca - found
Looking for asprintf
Looking for asprintf - not found
Looking for wprintf
Looking for wprintf - found
Looking for snprintf
Looking for snprintf - found
Looking for printf
Looking for printf - found
Looking for pid_t
Looking for pid_t - not found
Looking for intmax_t
Looking for intmax_t - not found
Looking for uintmax_t
Looking for uintmax_t - not found
Looking for LC_MESSAGES
Looking for LC_MESSAGES - not found
Looking for PATH_MAX
Looking for PATH_MAX - not found
Check size of intmax_t
Check size of intmax_t - done
Check size of long double
Check size of long double - done
Check size of wchar_t
Check size of wchar_t - done
Check size of wint_t
Check size of wint_t - done
HAVE_HUNSPELL_CXXABI = FALSE
Performing Test SIZEOF_WCHAR_T_IS_2
Performing Test SIZEOF_WCHAR_T_IS_2 - Success
Performing Test SIZEOF_WCHAR_T_IS_4
Performing Test SIZEOF_WCHAR_T_IS_4 - Failed
Performing Test SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG
Performing Test SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG - Success
Performing Test LYX_CALLSTACK_PRINTING
Performing Test LYX_CALLSTACK_PRINTING - Failed
Performing Test lyx_cv_lib_stdcxx
Performing Test lyx_cv_lib_stdcxx - Failed
Performing Test USE_GLIBCXX_CXX11_ABI
Performing Test USE_GLIBCXX_CXX11_ABI - Failed
Performing Test lyx_cv_prog_clang
Performing Test lyx_cv_prog_clang - Failed
Performing Test HAVE_DEF_MAKE_UNIQUE
Performing Test HAVE_DEF_MAKE_UNIQUE - Success
Performing Test LYX_USE_STD_CALL_ONCE
Performing Test LYX_USE_STD_CALL_ONCE - Success
Looking for C++ include QtGui/qtgui-config.h
CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at 
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
 (include_directories):
  Error evaluating generator expression:

    $<TARGET_PROPERTY:Qt6::ZlibPrivate,_qt_module_has_private_headers>

  Target "Qt6::ZlibPrivate" not found.


CMake Error at C:/Program 
Files/CMake/share/cmake-3.26/Modules/CheckIncludeFileCXX.cmake:94 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  development/cmake/ConfigureChecks.cmake:290 (check_include_file_cxx)
  CMakeLists.txt:1146 (include)


Configuring incomplete, errors occurred!
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to