Open mozcelikors opened 4 years ago
Hello everyone, I am able to compile openauto in yocto. However I am stuck with this error with aasdk, is this due to cmake, can someone help with your insights.
Regards Sharavan
Compilation Issues as below..
/home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:35:1: error: expected class-name before '{' token | { | ^ | /home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:117:1: error: expected class-name before '{' token | { | ^ | /home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:198:1: error: expected class-name before '{' token | { | ^ | /home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:278:1: error: expected class-name before '{' token | {
i'm currently looking at yocto. Are you able to share your repo with your yocto work?
Hello Matt, I am in warrior branch This is issue is only due to cross compilation. I have raspbian/stretch (docker) running on top of POKY warrior no issues observed.
bblayers.conf
BBLAYERS ?= " \ /home/sharavan/sara_raspi/sources/poky/meta \ /home/sharavan/sara_raspi/sources/poky/meta-poky \ /home/sharavan/sara_raspi/sources/poky/meta-yocto-bsp \ /home/sharavan/sara_raspi/sources/meta-raspberrypi \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-oe \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-perl \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-python \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-filesystems \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-webserver \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-multimedia \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-networking \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-gnome \ /home/sharavan/sara_raspi/sources/meta-openembedded/meta-xfce \ /home/sharavan/sara_raspi/sources/meta-qt5 \ /home/sharavan/sara_raspi/sources/meta-virtualization \ /home/sharavan/sara_raspi/raspi_build/workspace \ "
also you need to add c++ / g++ in the libraries list
Have you created a layer and recipe for aasdk and openauto? I'm working on one at the moment. csng_yocto
Yes I have the recipes for both open auto and aaasdk. Do you want me to upload
Yes please. It'll be easier if you create a repo and then add the url in here, I can compare against the one's I'm build at the moment. So far I've got aasdk compiling and have just started looking at openauto. Once I've done those then it'll be adding recipes for all to other Crankshaft applications/scripts.
My aim is once its working I'll then add it to opencardev, then use it to build the next crankshaft version
Hello Matt, Thanks a ton, compiled asdk looking at your .bb file / Working on openauto, compilation seems to be smooth , errors are from including f1x include directories. cmake is not finding the path for the include. If I can be of any help let me know.
Thanks again Regards Sharavan
On Wed, Jan 27, 2021 at 3:52 AM Matthew Hilton notifications@github.com wrote:
Yes please If you create a repo and then add the url in here i can compare against the one's i'm build at the moment. So for I've got aasdk building and have just started looking at openauto. Once I've done those then it'll be adding recipes for all to other Crankshaft applications/scripts.
My aim is once its working I'll then add it to opencardev.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/opencardev/crankshaft/issues/401#issuecomment-767850978, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHDOMITNCXN6UQ3KTSPFATS346DHANCNFSM4KCCLQ3Q .
I'm currently having issues with rtaudio, I can't find a recipe for it.
@sharavan-lab suggest moving to the dedicated repo
I have built rtaudio , will share the code
On Wed, Jan 27, 2021 at 7:45 PM Matthew Hilton notifications@github.com wrote:
I'm currently having issues with rtaudio, I can't find a recipe for it.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/opencardev/crankshaft/issues/401#issuecomment-768313473, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHDOMJIRD4NF7EM3LF6FU3S4ANWLANCNFSM4KCCLQ3Q .
I've managed to build it too. Now just working on openauto.
Hello matt2005, i managed to build openauto. You can find all my changes here https://github.com/adrianalin/csng_yocto.
Great thanks, please submit PR against my repo
@sharavan-lab did you manage to fix this issue?
/home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:35:1: error: expected class-name before '{' token | { | ^ | /home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:117:1: error: expected class-name before '{' token | { | ^ | /home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:198:1: error: expected class-name before '{' token | { | ^ | /home/sharavan/sara_raspi/raspi_build/workspace/sources/aasdk-ice/include/f1x/aasdk/IO/Promise.hpp:278:1: error: expected class-name before '{' token | {
I came across this problem as well.
Thanks in advance.
I'm kinda late but I found the problem, it's linked to the boost version, in which the includes needed for the template in Promise.hpp results in an ill formed class definition. I used boost 1.66.0 and it compiled
Hello Everyone,
I'm Facing an issue when deploying open Auto on Raspberry Pi 5 (aarch64)
In file included from /home/av/aasdk/include/f1x/aasdk/IO/PromiseLink.hpp:24, from /home/av/aasdk/src/Channel/Control/ControlServiceChannel.cpp:22: /home/av/aasdk/include/f1x/aasdk/IO/Promise.hpp:35:1: error: expected class-name before ‘{’ token 35 | { | ^ /home/av/aasdk/include/f1x/aasdk/IO/Promise.hpp:117:1: error: expected class-name before ‘{’ token 117 | { | ^ /home/av/aasdk/include/f1x/aasdk/IO/Promise.hpp:198:1: error: expected class-name before ‘{’ token 198 | { | ^ /home/av/aasdk/include/f1x/aasdk/IO/Promise.hpp:278:1: error: expected class-name before ‘{’ token 278 | { | ^ make[2]: [CMakeFiles/aasdk.dir/build.make:174: CMakeFiles/aasdk.dir/src/Channel/Control/ControlServiceChannel.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:100: CMakeFiles/aasdk.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
I checked the boost version and it is the last version Should I downgrade to boost 1.66.0, if so how can I downgrade?
Thanks in advance.
I am trying to run openauto/crankshaft on a different platform (TI DRA7xx) that supports Yocto. I have successfully managed to run the application with a lot of porting work. However, since my platform is not a Raspberry Pi OMXVideoOutput won't work. When I try to run using QtVideoOutput.cpp, video performance is very very slow (5 to 30 second delayed video), however the actions are instant. That means, when I click "Play" button, there is sound instantly, but the video wont refresh for 5-30 seconds. At first look, I thought this is caused by hardware acceleration support. I believe MediaPlayer object used in QtVideoOutput is directly tied to gstreamer. However, I am able to play mp4 videos using gstreamer's playbin seamlessly. (Though playing .mkv through playbin is troublesome.) Please correct me if I'm wrong: openauto/aasdk directly reads from USB (and not from the USB-Network gadget) and writes payload to a video buffer, which then is played on a VideoWidget. If this is the case, I am not familiar with this and therefore don't know any methods to improve the problem at hand. So the issue remains and I need help identifying the possible causes for this problem.
Here is the log:
I do not get the above errors when playing an mp4 file:
Granted, this looks like a platform-related platform, but I still would appreciate ideas. Thanks in advance.