Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Nightly builds / Re: The 11 May 2021 build (12446) is out.
« Last post by ollydbg on Today at 08:58:19 am »
I got first RPT (see attachment) on close C::B after usage with new project.

It looks like the crash is from the debugger plugin, see:

Code
00000000709B93BD 0000000002E7B320 0000000000000000 000000000022E750  codeblocks.dll!DebuggerManager::DestoryWindows
00000000709B7325 0000000002E7B320 0000000005AED920 000000000022E7B0  codeblocks.dll!DebuggerManager::UnregisterDebugger
0000000070964028 0000000005AED920 0000000070D1A501 000000000022E830  codeblocks.dll!cbDebuggerPlugin::OnRelease
0000000070963B2B 0000000005AED920 0000000005AED901 00000000057F7D30  codeblocks.dll!cbPlugin::Release
2
Nightly builds / Re: The 11 May 2021 build (12446) is out.
« Last post by nenin on Today at 08:29:52 am »
I got first RPT (see attachment) on close C::B after usage with new project.
3
When something does not work in CB the first thing I try is doing a full rebuild.

This sometimes fixes problem like yours if the problem is not caused by conflicting or multiple mingw GCC installed.

There is a 4 step I left out that if your problem had not been fixed; and that is to delete all the mingw GCC installations except for the one you are trying to use.

Tim S.
4
thanx. after rebuild all start works,
Code
-------------- Clean: Debug in word_out (compiler: GNU GCC Compiler)---------------

Cleaned "word_out - Debug"

-------------- Build: Debug in word_out (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -fexceptions -g  -c D:\codeblks-wrkspce\word_out\main.cpp -o obj\Debug\main.o
g++.exe  -o bin\Debug\word_out.exe obj\Debug\main.o   
D:\codeblks-wrkspce\word_out\main.cpp: In function 'int main()':
D:\codeblks-wrkspce\word_out\main.cpp:59:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
     for(int i=0;i<query.size();i++)
                 ~^~~~~~~~~~~~~
Output file is bin\Debug\word_out.exe with size 113.90 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 1 warning(s) (0 minute(s), 1 second(s))
 
i guess that the solution was by your direction to remove the path to mingw from environment variables. this is only change in my system i made. thanx so much, i had trying to start debugging more than one weeks! and now it has stepped by the lines and  in watches variables are changed!
5
Please post a new "Build Log" After you rebuild the program!

Edit: Add link https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Tim S.

Edit: Add command to rebuild.

Build -> Rebuild
6
and compiler setings is as screenshot and they are by default, i didn't know, which i need to check, because just start 2 study/ i had checked that no variables point 2 mingv other than in CODEBLOKS\mingv folder. (they are was presented, but I had removed it (mingv was in root directory, and i had removed it too))
but the problem is still persist
8
The Windows system PATH is in Windows; it is *not* inside Code::Blocks!

Tim S.
9
thanx. i had one compiler only in my CB as in screen shot, after CB installation. does it properly or just i had downloaded not full copy of installation file?
and there no other mingw copmpilers in windows path as screen shots show.

step2  -i had checked the tabs u had pointed, and it seems 2 me, that they are following your directions.
But the debug and run still not works on my system.
10
Then you likely are not using the compiler whose folder you looked at.

1. Decide which mingw GCC compiler toolchain you wish to use.
2. Confirm the CB settings is set to that compiler
3. Remove all other mingw GCC compilers from the windows system path.

Step 2 directions
settings -> compiler
SELECT the correct compiler and make it the default compiler
TAB: Toolchain executables
VERIFY the compiler installation folder is correct
CHECK that the sub-tab: Additional paths is empty or has paths for the same compiler

Tim S.
Pages: [1] 2 3 4 5 6 ... 10