@Silvio_Grosso
I’m not at all an expert on this sort of thing like @Lawrence37
But I’ll tell you what just happened to me.
While trying to create documentation for Rawpedia (Hugo), I can’t see the preview of the changes made under Windows or Linux. I followed the process to the letter (requiring git, hugo, pnpm, etc.). Nothing works; perhaps it’s a BIOS incompatibility or due to dual booting?
However, to be sure, I performed a Linux update (Ubuntu 24.04) using the command prompt with ‘sudo apt update’ and ‘sudo apt upgrade’. I do this regularly (every 2 to 3 days), and everything updates (system, software, libraries, etc.) in a few seconds or minutes. And of course, as nothing is simple, the Linux installations of Hugo and pnpm depend on the distribution (Ubuntu, Fedora, Mint, etc.). I checked the versions of Hugo and pnpm, and everything is OK.
I wanted to do the same thing on Windows. Windows system updates are decided by Microsoft (the last one, around 25H2, took 2 hours and 15 minutes) and don’t concern Msys2/Mingw64 (which is used for RT…).
For Msys2/Mingw64, you have to open the terminal and run ‘pacman -Syu’. This takes 3 to 5 minutes depending on the connection speed. I do this update roughly every two months.
I did it the day before yesterday, November 5th. Everything compiled without a problem, so the RT compilation mechanism with CMake works. But when I ran ‘./rawtherapee’ in the terminal, I got the message “DLLs missing”. The problem is that these DLLs are present in Mingw64/bin…but apparently not recognized, and they are used to run under Windows.
So there are two possible solutions:
- Mysy2/Mingw64 contains a bug, on my machine, but also on the GitHub server (where the compilation and generation of executables for users takes place - GitHub also contains the Linux (Ubuntu 22.04) and macOS compilers…but I have absolutely no idea where this is happening or who is doing what?)
- Microsoft Windows introduced a recent change in its updates that makes Msys2/Mingw64 incompatible.
But in both cases, nothing works anymore.
Therefore, development under Windows becomes impossible.
Luckily, I have a dual boot system (it’s easy to set up) and at startup I choose between Windows and Ubuntu.
From now on, I do everything under Linux. A lot of habits to change; it’s neither better nor worse, but you have to change:
- Command prompt and compilation commands differents
- Text editor: Notepad++, replaced by Visual Studio, very different
- Image viewing and copying system for TIF/JPG files: Photoshop replaced by GIMP, very different
- System linked to Git for merging branch conflicts during pull requests
- Plus, of course, but that’s a minor detail: the Ubuntu environment is different from Windows.
That’s where we are, I hope it won’t take several months… Otherwise, switch to Linux, it’s more reliable, unless you use specific software (Computer-Aided Design, certain games, etc.).
Jacques