Skip to content
Discussion options

You must be logged in to vote

It seems that the provided JSBSim setup package contains the static lib version of jsbsim.lib.
To link against this static lib you have to define JSBSIM_STATIC_LINK, either in the visual studio project settings (C/C++->Preprocessor->Preprocessor Definitions) or by putting "#define JSBSIM_STATIC_LINK" in your code files before you include the JSBSim header files.
At least that's my understandig after I had a look at JSBSim_API.h. I think this info is missing in the JSBSim docu, or I haven't found it.

EDIT: Ok, I found it in the docu. The jsbsim.lib contained in the setup package is meant to be used to build the JSBSim Matlab S-Function and not to build general c++ applications.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@alphamikeuniform
Comment options

Answer selected by ilyapetrovMO
@ilyapetrovMO
Comment options

@bcoconni
Comment options

@ilyapetrovMO
Comment options

Comment options

You must be logged in to vote
2 replies
@ilyapetrovMO
Comment options

@bcoconni
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants