Skip to content

Help needed with setup! #1

@aditya00j

Description

@aditya00j

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions