darlinghq / darling

Darwin/macOS emulation layer for Linux

Home Page:http://www.darlinghq.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can build

HttpAnimation opened this issue · comments

Build Log
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
The C++ compiler

"/usr/bin/clang++"

is not able to compile a simple test program.

httpanimations@pop-os:~/darling/build$ cmake ..
-- The CXX compiler identification is Clang 14.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ - broken
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (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/httpanimations/darling/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d9b39/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_d9b39.dir/build.make CMakeFiles/cmTC_d9b39.dir/build
    gmake[1]: Entering directory '/home/httpanimations/darling/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_d9b39.dir/testCXXCompiler.cxx.o
    /usr/bin/clang++    -MD -MT CMakeFiles/cmTC_d9b39.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_d9b39.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_d9b39.dir/testCXXCompiler.cxx.o -c /home/httpanimations/darling/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_d9b39
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9b39.dir/link.txt --verbose=1
    /usr/bin/clang++ -rdynamic CMakeFiles/cmTC_d9b39.dir/testCXXCompiler.cxx.o -o cmTC_d9b39 
    /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)
    gmake[1]: *** [CMakeFiles/cmTC_d9b39.dir/build.make:100: cmTC_d9b39] Error 1
    gmake[1]: Leaving directory '/home/httpanimations/darling/build/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_d9b39/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:44 (project)


-- Configuring incomplete, errors occurred!
See also "/home/httpanimations/darling/build/CMakeFiles/CMakeOutput.log".
See also "/home/httpanimations/darling/build/CMakeFiles/CMakeError.log".
httpanimations@pop-os:~/darling/build$ 

System Information
core i3
nvidia rtx 3080
pop os 22.04
gnome

This looks like you haven't installed the necessary dependencies. Did you follow the instructions to install the dependencies for your system? Pop!_OS is based on Ubuntu, so you can install the dependencies listed there for Ubuntu.

commented

Is this ticket still relevant ?

Closing since no response has been received; feel free to reopen if this is still an issue.