Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
Using Code::Blocks / [SOLVED] Debugger Warning
« Last post by fmc0501 on April 04, 2020, 10:00:11 pm »
What does this warning mean? I got it right off the bat using the Debugger.



This is a fresh install of C::B and I aint touched nothing  :D
72
Help / Re: clicking on debugger crashes codeblocks
« Last post by oBFusCATed on April 04, 2020, 09:58:20 pm »
Which version are you using exactly (32bit/64bit)?
Can you enable full logging in the debugger settings and then post the log?
Does it work again if you reinstall 17.12?
What OS are you using?
73
The ball is rolling https://github.com/obfuscated/codeblocks_sf/commits/experiments/wx-cleanup
The removal of support for wx28 would be committed sometime next week. I'm testing linux and macOS. No time to check if windows is working, so I'll need help if you want the builds to be working for sure on windows.

Removal plans include:
1. remove all wx28 projects
2. remove all wx30 projects on windows (32 and 64 bit)
3. remove wxpropgrid we use in wx28
4. remove wxTreeList we ship in wx28
5. fix autotools build
6. make it an error if using older versions of wx.

After this is committed to trunk there are two more steps:
step2: remove all conditionals for wx2.8/2.9
step3: remove all wxT uses

Reporting problems now is better then after I commit. :)
74
Help / clicking on debugger crashes codeblocks
« Last post by Bruise_Vein on April 04, 2020, 09:48:57 pm »
so I uninstalled the last codeblocks version (17.12) and installed the new version (20.03 with the combined MinGW installer).    now when I use codeblocks it runs well and I am able to build and run programs until I hit the 'Debug' button. after hitting debug it displays the following in the debugger log but doesn't start the console or running the program.

DEBUGGER LOG:

Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: D:\C++\Code blocks projects\test\
Adding source dir: D:\C++\Code blocks projects\test\
Adding file: D:\C++\Code blocks projects\test\bin\Debug\test.exe
Changing directory to: "D:/C++/Code blocks projects/test/."
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\SourceGear\Common\DiffMerge;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps
Starting debugger: C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb32.exe -nx -fullname -quiet  -args "D:/C++/Code blocks projects/test/bin/Debug/test.exe"
failed




After this message even build and run stops working.  they start working after restarting codeblocks but the same happens after pressing debug.

I tried reinstalling codeblocks but the same happens. Also, I checked and my pc unfortunately doesn't have a restore point set.  PLZ HELP
75
Using Code::Blocks / Re: Project Template
« Last post by fmc0501 on April 04, 2020, 09:29:27 pm »
That got it, oBFusCATed. I appreciate you. Thanks.
76
Using Code::Blocks / Re: Project Template
« Last post by oBFusCATed on April 04, 2020, 08:13:18 pm »
You can edit the sample.cpp file in the template folder of your installation. Or make your custom console project template. The template is a simple squirrel script, so you could modify it as you like.

See here http://wiki.codeblocks.org/index.php/Scripting_Code::Blocks
And more specifically here: http://wiki.codeblocks.org/index.php/Wizard_scripts
77
Using Code::Blocks / [SOLVED] Project Template
« Last post by fmc0501 on April 04, 2020, 08:05:28 pm »
I'm taking a C++ class on Udemy. Like all the other places that teach "Beginner" C++, everything is done with Console Appliactions. In each class Section, there are multiple projects. So I'm opening several Projects in the Workspace. And in each one of them, I have to remove
Code: [Select]
using namespace std; and
Code: [Select]
cout << "Hello world!" << endl; How can I make a template without these two lines when I start a new Project?

I've already tried this. But when I tried to save it in the Section folder the other section projects were in, it warned me that the files in that folder would be deleted if I finished the action. So I don't know how to call it on this one. But there has to be a way to rid the main.cpp of those two statements.
78
Development / Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Last post by sergioferrari52 on April 04, 2020, 02:03:47 pm »
Thank you very much for the answer.
80
Development / Re: CodeBlocks 2020.03 32bit, problem on Windows Vista
« Last post by LETARTARE on April 04, 2020, 01:53:12 pm »
Well,
if you want to put these files with the executable 'Code::Blocks', you have to copy in the same directory as 'Codeblocks.exe' :
Code: [Select]
addr2line.exe, dbghelp.dll, exchndl.dll, mgwhelp.dll, symsrv.dll, symsrv.yes
Pages: 1 ... 3 4 5 6 7 [8] 9 10