Giter Club home page Giter Club logo

Comments (11)

viktorgino avatar viktorgino commented on June 6, 2024 1

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.

viktorgino avatar viktorgino commented on June 6, 2024 1

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.

pawel0987 avatar pawel0987 commented on June 6, 2024

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.

pawel0987 avatar pawel0987 commented on June 6, 2024

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.

viktorgino avatar viktorgino commented on June 6, 2024

@pawel0987 let me know how it goes

from headunit-desktop.

ExperienceTesla avatar ExperienceTesla commented on June 6, 2024

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.

viktorgino avatar viktorgino commented on June 6, 2024

@ExperienceTesla the sub-app-pro is not needed anymore, so the it becomes make -j4

from headunit-desktop.

pawel0987 avatar pawel0987 commented on June 6, 2024

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.

pawel0987 avatar pawel0987 commented on June 6, 2024

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.

pawel0987 avatar pawel0987 commented on June 6, 2024

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.

pawel0987 avatar pawel0987 commented on June 6, 2024

Ok, some summary of what I did and another problems:
Application logs says:

  1. qrc:/qml/SettingsPage/SettingsPageItem.qml:27:9: "Connections.enabled" is not available in QtQuick 2.6.
    Error dissapped when I removed this property.
  2. 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.
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.