Opened 4 years ago

Last modified 4 years ago

#60739 closed defect

SFML 2.4.2 fails to build because it picks the wrong compiler — at Initial Version

Reported by: programmingkidx Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: SFML

Description

I tried building SFML on Mac OS 10.4 (intel) and it failed to build.

Here is the error:

:info:configure Error when bootstrapping CMake: :info:configure Cannot find a C++ compiler that supports both C++11 and the specified C++ flags. :info:configure Please specify one using environment variable CXX. :info:configure The C++ flags are "-pipe -Os -fpermissive -stdlib=macports-libstdc++ -D_GLIBCXX_USE_CXX11_ABI=0 -arch i386". :info:configure They can be changed using the environment variable CXXFLAGS. :info:configure See cmake_bootstrap.log for compilers attempted.

I'm thinking a good fix to this issue is to scan the /opt/local/bin/ folder for compilers that should work. I do have gcc-7 install. For some reason it picked /opt/local/bin/clang++-mp-3.4 instead.

Change History (0)

Note: See TracTickets for help on using tickets.