Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Development / Re: UI for project globs aka automatic source directories
« Last post by Miguel Gimenez on January 07, 2025, 12:42:39 pm »
This was added after 20.03; You will find it in a recent nightly or in the upcoming release.
62
Status -1073741819 (0xC0000005 in hex) indicates an access violation inside pocc.exe.

Does objPELLESC32\Debug\src exist in the folder containing the CBP? Is it writable?
63
Help / Re: I want to modify the source code to support custom key mapping
« Last post by PB on January 06, 2025, 10:30:05 pm »
I have vanilla C::B 20.03 (i.e., no extra plugins) on Windows 10 and Shift+Space inserts a plain space there, at least in .h and .cpp files.
64
Help / Re: I want to modify the source code to support custom key mapping
« Last post by Pecan on January 06, 2025, 09:43:25 pm »
When using the internal editor of Code::Blocks (on the Windows platform), I found that pressing Shift and Space simultaneously does not input a space, whereas on the Ubuntu platform, Code::Blocks allows it, and other editors on Windows also support this. I have successfully built Code::Blocks from source, and now I want to determine which part of the code files needs to be modified to make Shift+Space work. Could you provide any information you know about this? It can be general; it doesn't need to pinpoint the exact code location.

The keyboard is handled via Menu/Settings/Keyboard Shortcuts.
For me, on Windows with Codeblocks Nightly version, Shift+space is unassigned, and works as you describe.
Look to see  if something else has been assigned to shift + space key combination.
65
Development / Re: UI for project globs aka automatic source directories
« Last post by LJL_Houben on January 06, 2025, 05:18:24 pm »
Quick and dirty wiki article...
i do not know how to describe it better:
https://wiki.codeblocks.org/index.php/Automatic_source_paths

I'm trying to find the 'Automatic source paths...' option. When I don't see it and I'm running the latest binairy release (20.03 windows) version, is this a bug or do I need to install something?

With kind regards


Ludo
66
Help / Change directory of .layout file from a project
« Last post by LJL_Houben on January 06, 2025, 04:40:59 pm »
Hi All

How do I change the save location for the '*.layout' file that comes with the project file?
As a newbee, I'm trying to setup my project environment. I like a clean folder structure and all generated files/setting etc should not clotter up my folder structure. For the most files I managed to change the directory, but I cannot find any (Google) help with changing the location of the .layout file from the project I'm trying to create. I would like to generate/save that file in a 'Tmp' subfolder within my project structure. Were do I change this directory? If it is not possible within the GUI, than which file to manipulate? Thanks for any suggestions.

With kind regards


Ludo
67
Using Code::Blocks / Re: Generation with Pelles C Compiler (Version 12.00.1) failed
« Last post by ThierryD on January 06, 2025, 11:45:54 am »
OK.

Code
Build started on: 04-01-2025 at 14:41.17
Build ended on: 04-01-2025 at 14:41.24

-------------- Build: Debug PELLES C in GLaux (compiler: Pelles C (32b))---------------
cmd /c pocc | grep Version
Pelles ISO C Compiler, Version 12.00.1
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\FONT.C /FoobjPELLESC32\Debug\src\FONT.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\GLAUX.C /FoobjPELLESC32\Debug\src\GLAUX.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\IMAGE.C /FoobjPELLESC32\Debug\src\IMAGE.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\SHAPES.C /FoobjPELLESC32\Debug\src\SHAPES.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TEAPOT.C /FoobjPELLESC32\Debug\src\TEAPOT.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TK.C /FoobjPELLESC32\Debug\src\TK.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKDIB.C /FoobjPELLESC32\Debug\src\TKDIB.obj
pocc.exe /nologo /Zi -Tx86-coff /Ze /c /D_DEBUG /DDEBUG /D_X86_ /DBUILD_DLL -Tx86-coff /D_X86_ /IC:\PellesC\include\Win /IC:\PellesC\include /c src\TKFONT.C /FoobjPELLESC32\Debug\src\TKFONT.obj
src\SHAPES.C(598): warning #2229: Local 'x2' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x1' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(598): warning #2229: Local 'x0' is potentially used without being initialized (or using a dangling value).
src\SHAPES.C(645): warning #2117: Old-style function definition for 'initdodec'.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(76): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TEAPOT.C(123): warning #2215: Conversion from 'double' to 'float'; possible loss of data or unexpected result.
src\TKDIB.C(410): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(345): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
src\TKDIB.C(302): warning #2229: Local 'pvBitsFile' is potentially used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
src\TK.C(580): warning #2241: The function 'GetVersionExA' is marked as deprecated.
src\TK.C(1659): warning #2215: Conversion from 'int' to 'unsigned char'; possible loss of data or unexpected result.
src\TK.C(1826): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1825): warning #2229: Local 'iMinEntry' is potentially used without being initialized (or using a dangling value).
src\TK.C(1965): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2015): warning #2215: Conversion from 'unsigned int' to 'unsigned short int'; possible loss of data or unexpected result.
src\TK.C(2044): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2045): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2046): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2049): warning #2238: Array index '255' is out-of-bounds for 'PALETTEENTRY (aka struct tagPALETTEENTRY) [1]'.
src\TK.C(2442): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
src\TK.C(2441): warning #2116: Local 'hStock' is used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
src\TKFONT.C(13655): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13651): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13648): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13644): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13643): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13684): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13680): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13677): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13673): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13672): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13713): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13709): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13706): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13702): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
src\TKFONT.C(13701): warning #2116: Local 'mode' is used without being initialized (or using a dangling value).
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
Process terminated with status -1073741819 (0 minute(s), 6 second(s))
0 e

Thierry
68
Help / I want to modify the source code to support custom key mapping
« Last post by lz978 on January 06, 2025, 11:18:18 am »
When using the internal editor of Code::Blocks (on the Windows platform), I found that pressing Shift and Space simultaneously does not input a space, whereas on the Ubuntu platform, Code::Blocks allows it, and other editors on Windows also support this. I have successfully built Code::Blocks from source, and now I want to determine which part of the code files needs to be modified to make Shift+Space work. Could you provide any information you know about this? It can be general; it doesn't need to pinpoint the exact code location.
69
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by lz978 on January 06, 2025, 11:10:09 am »
I am new, I am here
70
Help / Code::Blocks Installation
« Last post by avali on January 06, 2025, 03:59:01 am »
Hello, I am new using Code::Blocks and also new to the Forum.
I just tried to install Code::Blocks for the first time to do some C programing.
I used "codeblocks-20.03mingw-setup" package. However this package contains so many other languages, embedded system programing tools, and bunch of other stuff that I would never use and I had to uncheck. There are many option that I left because I didn't know what they are and whether it's needed or not. So, my question is how can I just get the minimal installation of Code::Blocks for only C programing. What are the essential packages I need beside the compiler and IDE?
A general suggestion: I would think if the installation program instead of automatically including everything, it would ask the user the intend use of the Code::Blocks and offered the minimum package they need would be very helpful. Thank you!
Pages: 1 2 3 4 5 6 [7] 8 9 10