Package Details: aasdk-git r90.a483733-1

Git Clone URL: https://aur.archlinux.org/aasdk-git.git (read-only, click to copy)
Package Base: aasdk-git
Description: Library to build AndroidAuto headunit
Upstream URL: https://github.com/f1xpl/aasdk
Licenses: GPL3
Conflicts: aasdk
Provides: aasdk
Submitter: parkerlreed
Maintainer: parkerlreed
Last Packager: parkerlreed
Votes: 1
Popularity: 0.000000
First Submitted: 2018-02-27 02:03 (UTC)
Last Updated: 2020-10-20 16:06 (UTC)

Required by (1)

Sources (2)

Latest Comments

1 2 3 Next › Last »

JoukeHijlkema commented on 2024-09-19 14:59 (UTC) (edited on 2024-09-19 15:01 (UTC) by JoukeHijlkema)

I had to do the following to make it compile (besides the workaround by @TimonGaertner)
- change CMAKE_CXX_STANDARD to 17 in CMakeLists.txt
- Comment out FIPS_mode_set(0) on line 43 in SSLWrapper.cpp

BwK commented on 2023-10-10 12:45 (UTC)

@space_server what do you want to use this package for? I needed it for openauto-git. I was able to compile both packages with the forked projects on this GitHub page.

space_server commented on 2023-09-25 16:24 (UTC) (edited on 2023-09-25 16:35 (UTC) by space_server)

compiling fails for me with other Errors for a full build log see: https://pastebin.com/V6Dswbbs

absl::lts_20230802::Cord::HashFragmented<absl::lts_20230802::hash_internal::MixingHashState>(absl::lts_20230802::hash_internal::MixingHashState) const::<lambda(int)> 1021 | hash_state = combiner.add_buffer(std::move(hash_state), chunk.data(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1022 | chunk.size()); | ~~~~~~~~~~~~~~ 1023 | }); | ~ /usr/include/absl/strings/cord.h:1591:48: note: initializing argument 1 of 'void absl::lts_20230802::Cord::ForEachChunk(int) const' 1591 | absl::FunctionRef<void(absl::string_view)> callback) const { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ make[2]: *** [aasdk_proto/CMakeFiles/aasdk_proto.dir/build.make:884: aasdk_proto/CMakeFiles/aasdk_proto.dir/AVChannelData.pb.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:126: aasdk_proto/CMakeFiles/aasdk_proto.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

nd925a commented on 2022-08-18 00:25 (UTC)

Using the fix from @TimonGaertner I had a successful build. I had to have it fail first and edit the file src/aasdk-git/src/USB/USBHub.cpp instead of the src/USB/USBHub.cpp during the build operation.

TimonGaertner commented on 2022-01-13 22:17 (UTC) (edited on 2022-01-13 22:19 (UTC) by TimonGaertner)

@brilthor you have to change

hotplugHandle_ = usbWrapper_.hotplugRegisterCallback(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, LIBUSB_HOTPLUG_NO_FLAGS, LIBUSB_HOTPLUG_MATCH_ANY, LIBUSB_HOTPLUG_MATCH_ANY,

into

hotplugHandle_ = usbWrapper_.hotplugRegisterCallback(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, (libusb_hotplug_flag)LIBUSB_HOTPLUG_NO_FLAGS, LIBUSB_HOTPLUG_MATCH_ANY, LIBUSB_HOTPLUG_MATCH_ANY,

on line 53 in the /src/USB/USBHub.cpp file, you can just do that by cloning https://aur.archlinux.org/aasdk-git.git, running makepkg and replacing the line, while the build is in progress

StS commented on 2021-04-08 00:28 (UTC)

This patch helped me for this: USBHub.cpp:53:103: error: invalid conversion from ‘int’ to ‘libusb_hotplug_flag’ error.

https://pastebin.com/XR4rbTmA

brilthor commented on 2021-03-09 17:15 (UTC) (edited on 2021-03-09 17:16 (UTC) by brilthor)

Build issue on two up to date arch systems

In file included from /home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/include/f1x/aasdk/USB/IUSBWrapper.hpp:24,
                from /home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp:20:
/home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp: In lambda function:
/home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp:53:103: error: invalid conversion from ‘int’ to ‘libusb_hotplug_flag’ [-fpermissive]
53 | hotplugHandle_ = usbWrapper_.hotplugRegisterCallback(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, LIBUSB_HOTPLUG_NO_FLAGS, LIBUSB_HOTPLUG_MATCH_ANY, LIBUSB_HOTPLUG_MATCH_ANY,
    |                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
    |                                                                                           |
    |                                                                                           int

In file included from /home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp:20:
/home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/include/f1x/aasdk/USB/IUSBWrapper.hpp:76:108: note:   initializing argument 2 of ‘virtual f1x::aasdk::usb::HotplugCallbackHandle f1x::aasdk::usb::IUSBWrapper::hotplugRegisterCallback(libusb_hotplug_event, libusb_hotplug_flag, int, int, int, libusb_hotplug_callback_fn, void*)’
76 | ugCallbackHandle hotplugRegisterCallback(libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class,
    |                                                                       ~~~~~~~~~~~~~~~~~~~~^~~~~

make[2]: *** [CMakeFiles/aasdk.dir/build.make:641: CMakeFiles/aasdk.dir/src/USB/USBHub.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/aasdk.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

mbromilow commented on 2020-02-28 22:19 (UTC)

Yeah, I've been waiting for the OTAs before I try the 11 previews, so I'm still on 10. My play services version is still on 20.04.14 (120400-294335909).

parkerlreed commented on 2020-02-28 20:46 (UTC)

Must be where I'm on 11 DP1. Switched cables, forgot all cars, etc. Still the same result.