riebl / vanetza

Open-source implementation of the ETSI C-ITS protocol stack
Other
202 stars 158 forks source link

fatal error: vanetza/security/v2/verify_service.hpp: No such file or directory #197

Closed razr closed 1 year ago

razr commented 1 year ago
cd build
cmake .. -DBUILD_SOCKTAP=ON
make
fatal error: vanetza/security/v2/verify_service.hpp: No such file or directory
   13 | #include <vanetza/security/v2/verify_service.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [tools/socktap/CMakeFiles/socktap.dir/build.make:230: tools/socktap/CMakeFiles/socktap.dir/security.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:716: tools/socktap/CMakeFiles/socktap.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
khevessy commented 1 year ago

What are the exact commands you execute to build the project and what is the complete output? Do you have pulled the last version of Vanetza? I can do the build without any problem.

Edit: now I see it, you do not have the last version of the project where security.cpp in socktap was fixed. Pull the project from github and try again.

razr commented 1 year ago

yes, sorry for that, I just used a version from the 9th of August. Everything works fine after pulling the repo. Thank you @khevessy for looking into it.