User forums > Using Code::Blocks

Generation with Pelles C Compiler (Version 12.00.1) failed

(1/4) > >>

ThierryD:
Hi,

Back again ... and happy new year to all team of CB ...  ;D

I try to rebuild an library (and DLL so !) of GLAUX with "old" source searched into Internet (very big challenge, but interesting with CB).
Challenge "quasi" win (Yes !), but I don't succeed with my configuration of Pelles C Compiler into CB, and I don't known why ...

I use first last nigthly (30/12/2024), and I return to previous (08/12/2024), but unsucceed too ...

Configuration :
Version                 : svn-r13596
SDK Version             : 2.25.0
Scintilla Version       : 3.7.5
Author                  : The Code::Blocks Team
E-mail                  : info@codeblocks.org
Website                 : https://www.codeblocks.org
OS                      : Windows 11 (build 26100), 64-bit edition
Scaling factor          : 1.000000
Detected scaling factor : 1.000000
Display PPI             : 96x96
Display count           : 1
Display 0 (\\.\DISPLAY1): XY=[0,0]; Size=[1920,1080]; Primary

wxWidgets Library (wxMSW port)
Version 3.2.6 (Unicode: wchar_t, debug level: 1),
compiled at Dec  8 2024 08:47:13

Runtime version of toolkit used is 10.0.

Configuration of Pelles C Compiler is describe in follow document (except identification of compilers into CB : today "Pelles C 2021" with config 32 bit, "Pelles C 2021 (64b)" with config 64 bit).

And "failed" generation is describe in log of CB joined.
 
I try to generate this target "at hand" in console windows with same instructions that into CB (after position PATH variable and in good directory), and I succeed ... Strange, no ?

What's happen ? I don't see this behaviour before ... two months ... (Yes, I began "war" with GLAUX (for the fun !!!) two months ago,  :o).

Thank's for investigations.

Bye.

 

ThierryD:
Hi,

I forget to add two supplemental indications :
    - I can reproduce this behaviour with two different projects CB,
    - To test, I suppress two config. of Pelles C into CB (general menu "Settings" and submenu "Compilers", configurations 32 bit and 64 bit), then recreate two configuations of this compiler with different options beetween 32 and 64 bits, unsuccess too... same behaviour, like all subprocess of CB during generaton failed (but without reason after test outside of CB).

Thank's.

Thierry. 

stahta01:
Posting the build log in code tags instead of attaching an HTML file to the post would increase the chance of you getting help!

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.

ThierryD:
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

--- End code ---

Thierry

Miguel Gimenez:
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?

Navigation

[0] Message Index

[#] Next page

Go to full version