rigexpert / AntScope2

MIT License
40 stars 18 forks source link

Error in 'res.qrc': Cannot find file 'logo_watermark.png' #10

Open Thomas-McCarthy opened 3 years ago

Thomas-McCarthy commented 3 years ago

Hi Guys I hope you are well. Thank you for your continued work in developing this application.

Antscope2 fails in compile on Raspberry Pi 3B+ Running Raspberry Pi OS with desktop Release date: May 7th 2021

Error Message: Error in 'res.qrc': Cannot find file 'logo_watermark.png'

Manually creating this file allows the to compile processes to complete without error.

StevPem commented 3 years ago

I came here to ask the same question.

brunomiguel commented 3 years ago

I'm getting the same error when trying to compile the package from AUR

SpudGunMan commented 3 years ago

+1 same as OP compiled with simply touching a logo_watermark.png for the holder

btombaugh commented 2 years ago

Building on RPi under Bullseye, I skipped the steps to add twolife.be as a repo for qt5, and instead:

sudo apt install libqt5core5a qt5-qmake libegl1-mesa libgles2-mesa

sudo apt install libqt5serialport5-dev

sudo apt install libusb-1.0.0-dev

I had the same issue with the missing logo_watermark.png, so did:

touch logo_watermark.png

to create an empty file in the ~/AntScope2-Master directory, as mentioned above, then re-ran:

sudo make

which was successful

btombaugh commented 2 years ago

I've made a couple more updates to resolve error/warning messages:

sudo mkdir -p /usr/share/RigExpert/AntScope2

Copy the text files from the AntScope2-master to /usr/share/RigExpert/AntScope2 sudo cp *.txt /usr/share/RigExpert/AntScope2 These include the band plans by region.

some other notes that I found from other issues posted in Github:

The path is /usr/share/RigExpert/. In there you should have a file called AntScope2, AntScope2.ini, and a directory named Calibration. I didn’t.

They might be in a directory called /usr/share/RigExpert/AntScope2/. That’s where mine were.

I copied them from /usr/share/RigExpert/AntScope2/ to /usr/share/RigExpert and now no more “Can’t Open” messages. (Note - you need to rename the AntScope2 directory to something like AntScope2.bkup or else you can’t copy the AntScope2 file up into place since it has the same name as the directory.)

I keep finding files HKEY_CLASSES_ROOT and "Not chosen" in the active directory when running...