It was working with no issues a couple of weeks ago and I don’t know what happened. I tried every solution I could find by googling the error, but none of them worked. Any suggestions?
Thank you!
Thank you very much for your reply. I have tried the procedure you suggested, but now I’m getting the following error
mkapp: relocation error: mkapp: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
I cannot upgrade Ubuntu. For project requirements I need to use Ubuntu 14.04. I was looking at this solution:
add -D_GLIBCXX_USE_CXX11_ABI=0 (cmake example) flag (if you go this way, you should add this flag to every makefile or project you build till you upgrade ubuntu or downgrade gcc)
but I don’t understand where to put that flag and how. I tried to add CFLAGS := $(CFLAGS) -D_GLIBCXX_USE_CXX11_ABI=0 into the makefile but it is not working (still getting the same error).
As far as the gcc downgrade, I’m using version 4.8. Is it safe to downgrade even more? How can I do it?