fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
3.87k stars 814 forks source link

Unable to build / compile with provided instructions. #4139

Open esp13 opened 2 months ago

esp13 commented 2 months ago

Problem

Unable to build / compile with provided instructions https://github.com/fritzing/fritzing-app/wiki/1.-Building-Fritzing. After a lot of tries, adding libraries everywhere (for some libraries if you don't put it in fritzing-app/src/ it won't detect it), when trying to compile with qtcreator / qt6, I got stuck here:

error: cannot find -lquazip1-qt6: No such file or directory
error: cannot find -lpolyclipping: No such file or directory
error: collect2: error: ld returned 1 exit status
error: [Makefile.Debug:1218: Fritzing] Error 1

I used a test computer with Ubuntu 22.04.4 LTS (Jammy jellyfish) For clipping I tried https://github.com/fritzing/fritzing-app/issues/4104 but doesn't solve it.

Proposed Solution

kuflierl commented 2 months ago

Honestly, I also had the same issue while trying to update the build file for Flatpak. A working build file detailing the necessary dependencies is available at https://github.com/kuflierl/Flatpak-org.fritzing.Fritzing/blob/main/org.fritzing.Fritzing.json Cheers mate