OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Michael on January 20, 2026, 07:50:46 am
-
A question to the C++ programmers:
Is it technically possible to port LibrePCB to OS/2? Do we have the necessary prerequisites for this? Or would the effort be excessive...
https://librepcb.org/ (https://librepcb.org/)
-
Quickly looking. It is a Qt app, which we support. It has a dependency on OpenGL, which we don't have (well a really old one) so without it, no 3D support. The killer is it mentions a Rust Crate. We don't have a Rust port and it might not be possible to build with Rust on 32 bit platforms due to lack of memory. Whether the Rust is a hard dependency or not is not obvious but likely is.
Bed time here, might look better at it tomorrow.
-
Hello
The Gemini AI tells me that LibrePCB started using the Rust Toolchain in version 1.3, but it may be right or wrong.
Maybe LibrePCB 1.2.0 can compile.
https://download.librepcb.org/releases/1.2.0/
Regards
-
Hmm, quickly trying librepcb-1.2.0, the build quickly dies here,
CMake Error at /@unixroot/usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5OpenGL" with
any of the following names:
Qt5OpenGLConfig.cmake
qt5opengl-config.cmake
Add the installation prefix of "Qt5OpenGL" to CMAKE_PREFIX_PATH or set
"Qt5OpenGL_DIR" to a directory containing one of the above files. If
"Qt5OpenGL" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:188 (find_package)
-- Configuring incomplete, errors occurred!
The readme does claim that OpenGL is optional along with another library. Have to look closer after work.
-
Thanks Dave for your effort.
-
Dave!
Hmm, quickly trying librepcb-1.2.0, the build quickly dies here,
...
The readme does claim that OpenGL is optional along with another library. Have to look closer after work.
The author's page (https://developers.librepcb.org/d5/d96/doc_building.html (https://developers.librepcb.org/d5/d96/doc_building.html)) claims the following can be used to bypass the compilation of 3D viewer of LibrePCB using the folloing option:
cmake .. -DUSE_GLU=0
-
Hmm, that also didn't work. I'll have to examine all the cmake files and hopefully find the magic define
-
We need some OpenGL implementation to get stuff like this running. I don't care if it's slow BTW.
-
Hi alll
I disable all the opengl.
Its been build till 50 procent now...
G:\...-1.2.0\librepcb-1.2.0-cmake-3.31_i686-pc-os2-emx_920\apps\librepcb-cli>librepcb-cli.exe --version
LibrePCB CLI Version 1.2.0
File Format 1 (stable)
Git Revision f079fa97b
Qt Version 5.15.2 (compiled against 5.15.2)
OpenCascade N/A
Built at 1/21/26 12:35 PM