omnet++veinsinet

ERRORS: build up veins in Omnet++


I have came up with these errors when building up veins in an omnet++ workspace. Here is what I did:

  1. create a new workspace 2. import veins 3. build the project

Then I got these errors regarding RoadsOsgVisualizer enter image description here

The environment I'm using:

Omnet++ 6.1.0; Veins 5.3; inet 4.5.4; SUMO 1.22.0


Solution

  • Veins 5.3 does not build when OMNeT++ is built with OSG (3D scene) support. This should be fixable by moving line 32 of https://github.com/sommer/veins/blob/veins-5.3/src/veins/visualizer/roads/RoadsOsgVisualizer.h#L32 to after the "#pragma" statement