CMake “clang++ is not able compile a simple test program” (Fedora 20)

前端 未结 2 1370
失恋的感觉
失恋的感觉 2021-01-18 04:18

So I tried to install clang + cmake to compile a simple C++ program and I\'m getting the following error:

-- The C compiler identification is GNU 4.8.3
-- Th         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-18 05:09

    You need the development libraries and headers for C++ library, try

    yum install libstdc++-devel
    

提交回复
热议问题