Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

program startup error #1771

Closed
akcansoft opened this issue May 6, 2024 · 15 comments
Closed

program startup error #1771

akcansoft opened this issue May 6, 2024 · 15 comments

Comments

@akcansoft
Copy link

Continuous Build: LibreCAD-latest-1-g1a470768-win64.exe
Windows 11

Program startup error. Program is not working
error

@dxli
Copy link
Member

dxli commented May 6, 2024

I suppose the failure is not limited to win11.

Did anyone try the installer on older versions?

@GSStnb
Copy link
Contributor

GSStnb commented May 6, 2024

Is this related?
$ /opt/lc/LibreCAD-latest-1-g423ce8a4.AppImage
/tmp/.mount_LibreCOffjPC/usr/bin/librecad: error while loading shared libraries: libQt6Svg.so.6: cannot open shared object file: No such file or directory

@akcansoft
Copy link
Author

now I downloaded and installed LibreCAD-latest-1-g423ce8a4-win64.exe. I wanted to run the LibreCAD program.
The same problem still persists.

@dongxuli-concord-design
Copy link
Contributor

dongxuli-concord-design commented May 6, 2024

For Linux appimage, the issue appears to be clear, need to deploy the qt SVG libraries; looks like lots of people have trouble for the current appimage builder with qt6

For windows, need troubleshooting

@jonadem
Copy link
Contributor

jonadem commented May 7, 2024

Win11 also :
image

@dxli
Copy link
Member

dxli commented May 7, 2024

Win64 installer is fixed with 494a9c9

Looks like Linux appimage is the trouble for qt-6. 6

@jonadem
Copy link
Contributor

jonadem commented May 7, 2024

I have the same issue with the new installer.
From this comment, it looks related to libstdc++
huihut/OpenCV-MinGW-Build#18 (comment)

@akcansoft
Copy link
Author

same problem persists.
Windows 11
LibreCAD-latest-9-gc8a920a0-win64.exe
Program startup error. Program is not working
error

@dongxuli-concord-design
Copy link
Contributor

Sorry, looks like I made a mistake here. The issue was an incorrect qt version was specified in packaging.

@dxli
Copy link
Member

dxli commented May 7, 2024

c8a920a

This commit was built with proper qt version

@GSStnb
Copy link
Contributor

GSStnb commented May 7, 2024

c8a920a
This commit was built with proper qt version

The latest build (just downloaded) generates the same error:
$ /home/opt/LibreCAD-latest-9-gc8a920a0.AppImage
/tmp/.mount_LibreCHLbpmf/usr/bin/librecad: error while loading shared libraries: libQt6Svg.so.6: cannot open shared object file: No such file or directory

@dongxuli-concord-design
Copy link
Contributor

dongxuli-concord-design commented May 7, 2024

Yes, we still need a way to build a Linux image for qt6

I can reproduce this issue on win10.

dxli added a commit that referenced this issue May 9, 2024
@dxli
Copy link
Member

dxli commented May 9, 2024

Linux appimage is fixed by manually copying the qt6 libraries over. The building tool simply quit after detecting an empty qt profile

2024/05/07 15:15:40 Detected Qt 6
2024/05/07 15:15:40 Offset of qt_prfxpath: 4809676
2024/05/07 15:15:40 Length of value of qt_prfxpath: 0
2024/05/07 15:15:40 qt_prfxpath: 
2024/05/07 15:15:40 Could not get qt_prfxpath
2024/05/07 15:15:40 Got empty qtPrfxpath, exiting
LibreCAD

The windows issue is still not clear to me, seekg() is part of glibc and the library is located and copied into the installer.

SetOutPath: "$INSTDIR"
File: "D3Dcompiler_47.dll" [compress] 1381077/4173928 bytes
File: "LibreCAD.exe" [compress] 2937632/9295360 bytes
File: "Qt6Core.dll" [compress] 2274219/6717624 bytes
File: "Qt6Gui.dll" [compress] 3365104/10306224 bytes
File: "Qt6Network.dll" [compress] 533450/1643184 bytes
File: "Qt6PrintSupport.dll" [compress] 142782/403120 bytes
File: "Qt6Svg.dll" [compress] 122300/370864 bytes
File: "Qt6Widgets.dll" [compress] 2164331/6627504 bytes
File: "libgcc_s_seh-1.dll" [compress] 30982/75264 bytes
File: "libstdc++-6.dll" [compress] 484878/1957376 bytes
File: "libwinpthread-1.dll" [compress] 21338/53248 bytes
File: "opengl32sw.dll" [compress] 5475867/20639888 bytes
File: Descending to: "..\..\windows\generic\"
File: "qtuiotouchplugin.dll" [compress] 37911/96960 bytes
File: Descending to: "..\..\windows\iconengines\"

@dxli
Copy link
Member

dxli commented May 12, 2024

fixed by 3f05709

The problem appears to be an issue due to the mingw-64 version with gcc-8.10 . Fixed by using mingw-64, gcc-11.20

@dxli dxli closed this as completed May 12, 2024
@jonadem
Copy link
Contributor

jonadem commented May 14, 2024

Confirmation that it works with LibreCAD-2.2.1_rc2-1-g4cd3b138-win64.exe
Thanks ! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants