nasa / trick

Trick Simulation Environment. Trick provides a common set of simulation capabilities and utilities to build simulations automatically.
Other
26 stars 15 forks source link

Including a symbolic link to a Trickified header results in a linker error #881 #1649

Closed ababyprogrammer closed 4 months ago

ababyprogrammer commented 5 months ago

init_swig_modules.cpp:67: undefined reference toinit_m373a553f8f856f57851fcd853dbf6e7a'`

The Python module name is based on the full path of the file. If the Trickified project uses the real path, and a referencing project uses a link, the module names will differ.

sharmeye commented 4 months ago

Symbolic links are not well-supported within Trick. You'll get lots of strange errors, like double-defined symbols and linker errors when you use them. I would suggest steering clear of sym links in your Trick codebase.

ababyprogrammer commented 4 months ago

Thanks for your help.

ababyprogrammer commented 4 months ago

Thanks for your help.