User forums > Help

Code:Blocks Error

<< < (2/2)

BentL:

--- Quote from: Cryptic Maniac on March 12, 2018, 07:41:04 pm ---However, I am still having trouble with the Debugger, even after following your instructions.
--- End quote ---

You need to produce debugging symbols for your project for debugging to work.

File > Project > Build Options... > Your application name > Debug > Compiler flags > Debugging > Produce debugging symbols > Check

See also the wiki for how to debug in Code::Blocks:
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks

adarsh:
Thank you.The above changes worked for me. Although it is showing one more error" You must select a host application to 'run' a library.

oBFusCATed:
What is the type of application you've selected for your target in Project -> Properties -> Build targets -> your target -> Build type? I guess it is set to dynamic library. It should be set to native or console in order to work. Of course if you're making an application. If you're making a dll/static library then you'll need a host.

Navigation

[0] Message Index

[*] Previous page

Go to full version