Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed with setup! #1

Open
aditya00j opened this issue Jul 4, 2017 · 1 comment
Open

Help needed with setup! #1

aditya00j opened this issue Jul 4, 2017 · 1 comment

Comments

@aditya00j
Copy link

Hi,
This is an old repo but it looks useful for my purposes so I decided to give it a try. Otherwise, please let me know if there is an updated Python API for JSBSim. Also, I didn't know of a better way to get in touch with you than open an issue here, hope that's not inappropriate.

I was installing from setup.py after cloning the package, but received an error. As far as I can tell, I only need to modify the path to JSBSim source code in the setup.py here:

ext_modules += [ Extension('pyjsbsim.jsbsim_cython',
sources= pyjsbsim_srcs,
libraries=['JSBSim'],
include_dirs=[
'C:/Code/JSBSim-1.0/src'
],
language='c++'),

After changing the path as shown, when I try to install from setup.py, I get the following:

fatal error C1083: Cannot open include file: 'JSBSim/models/FGPropulsion.h': No such file or directory

Any idea what I need to do to make sure the setup finds all the files correctly?
Thanks!
Aditya

@jgoppert
Copy link
Member

jgoppert commented Jul 5, 2017

It can't find the jsbsim include files, please verify the header files exist relative to the include path you are providing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants