On Thu, Feb 20, 2025 at 12:27:08PM +0100, Jürgen Spitzmüller wrote:
> 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?

I don't think so. With a fresh build and your patch I get the following:

[ 97%] Linking CXX executable ../../bin/check_layout
cd /home/scott/lyxbuilds/master-master/CMakeBuild/src/tests && /usr/bin/cmake 
-E cmake_link_script CMakeFiles/check_layout.dir/link.txt --verbose=1
/usr/lib/ccache/clang++ -Wall -Wextra -Wno-deprecated-copy --std=c++20 
-Wno-deprecated-register -DENABLE_ASSERTIONS=1 -fno-strict-aliasing  -O0 -g3 
-D_DEBUG CMakeFiles/check_layout.dir/__/insets/InsetLayout.cpp.o 
CMakeFiles/check_layout.dir/__/CiteEnginesList.cpp.o 
CMakeFiles/check_layout.dir/__/Color.cpp.o 
CMakeFiles/check_layout.dir/__/Counters.cpp.o 
CMakeFiles/check_layout.dir/__/Floating.cpp.o 
CMakeFiles/check_layout.dir/__/FloatList.cpp.o 
CMakeFiles/check_layout.dir/__/FontInfo.cpp.o 
CMakeFiles/check_layout.dir/__/Layout.cpp.o 
CMakeFiles/check_layout.dir/__/LayoutFile.cpp.o 
CMakeFiles/check_layout.dir/__/support/Lexer.cpp.o 
CMakeFiles/check_layout.dir/__/ModuleList.cpp.o 
CMakeFiles/check_layout.dir/__/Spacing.cpp.o 
CMakeFiles/check_layout.dir/__/TextClass.cpp.o 
CMakeFiles/check_layout.dir/check_layout.cpp.o 
CMakeFiles/check_layout.dir/boost.cpp.o 
CMakeFiles/check_layout.dir/dummy_functions.cpp.o -o ../../bin/check_layout  
../../lib/libsupport.a /usr/lib/x86_64-linux-gnu/libz.so 
/usr/lib/x86_64-linux-gnu/libmagic.so 
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.13 
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.13 
/usr/bin/ld: CMakeFiles/check_layout.dir/__/FontInfo.cpp.o: in function 
`lyx::setLyXColor(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, lyx::FontInfo&)':
/home/scott/lyxbuilds/master-master/repo/src/FontInfo.cpp:722:(.text+0x50a3): 
undefined reference to `lyx::theLaTeXColors()'
/usr/bin/ld: 
/home/scott/lyxbuilds/master-master/repo/src/FontInfo.cpp:722:(.text+0x50af): 
undefined reference to 
`lyx::LaTeXColors::isLaTeXColor(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: 
/home/scott/lyxbuilds/master-master/repo/src/FontInfo.cpp:723:(.text+0x50c1): 
undefined reference to `lyx::theLaTeXColors()'
/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)

Scott

Attachment: signature.asc
Description: PGP signature

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

Reply via email to