Jump to content
  • Advertisement
Sign in to follow this  
supagu

debugging in Code::Blocks /w gcc

This topic is 3933 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

okay im porting some code from windows written in visual studio to linux using gcc and codeblocks. it all compiles fine, how ever debugging doesnt work. its looking in the wrong location for my files so says it cannot find the file to open for debugging. i'm failing to see how it cant find them as it compiles perfectly fine. im using multiple projects. lets say i have a test project: programming/test/test.cpp and it links to the library code: programming/myLibrary/someLib.cpp the debugger would say: cant find programming/test/someLib.cpp any ideas on a work around for this? i can only debug test.cpp not sure if this is a gcc or codeblocks thing

Share this post


Link to post
Share on other sites
Advertisement
Have you set the output directory of ALL your libraries to the same path?
And have you set the working directoy for your executable to that path too?

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!