-
Notifications
You must be signed in to change notification settings - Fork 0
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
Compile error due to egm generated files not placed in proto folder #2
Comments
I think this is actually due to https://gitlab.kitware.com/cmake/cmake/issues/18828 . A possible workaround is to move the proto files outside of the |
Looking a bit more in the original issue https://gitlab.kitware.com/cmake/cmake/issues/18828 , it seems that the problem is just with relative paths of
with:
|
I performed the change here: https://github.com/iit-danieli-joint-lab/abb_libegm/tree/fix-proto-relative-paths-issue But I had the same problem shown here #2 (comment) |
Of course when compiling I substituted in the main CMakeLists.txt of idjl-software
where |
Can you try then the workaround mentioned in #2 (comment) , i.e. moving the |
By the way, you are using protobuf 3.10, right? While with protobuf 3.6 everything works fine? |
3.9 |
It failed, but if egm.pb.cc and friends are moved it always works |
Are you sure that you re-configured CMake correctly after the change? It is quite surprising that moving the |
here we are |
but if I have to put
|
Yes, that is what I was referring to in
Yes, this is what I was referring to in #2 (comment) . |
I tried but with this modification the files
are not generated |
Did you re-run CMake or tried with a clean build (just removing |
It was already a clean build |
If the commit is ros-industrial@6c81c73 , you also need to move the |
Got it! Yes indeed it compiles correctly in this case, but still now we have to automatically place protofiles outside protofolder right? |
No, those are part of the |
When compiling the software integrated with the
abb_libegm
library, this error arises:As it can be noticed at the beginning 3 source files are generated in
~\idjl-software\build\_deps\abb_libegm-build
but actually VS compiler complains since it cannot find those files in
~\idjl-software\build\_deps\abb_libegm-build\proto
, so the workaround to solve the problem is to manually place those 3 files in the latter folder, naturally we would like to solve this in an automatic mannerThe text was updated successfully, but these errors were encountered: