

OS = MyOperatingSystemĬompiler = CompilerName CompilerVersionNumber Description of relevant events. Template: Paste the following template into your post, editing the relevant sections. When posting this problem, include the name of your compiler, operating system, Code::Blocks version, compiler log (go to Settings->Compiler and debugger.->Build options (tab) and check Save build log and Always output the full command line), and, if it caused Code::Blocks to crash, the codeblocks.RPT file (located in the Code::Blocks installation directory if it is writable or in the config directory if it is not).

If it works fine building from command line, it is either a problem with your project, Code::Blocks' setup, or possibly an actual bug. If this is the case, you are unlikely to receive support for it on the Code::Blocks forums, however, How do I troubleshoot an compiler problem? may help.

If the same error comes up, it is a problem with either the source file, the compiler, or the compiler setup. Try building the project from command line. Also see inter-project dependencies.Įxample: output\myLibrary\libdostuff.a I want to report compile problem abc ProblemĮvery time I build my project xyz, compile problem abc happens, and I want to report it on the forums as a Code::Blocks bug. and add the name of the library (including its relative path) to External dependency files. Open Project->Properties.->Build targets (tab) and select the executable.

Multi-targets library and executable ignore interdependence Problem Note: Code:Blocks only supports the GNU GDB and MSVC CDB debuggers. Start a new project and add the file to it.
