irstlm-team / irstlm

GNU Lesser General Public License v2.1
76 stars 33 forks source link

MocOS 10.12 install error #13

Open wowthewonderfulland opened 6 years ago

wowthewonderfulland commented 6 years ago

invalid argument '-std=c++0x' not allowed with 'C/ObjC'

mkserge commented 4 years ago

invalid argument '-std=c++0x' not allowed with 'C/ObjC'

After running './configure' In Makefile and src/Makefile change '-std=c++0x' with '--stdlib=libc++' in the CPPFLAGS line.

See https://stackoverflow.com/questions/19774778/when-is-it-necessary-to-use-use-the-flag-stdlib-libstdc

SeekPoint commented 4 years ago

it woks like irstlm tou$ make -stdlib=libstdc++