1
Using Code::Blocks / Re: Dark Mode
« Last post by Miguel Gimenez on Today at 11:17:49 am »Spam reported to moderator.
When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
#include <iostream>
#include <cstdio>
int main()
{
int iterations = 0;
FILE* fp;
while (iterations < 1000000)
{
iterations++;
}
fp = fopen("Debug.txt", "a+");
fprintf(fp, "Iterations = %i\n", iterations);
fflush(fp);
fclose(fp);
return 0;
}
Active debugger config: GDB/CDB debugger:LLVM 64
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: E:\Development\TestConsoleDebugger\
Adding source dir: E:\Development\TestConsoleDebugger\
Adding file: E:\Development\TestConsoleDebugger\bin\Debug\TestConsoleDebugger.exe
Changing directory to: E:/Development/TestConsoleDebugger/.
Set variable: PATH=.;E:\Compilers\LLVM\bin;E:\Compilers\LLVM;[bunch of irrelevant paths]E:\Compilers\CodeBlocks;\;E:\Compilers\TDM-GCC-64\bin;E:\Compilers\WinSDK\Windows Performance Toolkit;E:\Compilers\Python310\Scripts;E:\Compilers\Python310;E:\Compilers\CodeBlocks\MinGW\bin;E:\Compilers\VisualStudio\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64;E:\Compilers\Zip
Starting debugger: E:\Compilers\LLVM\bin\lldb.exe -G -lines -2 -y E:/Development/TestConsoleDebugger/; -srcpath E:/Development/TestConsoleDebugger/; E:/Development/TestConsoleDebugger/bin/Debug/TestConsoleDebugger.exe
done
Debugger finished with status 1
Selecting target:
Debug
Adding source dir: E:\Development\TestConsoleDebugger\
Adding source dir: E:\Development\TestConsoleDebugger\
Adding file: E:\Development\TestConsoleDebugger\bin\Debug\TestConsoleDebugger.exe
Changing directory to: E:/Development/TestConsoleDebugger/.
Set variable: PATH=.;E:\Compilers\LLVM\bin;E:\Compilers\LLVM;[bunch of irrelevant paths]E:\Compilers\CodeBlocks;\;E:\Compilers\TDM-GCC-64\bin;E:\Compilers\WinSDK\Windows Performance Toolkit;E:\Compilers\Python310\Scripts;E:\Compilers\Python310;E:\Compilers\CodeBlocks\MinGW\bin;E:\Compilers\VisualStudio\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64;E:\Compilers\Zip
Starting debugger: E:\Compilers\LLVM\bin\lldb.exe -G -lines -2 -y E:/Development/TestConsoleDebugger/; -srcpath E:/Development/TestConsoleDebugger/; E:/Development/TestConsoleDebugger/bin/Debug/TestConsoleDebugger.exe
done
Debugger finished with status 1
At least for debugger_gdbmi_wx32_64.cbp and debugger_gdbmi_wx33_64.cbp, it might be better to pluralize the object_output reference as all other wx32_64.cbp and wx33_64.cbp files do. For instance, changeCodeto<Option object_output="../../../.obj33_64/plugins/contrib/debugger_gdbmi" />Codein the file debugger_gdbmi_wx33_64.cbp<Option object_output="../../../.objs33_64/plugins/contrib/debugger_gdbmi" />
@Xaviou, I could not reproduce the compilation error in clangd_client when compiled against wxWidgets-3.2.11. May be due to difference in configurations. Missing header include is added in svn rev 13925, hope it will fix the issue.It does : thank you. I've replaced the rev13924 archives by rev13925 ones for download
Could you please provide steps to reproduce error on building for Ubuntu-26.04 on launchpad? Is this something we can replicate locally?I just use an updated old made script : here is its content:
#!/bin/sh
cd ~/codeblocks/sources
if [ "x$1" != "xcurrent" ]; then
rm debian/changelog
if [ "x$1" != "x" ]; then
svn update --revision $1 .
else
svn update .
fi;
fi;
if [ -f ./.last_revision ]; then
rm ./.last_revision
fi
../00_update_revision.sh 26.04.1
sed -i 's/UNRELEASED/resolute/' ./debian/changelog
echo 10 > debian/compat
echo Running Bootstrap...
./bootstrap
echo Running debian/setup_control.sh
./debian/setup_control.sh resolute
echo Running Debuild...
debuild -S -sa -d -us -uc
cd ..dch -v 25.03+svn$REV~ubuntu$1 "New svn revision"Regarding the 26.04 failure, Gemini says:I'll try to have a look at this ASAP : thank you.QuoteThe reason it fails on Ubuntu 26.04 is that the Common Debian Build System (cdbs) package officially dropped and deleted the deprecated autotools.mk and makefile.mk files.
If you control the source code of the project or package, the best fix is to stop using cdbs with the old autotools.mk include. Instead, rewrite your debian/rules file to use modern, clean dh (Debhelper) syntax, which handles autotools automatically.
The reason it fails on Ubuntu 26.04 is that the Common Debian Build System (cdbs) package officially dropped and deleted the deprecated autotools.mk and makefile.mk files.
If you control the source code of the project or package, the best fix is to stop using cdbs with the old autotools.mk include. Instead, rewrite your debian/rules file to use modern, clean dh (Debhelper) syntax, which handles autotools automatically.