jdber1 / opendrop

OpenDrop pendant drop tensiometry software
GNU General Public License v3.0
30 stars 18 forks source link

Add '-std=c++14' to CCFLAGS to resolve build issues on macOS Big Sur. #37

Closed terjekv closed 2 years ago

terjekv commented 2 years ago

On macOS, at least on Big Sur but probably elsewhere as well, the default clang installation requires -std=c++14 to be added to CCFLAGS (or CXXFLAGS) for OpenDrop to build. I tried setting both CCFLAGS and CXXFLAGS as environment variables to overcome this issue, but neither of the environment variables were adhered to.

terjekv commented 2 years ago

See also #33.

eugenhu commented 2 years ago

Thanks for this, I don't currently have a machine with a more recent version of macOS so I haven't been able to test out the build process on there.

Looks good though and still compiles on my linux, cheers.