cancel
Showing results for 
Search instead for 
Did you mean: 

My project is building successfull but cannot upload it to STM32Discovery board and the stm32cube ide is showing libncurses related error on Manjaro Linux.

George_Costanza
Associate II

Below error is throwing in Manjaro Linux when I try to upload the program to the board. The project is building successful. Installed libncurses from AUR as well as the offiicial repository, but no use.

0693W00000QKn7oQAD.png

1 ACCEPTED SOLUTION

Accepted Solutions
George_Costanza
Associate II

Solved the issue. You need to install arm-none-eabi-gcc & gdb then set the toolchain as local from Windows->preference->stm32 toolchain. See the video below,

https://youtu.be/l-cK1C7XMW4

View solution in original post

3 REPLIES 3
MM..1
Chief III

You need concrete NCURSES version , latest libncurses isnt full backwards compat. Your error window show required version.

Why gdb wants libncurses at all? it does not display any text based UI in this environment.

George_Costanza
Associate II

Solved the issue. You need to install arm-none-eabi-gcc & gdb then set the toolchain as local from Windows->preference->stm32 toolchain. See the video below,

https://youtu.be/l-cK1C7XMW4