opencardev / openauto

AndroidAuto headunit emulator
GNU General Public License v3.0
134 stars 47 forks source link

Cranskhaft with aasdk next #18

Open dicetrash opened 1 year ago

dicetrash commented 1 year ago

Make opencardev/openauto work with opencardev/aasdk newdev

matt2005 commented 1 year ago

Does this pr compile for you? I've tried to compile it, but am getting the following error.


/home/pi/workspace/buildsystem/openauto/src/btservice/AndroidBluetoothServer.cpp:27:10: fatal error: aasdk_proto/WifiInfoRequestMessage.pb.h: No such file or directory
   27 | #include <aasdk_proto/WifiInfoRequestMessage.pb.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/btservice.dir/build.make:121: CMakeFiles/btservice.dir/src/btservice/AndroidBluetoothServer.cpp.o] Error 1
dicetrash commented 1 year ago

My libaasdk.so was compiled off aasdk with newdev branch and then I added WifiInfoRequestMessage.proto back from master so yes it compiled .., I can add an MR https://github.com/opencardev/aasdk/pull/20 to add the three deleted proto files back into aasdk, not familiar enough with the project to know why they where deleted. More info from aasdk maintainers would be good to see where they want to go with this. https://github.com/opencardev/aasdk/compare/newdev...opencardev:aasdk:development is the stuff in develop branch that never made it to newdev

matt2005 commented 1 year ago

I'll verify it builds and test it over the weekend

Fabio3rs commented 1 year ago

I checked-out this pull request, and I needed to make the following edit to be able to compile:

diff --git a/src/autoapp/Projection/OMXVideoOutput.cpp b/src/autoapp/Projection/OMXVideoOutput.cpp
index f8f3808..6a46380 100644
--- a/src/autoapp/Projection/OMXVideoOutput.cpp
+++ b/src/autoapp/Projection/OMXVideoOutput.cpp
@@ -23,7 +23,7 @@ extern "C"
 #include <bcm_host.h>
 }

-#include <f1x/aasdk/Common/Data.hpp>
+#include <aasdk/Common/Data.hpp>
 #include <f1x/openauto/autoapp/Projection/OMXVideoOutput.hpp>
 #include <f1x/openauto/Common/Log.hpp>