Jump to content
  • Advertisement
Sign in to follow this  
jake2431

Problems Using C::B & MinGW

This topic is 3690 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So, this is strange. I quit using Dev-Cpp for C::B. I installed MinGW on my own before downloading and installing C::B. Tried to build a simple program that #include-d iostream and cstdlib, but I get the error "No such file or directory" for both files. I then reinstalled MinGW, thinking the problem must be there. It wasn't. Then I installed the version of C::B that comes with MinGW. That didn't fix the problem either. Now I don't know what to do.

Share this post


Link to post
Share on other sites
Advertisement
When you open up C::B, Go to Settings > Compiler and debugger.., in the window that comes up, go to the "Search directories" tab, and in the tabs on that tab, make sure that the "compiler" tab has the path to your MinGW's "include" directory, and the "linker" tab has the path to the "lib" directory.

Share this post


Link to post
Share on other sites
does the standard "hello world" program work? (the one that C::B comes up with when you start a new project)

Are you using a nightly, or one of the RCs?

Share this post


Link to post
Share on other sites
Actually, yeah, it does word with the given hello world code, but not in my test project. I think I am using RC since I didn't get it from the nightly build section.

Share this post


Link to post
Share on other sites
Oops. Thanks for the help. Not sure how I missed this, but somehow I saved it as a c file instead of a c++ file. I didn't expect that to be the problem.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!