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

SimTime #32

Closed
sadek58d opened this issue Sep 16, 2018 · 2 comments
Closed

SimTime #32

sadek58d opened this issue Sep 16, 2018 · 2 comments

Comments

@sadek58d
Copy link

artery/src/traci/Time.h:18:8: error: ‘SimTime’ does not name a type; did you mean ‘SUMOTime’?
inline SimTime time_cast(SUMOTime sumo)
^~~~~~~
SUMOTime
src/traci/CMakeFiles/traci.dir/build.make:86: recipe for target 'src/traci/CMakeFiles/traci.dir/API.cc.o' failed
make[2]: *** [src/traci/CMakeFiles/traci.dir/API.cc.o] Error 1
CMakeFiles/Makefile2:414: recipe for target 'src/traci/CMakeFiles/traci.dir/all' failed
make[1]: *** [src/traci/CMakeFiles/traci.dir/all] Error 2
Makefile:94: recipe for target 'all' failed

@riebl
Copy link
Owner

riebl commented Sep 16, 2018

@sadek58d Are you using an unmodified version of Artery at all? In fact, the return value of time_cast is omnetpp::SimTime, i.e. fully scoped instead of just SimTime.

@sadek58d
Copy link
Author

yes, that is the probleme. (y)

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

2 participants