Property is already defined #854
Replies: 3 comments 3 replies
-
I changed the configuration to instead use c172x scripts and it has the same issue, however it does create a csv output file. It only has one line though and the program again exits. Any help would still be appreciated |
Beta Was this translation helpful? Give feedback.
-
Looking at the code I have the sneaking suspicion that the use of the (now) reserved name 'override' as a variable name in input_output/FGPropertyReader.h and input_output/FGPropertyReader.cpp might be causing this. You could try to rename it to something like props_override. Update: |
Beta Was this translation helpful? Give feedback.
-
@hudkinsnoah these messages are harmless and are merely warning messages about encountering XML statements such as <test value="guidance/specified-heading-rad">
guidance/heading-selector-switch eq 1
</test> Is there a chance that you could locate where the application hangs/crashes and tell us where in JSBSim that occurs ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am pretty new to JSBSim and am taking over a project from another team member who is no longer around to answer questions. I haven't been able to find any answers elsewhere about a warning "Property __ is already defined. There are about 19 properties that notify me on startup of the application.
JSBSim has been integrated into other internal software and has worked great, until working with scripting. Unbind is called on an instance of FDMExec and then loadScript is called. The call never returns and the application exits. This is a snippet from the console window for the messages that I am receiving:
The only place where each of these properties are defined that I can see if at the location it gives. I am not sure that the application exiting and these messages are related, but figured I would mention it. Any help would be appreciated, and I am happy to provide as much information as I can.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions