I just had the exact same problem working with the exact same tutorials. How to solve this? I found that restarting CodeBlocks gets rid of this error.
www.google.com.tw