JSBSim-Team/jsbsim

Build JSBSim by VS2019 and use C++ API

DreamerSurpass opened this issue · 1 comments

Hello,

I use VS2019 to build JSBSim and try to use C++ API to interface with JSBSim just like tutorial code
`#include <FGFDMExec.h>

int main(int argc, char **argv)
{
JSBSim::FGFDMExec FDMExec;
FDMExec.LoadScript(SGPath(argv[1]));
FDMExec.RunIC();
bool result = true;
while (result) result = FDMExec.Run();
}`

I also added the JSBSim.lib and src path, but failed to run.
image

I'm not sure is this a bug and how to fix it. I use Windows 10, VS2019, C++ language.

@DreamerSurpass this issue is a duplicate of the discussion #887 that you have opened a few hours ago.
In addition, this has nothing to do with a bug nor is it a feature request so this issue is closed and the topic shall be continued in discussion #887.
Thanks.