Comments (11)
Im working on moving the instructions to the Wiki and updating the at the same time, should make the documentation more up-to-date in the future.
The correct command for the protoc build is :
protoc --proto_path=modules/android-auto/headunit/hu/ --cpp_out=modules/android-auto/headunit/hu/generated.x64/ modules/android-auto/headunit/hu/hu.proto
You'll need to install the dev files for BluezQt. I've already added an updated dependency list to the wiki, I suggest you install those on Ubuntu or Debian : https://github.com/viktorgino/headunit-desktop/wiki/Compiling-HUD
from headunit-desktop.
I've added the updated instructions to https://github.com/viktorgino/headunit-desktop/wiki/Building-Headunit-Desktop if anyone has any issues building after following these instructions please let me know here.
from headunit-desktop.
Hello,
I think I have similar problem. Building instruction is outdated or not complete (I have tried http://headunit.viktorgino.me). I stuck on compiling protobuf files. The error is headunit/hu/hu.proto: No such file or directory
. When skipping this step and building with QTCreator, there are another errors like: Unknown module(s) in QT: BluezQt
(I have installed everything I could for bluez including qt-connectivity).
Maybe for people who knows QT it is simple and does not require clarification but I have not idea how to build and run the project. I hope someone can write working build documentation so I will be able to try this software and maybe help with development because it looks very promising.
from headunit-desktop.
Oh... Somehow I've missed wiki of this repo...
Thank you for the answer. protoc command you gave works so now I need to deal with installation of dependencies that are missing in ubuntu repository and I hope I will be able to build this monster :)
from headunit-desktop.
@pawel0987 let me know how it goes
from headunit-desktop.
The protoc command work well but i cant do "make -j4 sub-app-pro"
The output is
Make: *** no rule to make target 'sub-app-pro'. Stop.
Same with sub-headunit-desktop-pro
from headunit-desktop.
@ExperienceTesla the sub-app-pro
is not needed anymore, so the it becomes make -j4
from headunit-desktop.
Hello @viktorgino, sorry I haven't write anything for so long, I just didn't have enough time to sit to this :(
I saw your updated wiki pages:
- Building QtCharts (looks good)
- Building QtGStreamer (I have an error when invoking 'make':
/usr/include/gstreamer-1.0/gst/gstminiobject.h:33:65: error: invalid cast from type ‘const CapsPtr’ {aka ‘const QGlib::RefPointer<QGst::Caps>’} to type ‘GstMiniObject*’ {aka ‘_GstMiniObject*’}
#define GST_MINI_OBJECT_CAST(obj) ((GstMiniObject*)(obj))
^
- qtpim - I have found the repository but I have no idea how to install it :/ Probably because I am not yet in QT or C++ as deep as I should be to work with this project :D
- Building qofono (it exists in Ubuntu 19.04 - version 0.90 vs 0.96 manually installed, so I am not sure if it is ok to install this with apt or not...)
I will try to deal with this now. If you have any clue what I am doing wrong, please help :)
from headunit-desktop.
The weird thing is that I was able to build headunit app now...
Music player is not working / or I don't know how to use it (could be connected to lack of qtgstreamer I guess). Also the most important tab - Settings - is empty :/
from headunit-desktop.
Update about qtgstreamer:
In ubuntu 19.04 there is package: "libqt5gstreamer-dev" available.
Nevertheless even after installing this and rebuilding application, cannot really use settings view.
May it be something wrong with building process?
from headunit-desktop.
Ok, some summary of what I did and another problems:
Application logs says:
qrc:/qml/SettingsPage/SettingsPageItem.qml:27:9: "Connections.enabled" is not available in QtQuick 2.6.
Error dissapped when I removed this property.Settings Loader: "" : Error loading settings JSON, root type should be of "items" type
Looks like the cause of empty settings page. I didn't find solution yet.-
qrc:/PhoneBluetooth/Phone.qml:251:25: Type Contacts unavailable qrc:/PhoneBluetooth/Contacts.qml:2:1: module "QtContacts" is not installed
I was searching for this module how to install it but without success. It should be in apt but it's not.
One last thing from my site: On this wiki page I would suggest to not split command into lines. Currently when you copy-paste from wiki it tries to execute separate lines (which is bad of course).
from headunit-desktop.
Related Issues (20)
- [Feature Request] Apple Carplay Support HOT 1
- Build Guide still needed HOT 10
- Asking for help not an issue HOT 2
- FM radio
- delete me - opened by mistake
- Android Auto audio output is not correct
- Android Auto randomly crashing HOT 2
- Android Auto not connecting HOT 3
- Settings Loader not loading certain types of default settings HOT 7
- The application does not start properly. HOT 1
- can't Build the Headunit HOT 1
- Will it work on arm based ubuntu? Such as jetson tx2? HOT 1
- [Question] Android Auto client HOT 1
- build error HOT 5
- [Bug] Pullin phonebook over bluetooth makes phone reconnect
- USB Connection Listener eats CPU
- Segmentation fault? HOT 1
- Undeclared QMutableListIterator HOT 5
- Add AA WiFi support
- hu.proto: No such file or directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headunit-desktop.