Original Post
Hey all, I'm trying out CodeBlocks for the first time and encountering a bizarre compile-time error that I can't find in the HTML help file, the CodeBlocks wiki, or through google. Thought maybe one of you had run into this with CodeBlocks before... When I try to "compile" my driver.cpp file (the one with my main() function) I get a "That file isn't assigned to any target" error. When I go to "build" the project (the driver plus several classes and respective headers) I get the following message: Linking stage skipped (build target has no object files to link) But it gives me no errors, even if I purposefully throw in garbage code to *try* and get build errors. I guess the first thing is: what is the difference between "compile" and "build," because I might not be understanding it exactly, and that ignorance may be impeding my ability to fix the real problem on my own. ;-) The real problem, however, is that I can't get the thing to compile. When I downloaded CodeBlocks it came with MingGW but when I set it up with the install wizard it never gave me options to select MingGW as my compiler. I'm wondering if it can't build or link because its essentially a text editor that isn't hooked up to an associated compiler... Any ideas? If you need more info, post back! Thanks, ply