Compile Error under macOS

Christoph Schmitz chr.schmitz at web.de
Mon Dec 6 05:25:59 UTC 2021


I compile LyX on two MacBooks (one Intel Core i7, and one Apple M1), both running macOS 12.1 Beta (21C5045a).

Chris


> Am 05.12.2021 um 22:49 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 05.12.2021 um 22:32 schrieb Christoph Schmitz <chr.schmitz at web.de>:
>> 
>> The latest changes have introduced an issue for macOS X (Qt 6).
> 
> What’s your Qt version? I’m using 6.2.0 on macOS 11.1 (with 11.1 SDK) and it works with minimum of macOS 10.14.
> 
> Stephan
> 
>> 
>> These are the last lines of the output before the error occurs:
>> 
>> file included from filetools.cpp:42:
>> In file included from /opt/homebrew/lib/QtCore.framework/Headers/QDir:1:
>> In file included from /opt/homebrew/lib/QtCore.framework/Headers/qdir.h:45:
>> /opt/homebrew/lib/QtCore.framework/Headers/qfileinfo.h:118:14: error: '~path' is unavailable: introduced in macOS 10.15
>>    { return QtPrivate::toFilesystemPath(filePath()); }
>>             ^
>> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:961:3: note: '~path' has been explicitly marked unavailable here
>>  ~path() = default;
>>  ^
>> In file included from filetools.cpp:42:
>> In file included from /opt/homebrew/lib/QtCore.framework/Headers/QDir:1:
>> In file included from /opt/homebrew/lib/QtCore.framework/Headers/qdir.h:45:
>> /opt/homebrew/lib/QtCore.framework/Headers/qfileinfo.h:120:14: error: '~path' is unavailable: introduced in macOS 10.15
>>    { return QtPrivate::toFilesystemPath(absoluteFilePath()); }
>>             ^
>> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/filesystem:961:3: note: '~path' has been explicitly marked unavailable here
>>  ~path() = default;
>>  ^
>> fatal error: too many errors emitted, stopping now [-ferror-limit=]
>> 20 errors generated.
>> make[5]: *** [filetools.o] Error 1
>> make[4]: *** [all] Error 2
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> I also try to attach the full log, but last time it was removed from the mailer.
>> 
>> Chris
>> 
>> <MakeLyX.log>
>> -- 
>> lyx-devel mailing list
>> lyx-devel at lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-devel
> 



More information about the lyx-devel mailing list