Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] I can’t set libsumo library

Good morning dear Mirko Barthauer,


I hope you are well. I tried to include libsumo header in .h and .cpp of my visual studio project.

there is an error in this line of the example code:

Simulation::start({"sumo","-n", "net.net.xml"});


Do I need to give the path for sumogui.exe and the path to my network.xml like this:

FString SumoExecutablePath = "C:\\path\\to\\sumo.exe"; FString NetworkFilePath = "C:\\path\\to\\your\\network.net.xml";

Simulation::start({SumoExecutablePath, "-n", NetworkFilePath});


Actually, I cannot start the simulation since I cannot run the mentioned line of code. Could you please help me with this?

If there is no need to address "sumogui.exe" file and my network please let me know. Thank you so much in advance.


Best Regards,

Milad


Back to the top