You are here

Vesc Tool 6.02 compiling Error on Ubuntu (res_fw.qrc)

2 posts / 0 new
Last post
Gos1
Gos1's picture
Offline
Last seen: 5 months 1 day ago
VESC Free
Joined: 2022-03-23 12:57
Posts: 11
Vesc Tool 6.02 compiling Error on Ubuntu (res_fw.qrc)

Hello everyone,

as I am diving deeper into compiling my own Firmware on Ubuntu 20.04, I have had some problems. Imo the documentation isn't up to date or at least unspecific for s.o. trying to reproduce the promised result.

Here is a problem I cannot solve: When using the Qt Creator to compile the vesc_tool 6.02 previously downloaded from github, I try to run the code to get:

Warning: Failure to find: res/firmwares/res_fw.qrc

I tried out an older version of the vesc_tool (0.95 from https://github.com/aurimasniekis/vesc_tool_official) where the needed files exist with the right title but I cannot use the 0.95 because my motor controllers have a newer firmware version.

It seems like the old "res_fw.qrc" got renamed and some other part of code is looking for the old title.

What is the problem here? Any dependencies within the code that are not aligned with each other, wrong settings from my side or other stuff I didn't consider?

DaRho
Offline
Last seen: 4 months 1 day ago
VESC Free
Joined: 2023-07-09 15:39
Posts: 4

Hey,

Have you managed to solve this issue?

I'm running into the same problem at the moment.

EDIT: Found it.

Was looking at the commits of the last release, and found this one:

 

This led me file ./build_cp_fw  in the VESC_TOOL folder. I needed to edit this file so that the FWPATH variable pointed to the location of the BLDC source (firmware).

After doing that and running this script, it complied all firmwares (it took a while) and the missing QRC file was generated. After that I was able to run "./build_lin" and that built the VESC_TOOL (after another while)