Giter Club home page Giter Club logo

jsbsim's Introduction

Contents
--------

1) Introduction
2) Building with autoconf/automake
3) Contact


1) Introduction
---------------

JSBSim is a multi-platform, general purpose object-oriented Flight
Dynamics Model (FDM) written in C++. Jon Berndt and Tony Peden began
about mid-1998 writing JSBSim. As of this writing it is the default
FDM for FlightGear. JSBSim can also be run in a standalone batch mode
for testing and study. More information on JSBSim can be found at the
JSBSim home page here:

http://www.jsbsim.org


2) Building with autoconf/automake
----------------------------------

Unpack the distribution tarball (if needed - CVS users will have
downloaded the code directly) using your preferred method, and change
to the working directory. For example :

$ tar xvfz JSBSim-0.1.2.tar.gz
$ cd JSBSim-0.1.2

NOTE for CVS users: If you are using JSBSim from a CVS checkout, or
snapshot, you will need to create the initial configure script. The
commands to do this have been included in the 'autogen.sh' script, so
just :

$ ./autogen.sh [--no-configure]

If you wish to customise your version of JSBSim, use the following to
determine any build-time options you may be interested in.

$ ./configure --help

Then :

$ ./configure

This will check your system platform, compiler and other local
configuration variables needed to build JSBSim, and generates the
necessary Makefiles. Next :

$ make

Will compile the various classes, and build the JSBSim application.


3) Building JSBSim libraries
----------------------------

By default, the JSBSim libraries are not built. To build and install
the libraries, use:

$ ./autogen --enable-libraries [--disable-static] [--enable-shared]

The configure options can be used to select what libraries to build.

$ make install

Unless specified otherwise (with --prefix configure option), this will
install JSBSim libraries into '/usr/local/lib' and JSBSim headers
into '/usr/local/include/JSBSim'.


4) Contact
----------

For more information on JSBSim contact Jon Berndt at [email protected].


5) Building with CMake
-----------------------

You need to install qt4, boost, and openscenegraph to build the gui. The build 
has been tested on debian, mac, and mingw cross compilation. CMake can also
generate MSVC and Eclipse project files. See the next section for building
using MSVC project files generated from CMake.

Using the cmake-gui:

    Start cmake and tell it where the source directory for JSBSim is and select
    a build directory.

The commands to build with cmake on the command line:

    (Starting in JSBSim root source directory)
    mkdir build     (This creates a directory to keep all built files)
    cd build        (Change to the newly created directory)
    cmake ..        (Tell cmake where the  source directory is)
    make            (Execute make in your build directory to create the project)

The following options exists:
    - WITH_GUI : build the gui
    - WITH_ARKOSG : use embedded openscengraph graphics
    - WITH_BUILD_DEPS : attempt to automatically download and build dependencies

    You can use these options with cmake -DWITH_GUI=y -DWITH_ARKOSG=n -DWITH_BUILD_DEPS=y

6) Building Trimming/ Linearization GUI with MSVC on Windows
-----------------------

Tested with Microsoft Visual C++ 2008.

1. Install Qt-Win-Opensource from http://get.qt.nokia.com/qt/source/qt-win-opensource-4.8.0-vs2008.exe.
    Add C:\Qt\4.8.0\bin to Windows Path environment.

2. If you have a full (i.e non-express) version of VC2008, also install the Qt add-in from 
   http://get.qt.nokia.com/vsaddin/qt-vs-addin-1.1.10.exe.

3. With git clone get arksog 
   from https://github.com/arktools/arkosg.git.
 
   Both and jsbsim and arkosg should be placed in the same directory.

4. Install recent versions of Boost and OpenScenegraph. Unlike Flightgear, a binary build of Boost is 
   required as the thread and system libraries are used. Pre-built 32 bit versions of Boot and
   OpenScengraph are available on the 'net.
   This build has been tested with both libraries installed in C:\Program Files.
   Openscengraph and Boost binary directories need to be in the Path environment.   
   Flightgear cmake also works well with this setup.

