Change the name of library jsbsim to avoid names conflict because of ignorecase filename on MS Windows.
Link library libwsock32.a in MinGW platform.
Avoid linking libm.a in MSVC platform.
Define _USE_MATH_DEFINES to enable math constants in MSVC platform.
Return the missing reference "out" in operator functions in src/math/FGStateSpace.cpp.
Patchs are tested in both MinGW and MSVC2008. And test with the command "bin\JSBSim.exe --root=share\jsbsim --script=scripts/737_cruise_steady_turn_simplex.xml". MSVC2008's app works well.
But MinGW's app fails when outputing the linearization matrix ABCD.
Change the name of library jsbsim to avoid names conflict because of ignorecase filename on MS Windows. Link library libwsock32.a in MinGW platform. Avoid linking libm.a in MSVC platform. Define _USE_MATH_DEFINES to enable math constants in MSVC platform.
Return the missing reference "out" in operator functions in src/math/FGStateSpace.cpp.
Patchs are tested in both MinGW and MSVC2008. And test with the command "bin\JSBSim.exe --root=share\jsbsim --script=scripts/737_cruise_steady_turn_simplex.xml". MSVC2008's app works well.
But MinGW's app fails when outputing the linearization matrix ABCD.