Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't build. MAVSDK release doesn't contain RemoteID #9

Closed
AlexKlimaj opened this issue Nov 22, 2024 · 3 comments
Closed

Doesn't build. MAVSDK release doesn't contain RemoteID #9

AlexKlimaj opened this issue Nov 22, 2024 · 3 comments

Comments

@AlexKlimaj
Copy link
Member

jetson@jetson-alex:~/ARK-OS/scripts$ ./install_rid_transmitter.sh
[sudo] password for jetson:
Installing RemoteIDTransmitter
~/ARK-OS/scripts ~/ARK-OS/scripts
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
astyle is already the newest version (3.1-2build1).
bluez-tools is already the newest version (2.0~20170911.0.7cb788c-4).
bluez is already the newest version (5.64-0ubuntu1.3).
libbluetooth-dev is already the newest version (5.64-0ubuntu1.3).
The following packages were automatically installed and are no longer required:
  gdal-data libaec0 libarmadillo10 libarpack2 libavcodec-dev libavformat-dev libavutil-dev libblosc1 libcfitsio9 libcharls2 libdc1394-dev libdeflate-dev
  libdouble-conversion3 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexif-dev libfabric1 libfreexl1 libfyba0 libgdal30 libgdcm-dev libgdcm3.0
  libgeos-c1v5 libgeos3.10.2 libgeotiff5 libgl2ps1.4 libglew2.2 libgphoto2-dev libhdf4-0-alt libhdf5-103-1 libhdf5-hl-100 libheif1 libhwloc-plugins
  libhwloc15 libilmbase-dev libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libkmlbase1 libkmldom1 libkmlengine1 liblept5 libminizip1
  libmysqlclient21 libnetcdf19 libodbc2 libodbcinst2 libogdi4.1 libopencv-calib3d4.5d libopencv-contrib4.5d libopencv-dnn4.5d libopencv-features2d4.5d
  libopencv-flann4.5d libopencv-highgui4.5d libopencv-imgcodecs4.5d libopencv-imgproc4.5d libopencv-ml4.5d libopencv-objdetect4.5d libopencv-photo4.5d
  libopencv-shape4.5d libopencv-stitching4.5d libopencv-superres4.5d libopencv-video4.5d libopencv-videoio4.5d libopencv-videostab4.5d libopencv-viz4.5d
  libopenexr-dev libopenmpi3 libpmix2 libpng-dev libpq5 libproj22 libraw1394-dev librttopo1 libsocket++1 libspatialite7 libsuperlu5 libswresample-dev
  libswscale-dev libsz2 libtbb-dev libtesseract4 libtiff-dev libtiffxx5 libucx0 liburiparser1 libvtk9.1 libwpe-1.0-1 libwpebackend-fdo-1.0-1 libxerces-c3.2
  libxnvctrl0 mysql-common proj-data unixodbc-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
~/ARK-OS/submodules/RemoteIDTransmitter ~/ARK-OS/submodules/RemoteIDTransmitter
make[1]: Entering directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build
gmake[2]: Entering directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
gmake[3]: Entering directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
gmake[4]: Entering directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
Consolidate compiler generated dependencies of target rid-transmitter
gmake[4]: Leaving directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
gmake[4]: Entering directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
[ 14%] Building CXX object CMakeFiles/rid-transmitter.dir/src/Transmitter/Transmitter.cpp.o
/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/src/Transmitter/Transmitter.cpp: In member function ‘bool txr::Transmitter::wait_for_mavsdk_connection(double)’:
/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/src/Transmitter/Transmitter.cpp:67:61: error: ‘ComponentType’ is not a member of ‘mavsdk’
   67 |         auto config = mavsdk::Mavsdk::Configuration(mavsdk::ComponentType::RemoteId);
      |                                                             ^~~~~~~~~~~~~
gmake[4]: *** [CMakeFiles/rid-transmitter.dir/build.make:132: CMakeFiles/rid-transmitter.dir/src/Transmitter/Transmitter.cpp.o] Error 1
gmake[4]: Leaving directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
gmake[3]: *** [CMakeFiles/Makefile2:83: CMakeFiles/rid-transmitter.dir/all] Error 2
gmake[3]: Leaving directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
gmake[2]: *** [Makefile:91: all] Error 2
gmake[2]: Leaving directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build'
make[1]: *** [Makefile:5: all] Error 2
make[1]: Leaving directory '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter'
~/ARK-OS/submodules/RemoteIDTransmitter
cp: cannot stat '/home/jetson/ARK-OS/submodules/RemoteIDTransmitter/build/rid-transmitter': No such file or directory
Failed to set capabilities on file `/home/jetson/.local/bin/rid-transmitter' (No such file or directory)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
~/ARK-OS/scripts
Successfully copied rid-transmitter.manifest.json to /home/jetson/.local/share/rid-transmitter/
Created symlink /home/jetson/.config/systemd/user/default.target.wants/rid-transmitter.service → /home/jetson/.config/systemd/user/rid-transmitter.service.
jetson@jetson-alex:~/ARK-OS/scripts$

@AlexKlimaj
Copy link
Member Author

The latest mavsdk release doesn't have your RemoteID update.

@AlexKlimaj AlexKlimaj reopened this Nov 22, 2024
@AlexKlimaj AlexKlimaj changed the title Doesn't build Doesn't build. MAVSDK release doesn't contain RemoteID Nov 22, 2024
@dakejahl
Copy link
Collaborator

I talked to Julian about getting this backported, didn't realize the v2 point releases were only backports

@dakejahl
Copy link
Collaborator

dakejahl commented Feb 3, 2025

Fixed in the latest release

@dakejahl dakejahl closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants