Am Mon, 25 Oct 2021 16:52:32 +0200
schrieb Stephan Witt <st.w...@gmx.net>:
...
> > Does removing line src/tex2lyx/test/CMakeLists.txt:91 help?
> >     DEPENDS ${_tex2lyx} ${_lyx}
> > 
> > If that is the case we have to figure out how to allow this dependency.  
> 
> Ummhh… 
> 
> $ time cmake ...
> real  6m31.442s
> user  1m24.341s
> sys   0m21.489s
> 
> This is a real fast system. But it’s horrible slow.

You are configuring with '-DLYX_ENABLE_EXPORT_TESTS:BOOL=ON' probably. The 
creating of
7000 export tests makes it slow.

> The change to cure the error above is to delete (or comment) lines 94 and 95:
> 
> updatetex2lyxtests DEPENDS Tex2lyxFilesUpdated
> 
> But the build fails with the errors in attached log.
> 
> Stephan
> 
> [xcode-cmake-build.log  application/octet-stream (42288 Bytes)] 

Could you check the difference in the clang-command line (automake vs cmake 
created
commands)?
Maybe difference in include paths. How else can be explained for instance


        In file included
        from /Users/lyx/Development/lyx/src/frontends/WorkAreaManager.cpp:16: 
In file
        included
        from /Users/lyx/Development/lyx/src/frontends/Application.h:17: 
/Users/lyx/Development/lyx/src/support/strfwd.h:56:28:
        error: reference to 'char_traits' is ambiguous typedef 
basic_string<char,
        char_traits<char>, allocator<char> > string;
        ^ /Users/lyx/Development/lyx/src/support/strfwd.h:49:32: note: 
candidate found by
        name lookup is 'std::char_traits' template<typename Char> struct 
char_traits;

?

        Kornel

Attachment: pgpscJYimyLIw.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to