I am not sure if this is a Code::Blocks, or a wxWidgets, issue.
I am able to compile and run the wxWidgets 3.0.4 application in the debugger by using the red arrowhead. After that I navigate to "Debug => Stop debugger" but the application is not stopped. Even after closing the application's window using its windows x icon in the upper right corner I cannot recompile because the debugger still has the .exe file, regardless of how many times I navigate to "Debug => Stop debugger". That the debugger is not stopped is indicated by "Stop debugger" menu item never graying out.
My Code::Blocks version is 17.12.
which compiler did you use? It dose not work if you have 32bit C::B, and you have 64bit compiler and debugger.
Windows or Linux?
64 Bit Windows 7
Code::Blocks 17.12 32 Bit
g++ compiler in the TDM-GCC-64 folder installed from tdm64-gcc-5.1.0-2.exe which was downloaded from http://tdm-gcc.tdragon.net/index.php/download/
In the checkbox in "Project => Build options the "Target x86_64 (64bit) [-m64]" is checked.
So I need Code::Blocks 64 Bit? I do not see an option to choose 32 bit or 64 bit for Windows at https://sourceforge.net/projects/codeblocks/ . Is there a 64 bit Windows binary available? The application is a calculation intensive one, and so my interest in 64 bit.
The CB Nightly build is 64 bit.
I did not know that an 64 bit CB was needed to run an 64 bit gdb.
Tim S.
I typically avoid nightly builds, because I view them as works in progress with possible problems. I would appreciate any recommendations on how to get a 64 bit version of 17.12. I hope I will not have to compile this myself.
Yes, you'll have sorry... There is no 64bit release of 17.12.
Nightlies are not that bad... I use them for many years in production an never had any bad bug (or even better it has a lot less bugs than the release)
If it is a special testing build then it will be written in the post and you can skip it...
I upgraded to the latest Tortoise and tried to follow the instructions at: http://wiki.codeblocks.org/index.php/Nightly_Cookbook . I was unable to download Code::Blocks source from SVN. An error message dialog opened with the title "Checkout Failed!" and the message:
C:\CodeBlocks SVN from http://svn.code.sf.net/p/codeblocks/code/trunk
C:\CodeBlocks SVN\src
C:\CodeBlocks SVN\src\sdk
C:\CodeBlocks SVN\src\sdk\resources
C:\CodeBlocks SVN\src\sdk\resources\lexers
Error running context: An existing connection was forcibly closed by the remote
host.
What went wrong here?
Quote from: spflanze on May 02, 2019, 02:54:14 AM
I upgraded to the latest Tortoise and tried to follow the instructions at: http://wiki.codeblocks.org/index.php/Nightly_Cookbook . I was unable to download Code::Blocks source from SVN. An error message dialog opened with the title "Checkout Failed!" and the message:
C:\CodeBlocks SVN from http://svn.code.sf.net/p/codeblocks/code/trunk
C:\CodeBlocks SVN\src
C:\CodeBlocks SVN\src\sdk
C:\CodeBlocks SVN\src\sdk\resources
C:\CodeBlocks SVN\src\sdk\resources\lexers
Error running context: An existing connection was forcibly closed by the remote
host.
What went wrong here?
I always assumed a poor network connection or a slow PC on my end.
Doing "svn update ." in the svn folder will normally continue the retrieving of the source files.
Tim S.
FYI: Using an nightly build of Code::Blocks is much easier than building Code::Blocks yourself!
And, the wiki page you picked was last updated in 2015; I do not remember this wiki page.
Tim S.
I attempted to update the directory as you recommended. It seemed to work at first. But then download quit with the same error after just a few files. I tried again and got a few more files, but this once again it quit with that error. On subsequent cycles of this I found I had to check the break lock check box when updating or I would get the file lock error. After several more cycles I gave up because it appeared to me it would take too long getting it piecemeal like this.
Why do you not use a prebuild nightly from the forum?
On getting the source:
You can download the source as zip archive from sourceforge: https://sourceforge.net/p/codeblocks/code/HEAD/tree/ click on the download snapshot on the rigth
You can use git to download the source from a more or less up to date mirror: https://github.com/obfuscated/codeblocks_sf
even there you can download a source snapshot: https://github.com/obfuscated/codeblocks_sf/archive/master.zip
Are the prebuilt nightlies 32 Bit or 64 Bit?
64bit
I was thinking this is written somewhere, but i was wrong....
http://forums.next.codeblocks.org/index.php/topic,23126.msg157727.html#msg157727
Quote from: killerbot on March 09, 2019, 10:45:28 AM
Compiler:
======
Mingw_w64 : 8.1.0 (https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download)
In the following configuration :
Version : 8.1.0
Architecture : x86_64
Threads : posix
Exception : seh
Build Revision : 0
WX:
===
The nightly is still using wx 3.1.1, in order to build it on windows a little patch is needed :
===> https://github.com/wxWidgets/wxWidgets/commit/424f64f27d94f83ed946ebfcf9b9543c828f9f25
include/wx/msw/private.h
static HANDLE InvalidHandle()
{
return static_cast<HANDLE>(INVALID_VALUE);
return reinterpret_cast<HANDLE>(INVALID_VALUE);
}
so rather easy to adjust.
The build instruction is :
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++11"
PS : the same instruction (minus that patch) work also to build wx 3.1.2, and this one has a zillion less warnings during the build :-)