STEEM or Bitshares compilation error : error: use of undeclared identifier 'HEAD' const uint32_t git_revision_unix_timestamp = FC_GIT_REVISION_UNIX_TIMESTAMP; ^

in steemitdev •  3 months ago

error: use of undeclared identifier 'HEAD' const uint32_t git_revision_unix_timestamp = FC_GIT_REVISION_UNIX_TIMESTAMP;

This is a common compile time error that baffles the developers at times.

This is discussed in the bitshares issues here : https://github.com/bitshares/bitshares-core/issues/395

how to fix

The easy way to fix the issue is to delete the libraries/fc folder & fetch them again.

ie,

from the bitshares or STEEM source directory

rm -rf libraries/fc
git submodule update --init --recursive

your make command should work just fine!

Hope this helps someone.

Found yet another error related to Xcode 9 upgrade

error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]

To fix this, make sure that you are using xcode-commnd line tools and switch to the same.

sudo xcode-select -s /Library/Developer/CommandLineTools

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:  

Hey man, long time. What are you working on these days? Haven't seen you around in ages.

·

Hey - I am around. Mostly looking at the code and backend as opposed to the web UI thats all :-) I am working on a blockchain with emphasis on developing a protocol to interconnect popular chains. There are few things like games getting launched as dApps on the platform and the final protocol will take atleast an year to realize. But the blockchain will go live pretty soon.

·
·

Komodo is a great place to keep an eye on. Their entire idea is to have a bunch of fully interoperable blockchains with Bitcoin level security via delayed PoW.

·
·
·

Thank you ... I am behind the wallet and the KYC process completion for the coin listing. Doing other crazy things and less of the blockchain itself. Will definitely look into this.

Congratulations @bobinson! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!