teaandcode / TestChain

TestChain C++ tutorial
MIT License
94 stars 71 forks source link

undefined reference to 'Bockchain::Blockchain()' #7

Open sourajeetmohanty opened 4 years ago

sourajeetmohanty commented 4 years ago

git

ide used : codeblocks

Sivaprasath05 commented 2 years ago

how to recover this issue

cloudlakecho commented 1 year ago

@sourajeetmohanty Have you tried "g++" compiler instead of "gcc". For example, g++ -std=c++11 main.cpp Block.cpp Blockchain.cpp sha256.cpp -o TestChain?

I also don't see entire error message. It would be helpful if you paste entire error message instead of screenshot.