having a slight problem with the IDE suite when compiling in Linux.
i have installed all the drivers (i think) that is needed to upload to the proffie but i keep getting this strange error message.
i’ve checked that the files are where it seems to be looking for them but for the life of me i just cant figure it out why it wont see them? (i’m sure it’s a simple fix)
i can see the board in ports when plugged in and i can also see the SD card so doesn’t appear to be a issue with that part.
Arduino: 1.8.19 (Linux), Board: "Proffieboard V2, Serial + Mass Storage + WebUSB, SDCARD (SPI), 80 MHz, Smallest Code"
fork/exec /home/driftrotor/.arduino15/packages/proffieboard/hardware/stm32l4/3.6.0/tools/linux//dfu-suffix: no such file or directory
Error compiling for board Proffieboard V2.
any help is happily received.
it does, i traced the path specified and found what should be there.
but for some reason it is not seeing it.
this is why i am confused.
if you go to that directory and run ldd dfu-suffix
, what do you get?
when you say “run” do you mean double click?
if so i get nothing and right click does not give me an option to run either.
No, I mean type “ldd dfu-suffix” into a terminal.
it says “no such file or directory”
so this leads me to assume that it is not in the correct place.
if i run the linux folder in the terminal and run “ldd dfu-suffix” i get " not a dynamic executable"
looks like dfu-suffix is a 32-bit program, do you have 32-bit program support installed on your linux system?
i will check but i dont think i have.
it was a fresh install this evening.
it appears i don’t.
do you have a recommendation for this?
did a bit of digging around and found the answer to getting 32 bit to run.
in command you run
sudo dpkg --add-architecture i386
then
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
after that i was able to run the
ldd dfu-suffix
all i now well with the world once more!
thank you @profezzorn for showing me the way!