5. Run cmake gui on arkosg. Cmake may ask for qmake.exe. Use the one in C:\Qt\4.8.0\bin. 
   Set C:/directory where jsbsim and arkosg are/install as the cmake install directory.
   Configure, sort out any not-found errors, and Generate.

6. Open arkosg/build/arkog.sln and build and install arkog with MSVC.

8. Repeat 6 and 7 for jsbsim.

9. Run install/jsbsimgui.exe.

10. Please let me know of any bugs, and if possible send fixes. ;-)
    Alan Teeder [email protected]

7) Packaging with CMake
-----------------------
After you have built the project using cmake you can package it by running the cpack command in the build directory.

Linux: cpack -G DEB (Generated a Debian package)
Mac: cpack -G PackageMaker (Mac Installer)
Windows cpack -G NSIS (Windows Installer)

jsbsim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jsbsim's Issues

Unresolved External Symbols MSVC 2010/13 Compilation

Error 35 error LNK2019: unresolved external symbol "public: class SGPropertyNode * __thiscall simgear::PropertyObjectBase::node(bool)const " (?node@PropertyObjectBase@simgear@@QBEPAVSGPropertyNode@@_N@Z) referenced in function "public: bool __thiscall simgear::PropertyObject::operator=(bool const &)" (??4?$PropertyObject@_N@simgear@@QAE_NAB_N@Z) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 31 error LNK2019: unresolved external symbol "public: class SGPropertyNode * __thiscall simgear::PropertyObjectBase::getOrThrow(void)const " (?getOrThrow@PropertyObjectBase@simgear@@QBEPAVSGPropertyNode@@xz) referenced in function "public: __thiscall simgear::PropertyObject::operator double(void)const " (??B?$PropertyObject@N@simgear@@QBENXZ) F:\Development\195\New folder\JSBSim\JSBSim\FGWaypoint.obj
Error 29 error LNK2019: unresolved external symbol "public: __thiscall simgear::PropertyObjectBase::PropertyObjectBase(void)" (??0PropertyObjectBase@simgear@@QAE@XZ) referenced in function "public: __thiscall simgear::PropertyObject::PropertyObject(void)" (??0?$PropertyObject@N@simgear@@QAE@XZ) F:\Development\195\New folder\JSBSim\JSBSim\FGWaypoint.obj
Error 33 error LNK2019: unresolved external symbol "public: __thiscall simgear::PropertyObjectBase::PropertyObjectBase(class SGPropertyNode *,char const *)" (??0PropertyObjectBase@simgear@@QAE@PAVSGPropertyNode@@pbd@Z) referenced in function "public: __thiscall simgear::PropertyObject::PropertyObject(class SGPropertyNode *,char const *)" (??0?$PropertyObject@N@simgear@@QAE@PAVSGPropertyNode@@pbd@Z) F:\Development\195\New folder\JSBSim\JSBSim\FGWaypoint.obj
Error 32 error LNK2001: unresolved external symbol "public: class SGPropertyNode * __thiscall simgear::PropertyObjectBase::getOrThrow(void)const " (?getOrThrow@PropertyObjectBase@simgear@@QBEPAVSGPropertyNode@@xz) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 30 error LNK2001: unresolved external symbol "public: __thiscall simgear::PropertyObjectBase::PropertyObjectBase(void)" (??0PropertyObjectBase@simgear@@QAE@XZ) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 34 error LNK2001: unresolved external symbol "public: __thiscall simgear::PropertyObjectBase::PropertyObjectBase(class SGPropertyNode *,char const *)" (??0PropertyObjectBase@simgear@@QAE@PAVSGPropertyNode@@pbd@Z) F:\Development\195\New folder\JSBSim\JSBSim\FGPropulsion.obj
Error 36 error LNK1120: 4 unresolved externals F:\Development\195\New folder\JSBSim\JSBSim\Debug\JSBSim.exe

Run Linearize in Bulk/Script?

Is there a way to script the linearization tools? I'd like to be able to run a batch of 100s of linearization points.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.