Add a New Comment (Rich Markup)
Hi Eric, I have to admit that I'm not sure about this, too, because it is too old :-) But from what I remember, I indeed had problems that the forking federate may have not properly configured environement variables, and thus may not find the RTIA dependencies. A static executable RTIA would fix this issue indeed. I have no idea, how to compile RTIA statically, as I'm no cmake expert (in my hand written makefiles, I would just compile the dependent .o files into the executable). I think you can close that ticket, because I don't have the problem anymore. Best JPO
Hi Jan-Patrick, I'm not sure I get it. Since RTIA is forked by the federate if the DLL path was altered before the RTIA fork then RTIA may get the wrong duplicate of some DLL? You would like us to build a static version of RTIA in order to avoid the DLL mismatch? If RTIA was a static executable you won't face this issue right? Would you be willing to propose a patch for that?
If the federate alters the search path of the program, it may happen that a wrong DLL is loaded, which causes the RTIA to fail at startup (dies prematurely). There are just a few Dependencies of RTIA, see attached analysis file (Windows; Dependency Walker). Solution could be to statically link to some of the dependencies (i.e. libxml2). HINT: There may be an difference between the libraries found in a static dependency analysis with Dependency Walker, and a online Profile by the Dependency Walker, in case the Program changes the search path (LoadLibraryEx) during runtime. This happens e.g. in X-Plane.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11