v 2.6.x Mac build failure maci64 - clang++ cmake build error . Doesnt support c++11 #3124
Replies: 3 comments
-
Could anyone help me with this? Is this expected while using clang? |
Beta Was this translation helpful? Give feedback.
-
"Force to support stdc++11 but not supported by the compiler". This means that your compiler does not support C++11. |
Beta Was this translation helpful? Give feedback.
-
According to our CONTRIBUTING.md guidelines, your compiler is not an officially supported one, so I am moving this issue to the corresponding discussion forum. |
Beta Was this translation helpful? Give feedback.
-
Is there an already existing issue for this?
Expected behavior
Expected to build FastDDS on mac without any issues.
Current behavior
CMake build failure of v2.6.x on mac using clang++ compiler . Could you help me in fixing this.
Build log :
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: //devel/sandbox//3psandbox/3p/harness/scripts/macos_wrappers/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: //devel/sandbox//3psandbox/3p/harness/scripts/macos_wrappers/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Version: 2.6.1
-- Performing Test SUPPORTS_CXX20
-- Performing Test SUPPORTS_CXX20 - Failed
-- Performing Test SUPPORTS_CXX17
-- Performing Test SUPPORTS_CXX17 - Failed
-- Performing Test SUPPORTS_CXX14
-- Performing Test SUPPORTS_CXX14 - Failed
-- Performing Test SUPPORTS_CXX1Y
-- Performing Test SUPPORTS_CXX1Y - Failed
-- Performing Test SUPPORTS_CXX11
-- Performing Test SUPPORTS_CXX11 - Failed
CMake Error at cmake/common/check_configuration.cmake:83 (message):
Force to support stdc++11 but not supported by the compiler
Call Stack (most recent call first):
CMakeLists.txt:100 (check_stdcxx)
-- Configuring incomplete, errors occurred!
Steps to reproduce
Build FastDDS v2.6.x on mac
Fast DDS version/commit
v2.6.x
Platform/Architecture
MacOS Mojave 10.14
Transport layer
Default configuration, UDPv4 & SHM
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
Beta Was this translation helpful? Give feedback.
All reactions