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

error compiling aasdk / error compiling openauto #10

Open
seb3773 opened this issue Feb 18, 2022 · 0 comments
Open

error compiling aasdk / error compiling openauto #10

seb3773 opened this issue Feb 18, 2022 · 0 comments

Comments

@seb3773
Copy link

seb3773 commented Feb 18, 2022

I followed all the instructions in building.md exactly, starting with a fresh crankshaft image (latest downloadable), but I got error compiling aasdk:

[ 88%] Building CXX object CMakeFiles/aasdk.dir/src/Messenger/Cryptor.cpp.o
/home/pi/prebuilts/buildsystem/aasdk/src/Messenger/Cryptor.cpp: In member function ‘virtual size_t aasdk::messenger::Cryptor::decrypt(aasdk::common::Data&, const aasdk::common::DataConstBuffer&, int)’:
/home/pi/prebuilts/buildsystem/aasdk/src/Messenger/Cryptor.cpp:191:12: warning: variable ‘availableBytes’ set but not used [-Wunused-but-set-variable]
size_t availableBytes = length;
^~~~~~~~~~~~~~

then, later:

[ 91%] Building CXX object CMakeFiles/aasdk.dir/src/Messenger/MessageOutStream.cpp.o
/home/pi/prebuilts/buildsystem/aasdk/src/Messenger/MessageInStream.cpp: In member function ‘void aasdk::messenger::MessageInStream::receiveFramePayloadHandler(const aasdk::common::DataConstBuffer&)’:
/home/pi/prebuilts/buildsystem/aasdk/src/Messenger/MessageInStream.cpp:157:9: error: ‘currentMessageIndex_’ was not declared in this scope
currentMessageIndex_--;
^~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/aasdk.dir/build.make:362: CMakeFiles/aasdk.dir/src/Messenger/MessageInStream.cpp.o] Error 1

I tried to compile openauto too (as it is my main goal, I need to do some mods in the UI for my specific case), but unsuccessfully too:

[ 10%] Building CXX object CMakeFiles/btservice.dir/src/autoapp/Configuration/RecentAddressesList.cpp.o
In file included from /home/pi/prebuilts/buildsystem/openauto_build/btservice_autogen/AKU5ZMKPYE/moc_AndroidBluetoothServer.cpp:10,
from /home/pi/prebuilts/buildsystem/openauto_build/btservice_autogen/mocs_compilation.cpp:2:
/home/pi/prebuilts/buildsystem/openauto/include/f1x/openauto/btservice/AndroidBluetoothServer.hpp:26:10: fatal error: f1x/aasdk/Messenger/Message.hpp: Aucun fichier ou dossier de ce type
#include <f1x/aasdk/Messenger/Message.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

later:

[ 17%] Building CXX object CMakeFiles/autoapp.dir/src/autoapp/App.cpp.o
/home/pi/prebuilts/buildsystem/openauto/src/autoapp/App.cpp:20:10: fatal error: f1x/aasdk/USB/AOAPDevice.hpp: Aucun fichier ou dossier de ce type
#include <f1x/aasdk/USB/AOAPDevice.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/autoapp.dir/build.make:121: CMakeFiles/autoapp.dir/src/autoapp/App.cpp.o] Error 1
make[2]: *** Attente des tâches non terminées....
In file included from /home/pi/prebuilts/buildsystem/openauto/include/f1x/openauto/autoapp/Projection/InputDevice.hpp:23,
from /home/pi/prebuilts/buildsystem/openauto_build/autoapp_autogen/6CZA2MD5XL/moc_InputDevice.cpp:10,
from /home/pi/prebuilts/buildsystem/openauto_build/autoapp_autogen/mocs_compilation.cpp:2:
/home/pi/prebuilts/buildsystem/openauto/include/f1x/openauto/autoapp/Projection/IInputDevice.hpp:22:10: fatal error: f1x/aasdk/IO/Promise.hpp: Aucun fichier ou dossier de ce type
#include <f1x/aasdk/IO/Promise.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~

Can you please help me ?

Thanks by advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant