OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Michael on January 20, 2026, 07:50:46 am

Title: LibrePCB
Post 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/)

Title: Re: LibrePCB
Post by: Dave Yeo on January 20, 2026, 08:16:54 am
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.
Title: Re: LibrePCB
Post by: Martin Iturbide on January 20, 2026, 03:42:12 pm
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
Title: Re: LibrePCB
Post by: Dave Yeo on January 20, 2026, 05:56:55 pm
Hmm, quickly trying librepcb-1.2.0, the build quickly dies here,
Code: [Select]
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.
Title: Re: LibrePCB
Post by: Michael on January 20, 2026, 06:29:33 pm
Thanks Dave for your effort.
Title: Re: LibrePCB
Post by: Dariusz Piatkowski on January 20, 2026, 09:53:40 pm
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:

Quote
cmake .. -DUSE_GLU=0

Title: Re: LibrePCB
Post by: Dave Yeo on January 21, 2026, 12:24:05 am
Hmm, that also didn't work. I'll have to examine all the cmake files and hopefully find the magic define
Title: Re: LibrePCB
Post by: Jochen Schäfer on January 21, 2026, 09:18:07 am
We need some OpenGL implementation to get stuff like this running. I don't care if it's slow BTW.
Title: Re: LibrePCB
Post by: TeLLie on January 21, 2026, 12:54:32 pm
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