Closed timpokorny closed 8 years ago
Noticed that I have done some work on this before. On Mac OS X there are now separate gdb.env
files for Linux and Mac OS X. Confirm that everything works on OS X. If you run with the platform specific versions, everything is OK (at least on Mac OS X). Will confirm on Linux.
All confirmed on linux. Hooray for past Tim (and boo for him not updating the paperwork).
Summary
When attempting to compile and run the C++ example federates, they do not appear to work on Mac OS X (or Linux I believe). There is an rpath issue, with the following error being given when you attempt to run the example federate in GDB (compiling works fine):
Running the federate outside of GDB just generates a note saying that no JRE could be found and a legacy one will have to be installed.
Environment and Logs
Reproduction Steps
sandbox.full
./macos.sh compile
./macos.sh execute
sudo ggdb -x gdb.env ./example-federate
and you will get the rpath error as described aboveCheck List
List of example federates/platform combinations to check:
Mac OS X
Linux