Yes that worked thank you for your time and help. Next time when i have a problem like this i will not post here. But if i do have another question like this is there a good forum maybe on a different site that code help me that use codeblocks?
I don't know of any such forum or site.
C++ has a steep learning curve both as a language AND as an ecosystem. If you're really interested in C++, sooner or later you'll have to learn about compiling, linking, makefiles, and configure scripts. Also about tools like CMake and premake. Take a look at chapter 2 of
this book for a introduction to the subject.
Next time you have such a question, try to find an answer by yourself - no offense.
Play around with the build options of your project:
- Add the correct libraries in "Linker settings". You'll want to put common link libraries in the root target, and specific the appropriate libraries in the Debug and Release targets;
- Add the appropriate
include and
lib directories in the "Compiler" and "Linker" tabs in "Search directories".
Your problem is not a C::B problem. C::B offers a simple and powerful interface for organizing, compiling and linking your project, but you are responsible for setting it up.
Once again, you're on your own.