Replies: 4 comments 7 replies
-
By searching for some informations, now I solved the "g++: error: wsock32.lib: No such file or directory"and "g++: error: ws2_32.lib: No such file or directory" problem. But things got worse,when I run mex command I get these errors:
I will continue to work on this problem, but is there something I missing? I am so confused right now. |
Beta Was this translation helpful? Give feedback.
-
In terms of your initial Visual Studio 2017 linker errors:
So I'm guessing you're not rebuilding the whole of JSBSim with VS2017, rather when building the S-Function you're linking against some pre-built JSBSim libraries that are built using VS2019. So I see two options. Grab the JSBSim repo and build everything using VS2017 or install VS2019. |
Beta Was this translation helpful? Give feedback.
-
At the moment our GitHub Actions workflows pick the latest version for windows (i.e. jsbsim/.github/workflows/cpp-python-build.yml Lines 199 to 205 in 59389f6 jsbsim/.github/workflows/cpp-python-build.yml Lines 349 to 352 in 59389f6 According to the GitHub Actions docs, this means that we are currently compiling the library In order to avoid other users to stumble upon the same issue, I guess we need to:
|
Beta Was this translation helpful? Give feedback.
-
Yep, especially for users who don't download the repo and build everything themselves, which seems to be quite common for those users wanting to build the Matlab S-Function only.
Well V2022 was released Nov 8 2021, so maybe not so bleeding edge anymore, it's roughly 7 months old already 😉 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!Recently I am trying to use JSBSim with Simulink. I have tried for many times following what said in README.md, but it doesn't work. My matlab version is R2021b, C++ complier is Visual Studio Community 2017, and I have tried JSBSim version 1.1.11 and JSBSim version 1.1.10.
I followed all the steps but still arrived at some errors:
If I choose to use MinGW64 Compiler with Windows 10 SDK or later (C++) as my compiler, the error will be:
I am totally a new guy on matlab compile...any assistance you can provide would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions