I am trying to build JSBSim sources on the following webpage. I have already configured sitl simulator and wanted to run JSBsim with it.
http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html
I had some missing packages when I did
cmake …
I resolved it by downloading some packages. My cmake … command output is as follows.
$ cmake …
– Configuring done
CMake Error at python/CMakeLists.txt:86 (add_custom_command):
Error evaluating generator expression:
$<IF:$<BOOL:>,--config,>
Expression did not evaluate to a known generator expression
CMake Error at python/CMakeLists.txt:86 (add_custom_command):
Error evaluating generator expression:
$<IF:$<BOOL:>,$<CONFIG>,>
Expression did not evaluate to a known generator expression
– Generating done
– Build files have been written to: /cygdrive/c/users/Ujjwa/ArduPilot/jsbsim/build
After that I ran make command to and I am getting errors in some files. The first part of the error looks something as follows.
/ArduPilot/jsbsim/src/simgear/io/iostreams/sgstream.cxx:39:41: error: no matching function for call to ‘sg_ifstream::open(const wchar_t*, std::ios_base::openmode&)’
std::ifstream::open(ps.c_str(), io_mode);
^