WinLibs (mingw32) missing ucrtbase.dll

Discussion in 'Windows XP Help and Support' started by winxp-tool, Jan 17, 2023.

  1. winxp-tool

    winxp-tool

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    I have extracted mingw32 into Program Files and added to system PATH.
    When I call gcc from terminal, Windows tells me that I'm missing: ucrtbase.dll

    Where am I supposed to get it from? Thank you in advance.
     
    winxp-tool, Jan 17, 2023
    #1
    1. Advertisements

  2. winxp-tool

    Elizabeth23

    Joined:
    Dec 10, 2012
    Messages:
    5,805
    Likes Received:
    699
    Location:
    Florida
    you will need to add to system32 file plus the program's file
     

    Attached Files:

    Elizabeth23, Jan 17, 2023
    #2
    winxp-tool likes this.
    1. Advertisements

  3. winxp-tool

    winxp-tool

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    Hello, thank you for your reply.
    After following your instruction, gcc requires a new .dll: "api-ms-win-core-strin-l1-1-0.dll".
    My current Windows version is: Windows XP sp0
    Maybe I am missing a library pack that mingw32 requires?
     
    winxp-tool, Jan 17, 2023
    #3
  4. winxp-tool

    Borg

    Joined:
    Nov 21, 2021
    Messages:
    38
    Likes Received:
    19
    What exacly are you trying to do with that Mingw compiler?
    It might be hard to install any recent Mingw32 into WinXP..
     
    Borg, Jan 17, 2023
    #4
  5. winxp-tool

    winxp-tool

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    Hello!
    I'm in need of a good C/C++ compiler for SDL2 development.
    mingw32 seemed to be the logical way of doing it, but surely there are better ways of compiling software on Windows XP.
    What is an easy way to compile C/C++ + SDL2 programs?
     
    winxp-tool, Jan 17, 2023
    #5
  6. winxp-tool

    Borg

    Joined:
    Nov 21, 2021
    Messages:
    38
    Likes Received:
    19
    Then Mingw is right choice indeed, but you need to try to grab something older I suppose. Latest stuff will not work. There are several projects that were forked from Mingw32 itself like MSYS2 or tdm-gcc.
    I also wonder if SDL2 can be compiled on WinXP..

    I myself use very old Mingw32 3.4.5 to compile some old stuff. Its too old to handle anything recent.

    Good luck :)
     
    Borg, Jan 17, 2023
    #6
    winxp-tool likes this.
  7. winxp-tool

    winxp-tool

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    Thank you for the advice, downloading mingw32-3.4.5!
    If SDL2 doesn't work, time to learn an implementation of opengl :p
    ps: Is it possible to get a binary build of mingw32 3.4.5 any way? I don't have any internet access on Windows XP.
     
    Last edited: Jan 17, 2023
    winxp-tool, Jan 17, 2023
    #7
  8. winxp-tool

    Borg

    Joined:
    Nov 21, 2021
    Messages:
    38
    Likes Received:
    19
    I can provide you my own if you want.
    http://borg.uu3.net/ftp/pub/archive/MinGW/3.4.5/
    You need to unpack basic components into C:\MinGW\ directory:
    binutils-2.19.1-mingw32-bin.tar.gz
    gcc-core-3.4.5-20060117-3.tar.gz
    gcc-g++-3.4.5-20060117-3.tar.gz
    make-3.81-20090914-mingw32-bin.tar.gz

    Then you need to add C:\MinGW\bin into the PATH env variable.

    You can also add some libs I have there:
    jpeg-8c-lib.tgz
    liblzo-2.03-mingw32-lib.zip
    libpng-1.2.8-lib.tgz
    libz-1.2.3-1-mingw32-dev.tar.gz
    openssl-0.9.8l-mingw32-lib.zip
    w32api-3.13-mingw32-dev.tar.gz

    Remember that this is very outdated stuff :)

    And OpenGL? Forget it I think. I recenetly tried to compile some oldish game using OpenGL.. Ugh it was hard to get thro, I installed Visual C 2005 EE.
    I finally managed to compile the game but it didnt worked.

    Im still not sure what are you aiming for? SDL2 and OpenGL are graphic libraries.
    Mostly usefull for gaming. If you want to write simple game, I think its better to use
    some ready to use game engine?
    If you want some very basic 2D graph library, I can provide you GRX.
    It will compile and work fine on Win2000 onwards and you can compile it with my MinGW.
     
    Borg, Jan 20, 2023
    #8
  9. winxp-tool

    winxp-tool

    Joined:
    Jan 17, 2023
    Messages:
    5
    Likes Received:
    0
    Hello! Thank you for sharing and answering my post.
    My AIM is to create a videogame that is both playable on older and newer systems, also for recreational programming.
    So I was thinking about opengl-win32 API. Seems that SDL2 is supported on WindowsXP, but I'm unsure about opengl, an older version should work on both new and old computers, both x86 and x86_64/
     
    winxp-tool, Jan 20, 2023
    #9
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.