Skip to content

v0.4.2: More robust libudev loading; fix cross-build errors

Compare
Choose a tag to compare
@TheNathannator TheNathannator released this 14 Oct 06:00
· 2 commits to main since this release
740478c

i really dropped the ball on fixing issues promptly with this one lol, many apologies

Fixed

  • libudev should now, finally, load reliably on hopefully all distros. It is now loaded manually instead of DllImported, and multiple possible file names are checked to increase the chances of a successful load.
  • Switching to a build platform other than the current editor platform no longer results in compile errors. You can now cross-build a project which depends on HIDrogen within the same editor instance.
    • Note that all initialization code is stubbed out in the editor when this is done, otherwise runtime errors would result due to being unable to load native libraries. You must switch the build platform back to the same platform as the editor for HIDrogen to function.

Changed

  • Error logging now contains file names and line numbers, to better assist with diagnosis of issues.