It has occurred to me that something is wrong with this build because to have multiple definitions of functions, so I must be including things twice, once where I shouldn't. This is probably it. I'll report back once I figure this out.
Thanks for the help, Lorenzo Il giorno lun 18 nov 2024 alle ore 10:41 Lorenzo Bertini < [email protected]> ha scritto: > I'm on GCC 14, Fedora 41. C++ standard is set to C++17. I call it with a > meson.build like this: > > sources = [ 'DockView.cpp', ... ] > > ui_files = [ 'ui/AboutUi.ui', ... ] > > moc_headers = [ 'Action.h', ... ] > > ui_headers = qt_mod.compile_ui(sources: ui_sources) > moc_sources = qt_mod.compile_moc(headers: moc_headers) > > lyxqt = static_library( > 'lyxqt', > sources, moc_sources, ui_headers, > dependencies: [qt_dep], > include_directories: [root_dir, src_dir, frontends_dir, nod_dir], > cpp_args: qt_cppflags + ['-DQT_NO_CAST_TO_ASCII'], > ) > > Il giorno lun 18 nov 2024 alle ore 10:35 Pavel Sanda <[email protected]> ha > scritto: > >> nOn Mon, Nov 18, 2024 at 10:04:57AM +0100, Lorenzo Bertini wrote: >> > I have included everything in the patch. When I look at those errors, >> the >> > fix seems like a best practice to me, this is why I'm proposing the >> > changes. Also, I can't figure how can CMake and Autotools still finish >> the >> > build. >> >> I am surprised that you need those changes, e.g. TempFile. >> What compiler you use and how you call it? What OS you are on? >> >> Pavel >> -- >> lyx-devel mailing list >> [email protected] >> https://lists.lyx.org/mailman/listinfo/lyx-devel >> >
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
