FrodeSolheim / fs-uae-launcher

A frontend for the FS-UAE Amiga emulator with support for the OpenRetro online game database.
GNU General Public License v2.0
61 stars 14 forks source link

MSYS2 - ImportError: DLL load failed while importing QtSvg: The specified module could not be found. #158

Closed shoober420 closed 2 months ago

shoober420 commented 2 months ago

Im trying to compile fs-uae-launcher from latest git master commit (https://github.com/FrodeSolheim/fs-uae-launcher/commit/7b69256028b32419d817243a759bf26a69e29ca0) on Windows 11 with MSYS2 and experience a build error. I have all required packages installed outlined in the compiling.md file and also mingw-w64-x86_64-qt5 mingw-w64-x86_64-qt5-svg mingw-w64-x86_64-qt6 mingw-w64-x86_64-qt6-svg mingw-w64-x86_64-python-pyqt5 mingw-w64-x86_64-python-pyqt6 packages installed.

make

make -C src make[1]: Entering directory '/home/RavenWolf-/fs-uae-launcher/src' make -C icons make[2]: Entering directory '/home/RavenWolf-/fs-uae-launcher/src/icons' mkdir -p ../../data/Icons ./normal.sh ../../data/Icons/AmigaForever.png tango/64/drive-harddisk-4.svg tango/64/../../amigaforever/volumeoverlays/AmigaForever.png Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _runcode File "C:/msys64/home/RavenWolf-/fs-uae-launcher/launcher/extra/glowicon.py", line 9, in from fsui.qt.qt import QImage, QPainter, QSvgRenderer File "C:/msys64/home/RavenWolf-/fs-uae-launcher/fsui/init.py", line 3, in from fsui.common.group import Group File "C:/msys64/home/RavenWolf-/fs-uae-launcher/fsui/common/group.py", line 6, in from fsui.qt import QObject File "C:/msys64/home/RavenWolf-/fs-uae-launcher/fsui/qt/init.py", line 6, in from fsui.qt.qt import * File "C:/msys64/home/RavenWolf-/fs-uae-launcher/fsui/qt/qt.py", line 14, in from fsui.qt.pyqt5 import * File "C:/msys64/home/RavenWolf-/fs-uae-launcher/fsui/qt/pyqt5.py", line 39, in from PyQt5.QtSvg import QSvgRenderer ImportError: DLL load failed while importing QtSvg: The specified module could not be found. make[2]: *** [Makefile:5: ../../data/Icons/AmigaForever.png] Error 1 make[2]: Leaving directory '/home/RavenWolf-/fs-uae-launcher/src/icons' make[1]: [Makefile:2: all] Error 2 make[1]: Leaving directory '/home/RavenWolf_-/fs-uae-launcher/src' make: [Makefile:4: build] Error 2

I also made an issue about this on the MSYS2 GitHub issue page.

https://github.com/msys2/MINGW-packages/issues/21417

shoober420 commented 2 months ago

I got a bit farther during compile by installing the python-typing_extensions mingw-w64-x86_64-python-typing_extensions mingw-w64-i686-python-typing_extensions packages. The package now compiles, but now i get an error after launching. I'm making a seperate issue thread for that.

I also installed python and submodules for Windows just in case using Windows Powershell. pip3 install rx lhafile pillow requests PyQt5 PyQt6 pyobjc typing_extensions