Comments (5)
In that case, I'll prepare a PR with macos support. Linux support is still on its way because I've some error with the linking process. It's related to Unreal and not JSBSim. I don't know why, but linking the static lib on macos works well. On Linux, the static or dynamic cause linking issue. I've to investigate.
from jsbsim.
I fixed many problems on my branch now the problem is about the typeid keyword that breaks the compilation on Linux and Mac. It's not possible to easilly add rtti without rebuilding the game engine itself.
A quick fix to validate that the plugin can compile on mac/linux is to hack the prop.hxx file like this
static const char* name() { return ""; }// typeid(T).name(); }
But it's not good... So I'm asking for help to find a way to replace typeid OR make it work with Unreal.
from jsbsim.
So are you saying that the Unreal engine on Windows is built with rtti enabled but not by default on Mac and Linux?
from jsbsim.
Well I'm not sure but it doesn't compile on Linux and macOS. However with the "hack" it compiles fine... I was able to run launch the Unreal project on macOS and I'll try on Linux too later today.
I suppose that there is no easy workaround and returning an empty string is not a good solution right?
JSBSim Unreal on macOS ;)
from jsbsim.
@demonixis, actually you can safely delete the code lines 1881-1929 in src/simgear/props/props.hxx
, these are unused by JSBSim.
jsbsim/src/simgear/props/props.hxx
Lines 1881 to 1929 in 10c6e52
Once you're happy with your code (including deleting the lines mentioned above), you can submit a PR.
from jsbsim.
Related Issues (20)
- JSBSim Simulink Function HOT 36
- Rust HOT 13
- Can autopilot feature come to jsbsim- unreal engine 5? HOT 2
- MSVC: toupper is not a member of std HOT 1
- Missing target_include_directories in libJSBSim
- JSBSIM_ prefix in CMake options
- Cython warnings about 'tp_print' which is deprecated
- Wrong calculation of vPQRdot in FGAccelerations class HOT 4
- Fixing the mixture for JSBSim piston aircraft HOT 54
- Request: turbine spindown table or property support HOT 2
- Aircraft crashed on air when rolling consecutively HOT 15
- How Jsbsim models the "+" shaped tail fins of missiles and rockets. HOT 1
- JSBSimFlightDynamicsModel could not be loaded in Unreal Engine HOT 4
- AugmentCmd should be clamped to [0.0..1.0] HOT 5
- Trim succeeds and results in NaN values HOT 1
- JSBSim and s-function have different results and different reactivity themselves HOT 1
- Building for Unreal 5 on Linux not working HOT 7
- Javascript alternative? HOT 2
- Linearization and simplex trim from console executable and xml script HOT 16
- FGTurbine Shutdown Spin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsbsim.