You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the same result on my desktop computer, but switching to a laptop seems to solve the problem, and virtual machines are also unable to solve it!
micro_ros_setup need git to build firmware but if you get some problem with network, git will report GNUTLS error. that's git uses GnuTLS and it may cause some connection error. So we've better build git with OpenSSL from source.
Solution
execute following command on your PC, under your STM32CubeIDE project folder.
# pull docker container to local host
docker pull microros/micro_ros_static_library_builder:humble
# start container and enter terminal of container environment
docker run -it -v $(pwd):/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library_ide --entrypoint /bin/bash microros/micro_ros_static_library_builder:humble
do the following in docker container:
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.17.0.tar.gz
sudo apt update
sudo apt install autoconf build-essential tcl-dev libssl-dev libcurl4-openssl-dev gettext
tar -xf git-2.17.0.tar.gz
cd git-2.17.0
make configure
./configure --prefix=/usr/
make -j8
make install
git version # you will see current git version 2.17.0
bash /project/MICROROS_LIBRARY_FOLDER/library_generation/library_generation.sh
if everything OK, the following picture show correct building process.
The text was updated successfully, but these errors were encountered: