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

Updating Install Script #48

Open
yoriaantje-dev opened this issue Jun 23, 2020 · 4 comments
Open

Updating Install Script #48

yoriaantje-dev opened this issue Jun 23, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@yoriaantje-dev
Copy link

As posted in #47, there are a bunch off new prerequisits and packages required since PR #33.
@rhysmorgan134 would you close this when you've done the below argument? Just so we can keep this in check and to prevent us from forgetting.

I'll look into updating the script with the new requirements, I'll get an argument that can be passed to enable/disable gstreamer.

Originally posted by @rhysmorgan134 in #47 (comment)

@rsjudka rsjudka added the bug Something isn't working label Jun 27, 2020
@rhysmorgan134
Copy link

@icecube45 just working through the dependencies, trying to remove overlap with the usual dependencies for intelligent auto, I have most figured out and installed now, however the only one that's missing is highlighted as optional, and it's "QtQuick1" struggling to find the correct package to cover this. Most info online just mentions qtquick2 (which is already installed), as it's an optional package, will it adversely affect it if it's not installed? Or do you know the package name that will cover this?

@icecube45
Copy link

If you're referring to the cmake for qtgstreamer mentioning that qtquick1 wasn't found, that's fine. Only qtquick2 is used for IA.

@alierhan
Copy link

Hi @rhysmorgan134 ,
Tried to run install.sh on a fresh SD flashed with Raspbian. I've got an error at 87% mark:

[ 86%] Building CXX object CMakeFiles/ia.dir/src/dash.cpp.o
In file included from /opt/vc/include/interface/vcos/vcos.h:144,
from /opt/vc/src/hello_pi/libs/ilclient/ilclient.h:47,
from /home/pi/intelligent-auto/openauto/include/f1x/openauto/autoapp/Projection/OMXVideoOutput.hpp:24,
from /home/pi/intelligent-auto/openauto/include/f1x/openauto/autoapp/Service/ServiceFactory.hpp:23,
from /home/pi/intelligent-auto/include/app/tabs/open_auto.hpp:16,
from /home/pi/intelligent-auto/include/app/window.hpp:14,
from /home/pi/intelligent-auto/src/dash.cpp:4:
/opt/vc/include/interface/vcos/vcos_logging.h:234:39: warning: ISO C++ does not permit named variadic macros [-Wvariadic-macros]

define _VCOS_LOG_X(cat, _level, fmt...) do { if (vcos_is_log_enabled(cat,_level)) vcos_log_impl(cat,_level,fmt); } while (0)

                                   ^~~

In file included from /home/pi/intelligent-auto/aasdk/include/f1x/aasdk/USB/IUSBWrapper.hpp:24,
from /home/pi/intelligent-auto/aasdk/include/f1x/aasdk/USB/AccessoryModeQueryChain.hpp:21,
from /home/pi/intelligent-auto/include/app/tabs/open_auto.hpp:6,
from /home/pi/intelligent-auto/include/app/window.hpp:14,
from /home/pi/intelligent-auto/src/dash.cpp:4:
/usr/include/libusb-1.0/libusb.h:740:46: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
uint8_t dev_capability_data[ZERO_SIZED_ARRAY];
^
/usr/include/libusb-1.0/libusb.h:765:78: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
struct libusb_bos_dev_capability_descriptor *dev_capability[ZERO_SIZED_ARRAY];
^
/usr/include/libusb-1.0/libusb.h:1258:70: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
struct libusb_iso_packet_descriptor iso_packet_desc[ZERO_SIZED_ARRAY];
^
[ 86%] Building CXX object CMakeFiles/ia.dir/src/obd/command.cpp.o
[ 86%] Building CXX object CMakeFiles/ia.dir/src/obd/obd.cpp.o
[ 87%] Building CXX object CMakeFiles/ia.dir/ia_autogen/mocs_compilation.cpp.o
In file included from /opt/vc/include/interface/vcos/vcos.h:144,
from /opt/vc/src/hello_pi/libs/ilclient/ilclient.h:47,
from /home/pi/intelligent-auto/openauto/include/f1x/openauto/autoapp/Projection/OMXVideoOutput.hpp:24,
from /home/pi/intelligent-auto/openauto/include/f1x/openauto/autoapp/Service/ServiceFactory.hpp:23,
from /home/pi/intelligent-auto/include/app/tabs/open_auto.hpp:16,
from /home/pi/intelligent-auto/build/ia_autogen/KTF6LCBHT5/../../../include/app/window.hpp:14,
from /home/pi/intelligent-auto/build/ia_autogen/KTF6LCBHT5/moc_window.cpp:9,
from /home/pi/intelligent-auto/build/ia_autogen/mocs_compilation.cpp:8:
/opt/vc/include/interface/vcos/vcos_logging.h:234:39: warning: ISO C++ does not permit named variadic macros [-Wvariadic-macros]

define _VCOS_LOG_X(cat, _level, fmt...) do { if (vcos_is_log_enabled(cat,_level)) vcos_log_impl(cat,_level,fmt); } while (0)

                                   ^~~

In file included from /home/pi/intelligent-auto/aasdk/include/f1x/aasdk/USB/IUSBWrapper.hpp:24,
from /home/pi/intelligent-auto/aasdk/include/f1x/aasdk/USB/AccessoryModeQueryChain.hpp:21,
from /home/pi/intelligent-auto/include/app/tabs/open_auto.hpp:6,
from /home/pi/intelligent-auto/build/ia_autogen/KTF6LCBHT5/../../../include/app/window.hpp:14,
from /home/pi/intelligent-auto/build/ia_autogen/KTF6LCBHT5/moc_window.cpp:9,
from /home/pi/intelligent-auto/build/ia_autogen/mocs_compilation.cpp:8:
/usr/include/libusb-1.0/libusb.h:740:46: warning: ISO C++ forbids zero-size array ‘dev_capability_data’ [-Wpedantic]
uint8_t dev_capability_data[ZERO_SIZED_ARRAY];
^
/usr/include/libusb-1.0/libusb.h:765:78: warning: ISO C++ forbids zero-size array ‘dev_capability’ [-Wpedantic]
struct libusb_bos_dev_capability_descriptor *dev_capability[ZERO_SIZED_ARRAY];
^
/usr/include/libusb-1.0/libusb.h:1258:70: warning: ISO C++ forbids zero-size array ‘iso_packet_desc’ [-Wpedantic]
struct libusb_iso_packet_descriptor iso_packet_desc[ZERO_SIZED_ARRAY];
^
[ 87%] Building CXX object CMakeFiles/ia.dir/ia_autogen/GBFAFXFCVO/qrc_resources.cpp.o
make[2]: *** No rule to make target '/opt/vc/src/hello_pi/libs/ilclient/libilclient.a', needed by '../bin/ia'. Stop.
make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/ia.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
make error check output above
pi@raspberrypi:~/intelligent-auto $

@rhysmorgan134
Copy link

@alierhan I have a fork here that has the updated script (switch aasdk, openauto to their respective branches)

https://github.com/rhysmorgan134/intelligent-auto

a pull request has been opened to bring it in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants