I installed clang19 (19.1.7-3.1). Running CMake uising clang and clang++ I get:
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:73 (message):
The C++ compiler
"/usr/bin/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/gino/sensorium-2.0/support/build/debug/CMakeFiles/CMakeScratch/TryCompile-irhhcH'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_8ff25/fast
/usr/bin/gmake -f CMakeFiles/cmTC_8ff25.dir/build.make CMakeFiles/cmTC_8ff25.dir/build
gmake[1]: Entering directory '/home/gino/sensorium-2.0/support/build/debug/CMakeFiles/CMakeScratch/TryCompile-irhhcH'
Building CXX object CMakeFiles/cmTC_8ff25.dir/testCXXCompiler.cxx.o
/usr/bin/clang++ -MD -MT CMakeFiles/cmTC_8ff25.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_8ff25.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_8ff25.dir/testCXXCompiler.cxx.o -c /home/gino/sensorium-2.0/support/build/debug/CMakeFiles/CMakeScratch/TryCompile-irhhcH/testCXXCompiler.cxx
Linking CXX executable cmTC_8ff25
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8ff25.dir/link.txt --verbose=1
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/bin/clang++ CMakeFiles/cmTC_8ff25.dir/testCXXCompiler.cxx.o -o cmTC_8ff25
gmake[1]: *** [CMakeFiles/cmTC_8ff25.dir/build.make:103: cmTC_8ff25] Error 1
gmake[1]: Leaving directory '/home/gino/sensorium-2.0/support/build/debug/CMakeFiles/CMakeScratch/TryCompile-irhhcH'
gmake: *** [Makefile:134: cmTC_8ff25/fast] Error 2
Apparently, the wrong libstdc++ is bering used. Which one should I install, and why is it not installed as a dependency for clang19?
Thanks for any help!