News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Getting Codeblocks 20.03 to work on Windows 2003 R2 64 bit

Started by JimC, May 28, 2024, 04:31:17 AM

Previous topic - Next topic

JimC

I've found the workarounds for Windows Server 2003 x86, but I can't see how to get Code::Blocks to work on Windows Server 2003r2 x64.

With a vanilla install it can't find api-ms-win-crt-string-l1-1-0.dll; when I install the Visual C++ Redistributable 2015 (version 14.0.23026), I get:

    The procedure entry point _o__configure_narrow_argv could not be located in the dynamic link library api-ms-win-crt-string-l1-1-0.dll

What am I doing wrong?

Grit Clef

Hi.
That means your system lack the UCRT Runtime Environment. But it doesn't support systems older than Windows 7 SP1 and Windows 2008 R2 SP1. So, if you want to run CodeBlocks under Windows 2003, you need to compile CodeBlocks' source yourself, with msvcrt.
-Windows 7, 32-bit
-CodeBlocks r13542, gcc 14.2.0, debug version

nenin

Quote from: Grit Clef on May 28, 2024, 06:05:40 AM
But it doesn't support systems older than Windows 7 SP1 and Windows 2008 R2 SP1. So, if you want to run CodeBlocks under Windows 2003, you need to compile CodeBlocks' source yourself, with msvcrt.
It is not exactly correct. There are old ucrt distributions, which working on XP. However, it does not resolve all problems, because  there may be  missing kernel functions. By any way, C::B 20.03 can be used on XP with some replacement of the dlls (and minor glitches). 20.03 was built with gcc 8.1 msvcrt.