Reputation: 349
I am new to CodeBlocks. I am using CodeBlocks 13.12, along with the included Mingw GCC compiler, and I am getting the following 2 errors:
Probably a little more useful: The build log -
The project is just a simple "Hello World" program right now, and I am just trying to get the libraries setup for use. There are no other errors shown, and I have not enabled or disabled any compiler options.
I definitely have the main.cpp file in the listed search path. What. The. Actual.
Also, what does the system mean by "Party"?
Upvotes: 1
Views: 80
Reputation: 349
Ok. The answer is I am an idiot who didn't check all the output windows. I didn't properly link the SDL library.
Upvotes: 1
Reputation: 6898
I run into this "can't find .o" error on a semi-regular basis. It could be other things, but the first thing you need to try to do is to delete the obj
folder from your project directory and then completely rebuild the project. The Rebuild button is on the toolbar (the two arrows in a circle), next to your Build and Run buttons.
If you're still getting errors, it would depend on your project's paths and how you set it up.
Upvotes: 0