RE: [Tutorial] [Mining] Get rich the old fashioned way!

You are viewing a single comment's thread from:

[Tutorial] [Mining] Get rich the old fashioned way!

in steem •  9 years ago  (edited)

Adding -fpermissive to CXX_FLAGS in flags.cmake files seems to be a workaround. Command:
sed -ie 's/CXX_FLAGS = /CXX_FLAGS =-fpermissive /' **/flags.make

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
error code
I seem to have the same problem, and your workaround does not seem to work.. Any suggestions?

@edit: I had a problem allocating the make files..**/flags.make was not working.. Did it this way:

find -iname flags.make >> tmp
cat ./tmp | while read line; do sed -ie 's/CXX_FLAGS = /CXX_FLAGS =-fpermissive /' $line;done

Thank you for the "solution" :D

That saved me some time. Cheers