1
Using Code::Blocks / Re: Something changed on W11 25H2 64b about C library RTL 32b (like "crtdll.dll").
« Last post by ThierryD on Today at 04:31:39 pm »And today, I try to resolve this "last" problem ...
I change option "-v" by "/v" into Tab "Another linker options" into CB project, result next :
Ok, not resolve, but if I reproduce instructions in command console (only linkage without change ... exact syntax, ... because compilation of C source file and resource file are correct ...) :
... work perfectly ...
I don't understand it ! In CB, link fail, in command console, not. What is difference (open "console" into CB code) ?
Return in "stable state" on my WIN11 configuration with "suppress "update" of march 2026. Why not ...
Someone meet same problem ?
Thank's.
I change option "-v" by "/v" into Tab "Another linker options" into CB project, result next :
Code
cmd /c bcc32 | grep Borland
File STDIN:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
bcc32.exe -q -w -tW -6 -y -v -D_DEBUG -DDEBUG -IC:\BCC55\include -IC:\bccsdk\include -oobjBC55\Debug\src\Lesson03.obj -c src\Lesson03.c
brcc32.exe -32 -foobjBC55\Debug\src\Lesson03.res -IC:\BCC55\include -IC:\bccsdk\include -d_DEBUG -dDEBUG src\Lesson03.rc
ilink32.exe -q -aa /v -LC:\BCC55\lib\psdk -LC:\BCC55\lib c0w32 objBC55\Debug\src\Lesson03.obj,binBC55\Debug\Lesson03.exe,,import32.lib cw32mti.lib opengl32.lib glu32.lib gdi32.lib winmm.lib user32.lib kernel32.lib,,objBC55\Debug\src\Lesson03.res
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
src\Lesson03.c:
Warning W8060 src\Lesson03.c 386: Possibly incorrect assignment in function CreateGLWindow
Warning W8071 src\Lesson03.c 406: Conversion may lose significant digits in function CreateGLWindow
Warning W8060 src\Lesson03.c 408: Possibly incorrect assignment in function CreateGLWindow
Warning W8060 src\Lesson03.c 429: Possibly incorrect assignment in function CreateGLWindow
Warning W8057 src\Lesson03.c 591: Parameter 'hInstance' is never used in function WinMain
Warning W8057 src\Lesson03.c 591: Parameter 'hPrevInstance' is never used in function WinMain
Warning W8057 src\Lesson03.c 591: Parameter 'lpCmdLine' is never used in function WinMain
Warning W8057 src\Lesson03.c 591: Parameter 'nCmdShow' is never used in function WinMain
Error: Error processing module src\Lesson03.c
Process terminated with status 2 (0 minute(s), 1 second(s))
0 error(s), 8 warning(s) (0 minute(s), 1 second(s))
Build log saved as:
file://C:/src/OpenGL/NeHe_Lesson03-master/Lesson03_build_log.html
Ok, not resolve, but if I reproduce instructions in command console (only linkage without change ... exact syntax, ... because compilation of C source file and resource file are correct ...) :
Code
set PATHSAV=%PATH%
set PATH=C:\BCC55\bin;%PATH%
ilink32.exe -q -aa /v -LC:\BCC55\lib\psdk -LC:\BCC55\lib c0w32 objBC55\Debug\src\Lesson03.obj,binBC55\Debug\Lesson03.exe,,import32.lib cw32mti.lib opengl32.lib glu32.lib gdi32.lib winmm.lib user32.lib kernel32.lib,,objBC55\Debug\src\Lesson03.res
... work perfectly ...
I don't understand it ! In CB, link fail, in command console, not. What is difference (open "console" into CB code) ?
Return in "stable state" on my WIN11 configuration with "suppress "update" of march 2026. Why not ...
Someone meet same problem ?
Thank's.
Recent Posts
), and ... YES, I resolve this problem.