From: Sean M. <se...@se...> - 2018-10-09 19:16:43
|
Hi Alan But your original email listed a linker error while building, this isn’t the equivalent in terms of all is OK except for the python based tests. After building using the bundled CMake etc. as per the documentation link try this from the command line in terms of running some of the python based tests. C:\Users\Sean\CMakeBuilds\3f00c6d9-d323-5a32-8a90-665138817fd4\build\x64-Release\tests>python .\TestDensityAltitude.py C:\source\jsbsim\ Obviously replacing C:\Users\Sean\CMakeBuilds\3f00c6d9-d323-5a32-8a90-665138817fd4 with your equivalent. You should see lots of output scroll by and then: ok ---------------------------------------------------------------------- Ran 1 test in 5.857s OK Cheers From: Alan Teeder <ajt...@v-...> Sent: Tuesday, October 9, 2018 9:04 PM To: Development issues <jsb...@li...> Subject: Re: [Jsbsim-devel] PythonJSBSim link error with VS 2017 From: Sean McLeod Sent: Tuesday, October 9, 2018 5:34 PM To: Development issues Subject: Re: [Jsbsim-devel] PythonJSBSim link error with VS 2017 Hi Alan Are you performing the CMake build as per - https://jsbsim-team.github.io/jsbsim-reference-manual/mypages/quickstart-building-using-visualstudio/ Have you installed CMake yourself in addition to the version of CMake that is bundled with Visual Studio 2017? Are you running any CMake commands yourself, e.g. something like: cmake -G “Visual Studio 15 2017 Win64” .. Cheers Sean I am not using the bundled CMake.«, and open the JSBSim.sln file that the standalone CMake generates using VS 2017. I tried the bundled CMake system as per your link. There were plenty of compiler warnings, but no reported errors. However when I tried to run the tests all of the python based tests failed. The result is that both build systems produce identical results – i.e. all is OK except for the python based tests. Alan |