compressonator
compressonator copied to clipboard
Can't build with Clang on Linux
I get the error "error: invalid argument '-std=c++14' not allowed with 'C'" basically at the first C file being compiled. This looks like a problem specific to Clang, passing
-DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
to cmake
fixes it. If the docs mention that you have to build with gcc/g++, that would've helped.
BTW After this build passed in my dockerfile 🎉
@ShukantPal It maybe helpful to add this docker to the actions build for linux in this repo