AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Error at startup: No such file or directory: unspecified iostream_category error

Open mchen0037 opened this issue 8 years ago • 6 comments

Hi, I was trying to run the Blocks simulation, but I ran into this error: screenshot_2018-01-14_22-25-05 I was following the instructions under Linux (16.04) and was prompted for incompatible version and conversion (step 3) but was not prompted about missing modules nor building with AirSim (5).

I rebuilt both Airsim and UE4Editor (4.17.2) from scratch, but I got the same error. Any suggestions?

Thanks!

mchen0037 avatar Jan 15 '18 06:01 mchen0037

Same problem, but only with Multirotor. Car model works well

Mikhail2017 avatar Jan 15 '18 09:01 Mikhail2017

@Mikhail2017 I built the v1.1.6 version for AirSim and it worked. image

mchen0037 avatar Jan 15 '18 22:01 mchen0037

If you add the following lines to the settings.json file (just replace car with Multirotor in the car example), the rotor launches fine. But once you press Esc in play mode the simulation crashes.

{
  "SettingsVersion": 1.0,
  "SimMode": "Multirotor"
}

Tested on 4.18.2 in Ubuntu 16.04.

tejaswid avatar Jan 16 '18 17:01 tejaswid

I found the issue and its now fixed in master branch. The problem was occuring if you already did not have settings.json.

sytelus avatar Jan 20 '18 01:01 sytelus

@sytelus I just pulled from master and tried to rebuild and got this error:

/home/olivia/AirSim/DroneServer/main.cpp:71:79: error: no member named 'getFileName' in 'msr::airlib::Settings'; did you mean 'hasFileName'? std::cout << "Could not load settings from " << Settings::singleton().getFileName() << std::endl; ^~~~~~~~~~~ hasFileName /home/olivia/AirSim/AirLib/include/common/Settings.hpp:101:10: note: 'hasFileName' declared here bool hasFileName() ^ 6 warnings and 1 error generated. DroneServer/CMakeFiles/DroneServer.dir/build.make:62: recipe for target 'DroneServer/CMakeFiles/DroneServer.dir/home/olivia/AirSim/DroneServer/main.cpp.o' failed make[2]: *** [DroneServer/CMakeFiles/DroneServer.dir/home/olivia/AirSim/DroneServer/main.cpp.o] Error 1 CMakeFiles/Makefile2:556: recipe for target 'DroneServer/CMakeFiles/DroneServer.dir/all' failed make[1]: *** [DroneServer/CMakeFiles/DroneServer.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2

I had just downloaded AirSim and just built recently and had no problem building before I pulled.

olivia-skydio avatar Jan 20 '18 01:01 olivia-skydio

I pulled today the current master and seen this issue on Mac with 4.17.2 (pulled from Epic). where should I find settings.json?

asimonov avatar Jan 26 '18 15:01 asimonov