Make not working, issue with QT

I’m trying to build QGroundControl from source code. When I run ‘make’, I get multiple errors that resemble the following:

'/Users/byrnesa2/QT/5.12.6/clang_64/lib/QtCore.framework/Headers/qbitarray.h:156:14: error: definition of implicit copy constructor for 'QBitRef' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]'

Has anyone had this same issue? If so, what was your workaround?

(I am on a Mac.)

Edit: I get this issue on my machine with Clang 12.0.5, but not on my other machine with 12.0.0. I’m not sure if that’s relevant…

@abyrnes1 did you ever end up finding a solution to this other than using clang 12.0.0?

No. I think there is just an issue with newer c compilers. When installing on Ubuntu, I had to use gcc version 7.

1 Like

Okay, sounds good. Thanks!