Am Donnerstag, dem 20.02.2025 um 11:49 +0100 schrieb Scott Kostyshak:
> On Thu, Feb 20, 2025 at 11:35:16AM +0100, Jürgen Spitzmüller wrote:
> > Am Donnerstag, dem 20.02.2025 um 11:07 +0100 schrieb Scott
> > Kostyshak:
> > > I think related to this commit, I now get:
> > > 
> > > /usr/bin/ld: /home/scott/lyxbuilds/master-
> > > master/repo/src/FontInfo.cpp:723:(.text+0x50db): undefined
> > > reference
> > > to
> > > `lyx::LaTeXColors::getLaTeXColor(std::__cxx11::basic_string<char,
> > > std::char_traits<char>, std::allocator<char> > const&)'
> > > clang++: error: linker command failed with exit code 1 (use -v to
> > > see
> > > invocation)
> > 
> > Is this autotools or CMake? If the latter, Kornel needs to have a
> > look.
> 
> CMake.

Can you try if the attached helps?

-- 
Jürgen
diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt
index 9bf42ee0f6..75b8485869 100644
--- a/src/tex2lyx/CMakeLists.txt
+++ b/src/tex2lyx/CMakeLists.txt
@@ -12,7 +12,7 @@ set(LINKED_headers)
 
 foreach(_src graphics/GraphicsParams insets/ExternalTemplate
 	insets/ExternalTransforms insets/InsetLayout Author CiteEnginesList Color Counters
-	Encoding FloatList Floating FontInfo LaTeXPackages Layout
+	Encoding FloatList Floating FontInfo LaTeXColors LaTeXPackages Layout
 	LayoutFile LayoutModuleList support/Lexer ModuleList TextClass
 	Spacing version)
 	list(APPEND LINKED_sources ${TOP_SRC_DIR}/src/${_src}.cpp)

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to