-
Notifications
You must be signed in to change notification settings - Fork 9
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 in rule configure_veins_vlc, configure_veins, protobuf #1
Comments
Hi, can you run one of the failing commands directly in the terminal and check what the error is? E.g. env -C lib/veins-vlc ./configure --with-veins=../veins
# or
env protoc --proto_path src/protobuf --cpp_out src/protobuf src/protobuf/veinsgym.proto I suspect that -- as you are working on Windows, your shell environment may not be set up as expected. We've designed and tested the gym only on Linux so far. So maybe the Best, |
Thank you for the answer!
How should I set up my environment to make it work? |
Your OMNeT++ installation should have brought with it a MinGW environment which contains the necessary environment to execute unix shell scripts. Try to open a console from that or add its binaries to your PATH. An alternative could be using Windows Subsystem for Linux (WSL) or git bash, which also both bring the necessary tools to your command line environment. |
Thank you for the answer. For already many days I am trying to make it work. I have switched to Linux as you suggested and I use Ubuntu-20.04 on wsl. Now I stuck at the following point: when running
It seems to me that maybe it is the problem with the linker or with protobuf version. My protobuf version is |
I would like to send post this message as a reminder, because I am afraid that my message got lost |
Eventually, I have solved it by removing protobuf that I have installed manually (which had a version |
Hy @RostyslavUA, sorry for the late response. I also assume the issue is due to a mismatch of the generated protobuf-C++-files and the version of
|
Thank you @dbuse. |
Hi, I followed these instructions but I still got the problem. It seemed like the protobuf library is not linked correctly, and finally I figured out, that it is due to the Snakefile:
The last one And you will get a new Makefile, or you can generate one with the following command:
Hope this will help for others. BR
|
Hi, I was hoping you could ask some questions about veins_gym. Maybe I am not familiar with veins_gym and your example, so some questions may not be quite correct. I can run the case you provided according to your method. By running python files, however, there is only one result to the whole process. Can it see the detailed process through omnet++ emulation? Can it compile the entire file through omnet++ instead of snakemake? |
I encounter the problem when running seprantine scenario. Specifically,
snakemake -jall
yields an error, here is a logI use windows 10, 64 bit
Python 3.8
veins-gym 0.3.0
gym 0.21.0
omnetpp 5.6.2
sumo-1.8.0
veins 5.2
protoc-3.19.1
Note that I also receive an error when running
opp_run
. From the error message it does not seem that those issues are related, but if they are - I will provide the log.How could I solve the problem? Thank you!
The text was updated successfully, but these errors were encountered: