From: Alan T. <ajt...@v-...> - 2018-10-24 19:04:40
|
From: Bertrand Coconnier Sent: Friday, October 19, 2018 3:04 PM To: Development issues Subject: Re: [Jsbsim-devel] PythonJSBSim link error with VS 2017 Hi Alan, Thanks for the feedback. Could you please modify the file python/setup.py.in as described below and restart the build process from scratch (i.e. in a new directory) ? python/setup.py.in @@ -62,7 +62,7 @@ setup( os.path.join('${CMAKE_SOURCE_DIR}', 'python')], library_dirs=[os.path.join('${CMAKE_BINARY_DIR}', - 'src')], + 'src/release')], language='c++')]) # Build process for the fpectl module (but don't install !!!) Let me know if the compilation succeeds in that case. Regarding the failed tests, could you please re-run them with the command below and investigate if some errors are reported in the file C:/FlightGear/jsbsim/build64/Testing/Temporary/LastTest.log ? > ctest -I 5,45,40 Bertrand. ----------------------- Betrand It compiles OK now (release build only of course), and I can run the test suite from within the Visual Studio gui. However I do not know how to run the tests using the ctest command. I assume that I have to be in a directory which contains the ctest executable – but do not know where that is. Alan |