Skip to content

Creating Binary Packages

Mark Jessop edited this page May 21, 2023 · 17 revisions

Windows

Setting up to run Horus-GUI

(May experience issues when trying to start the decoder, saying it cant find the DLL file... need to investigate).

Python 3.11 notes

Horus-GUI seems to run OK under Python 3.11.3 on Windows (unsure about stability).

Same issue with finding the DLL happens. Unsure why. Works fine once built using pyinstaller (instructions below).

Building a EXE file

  • pip install pyinstaller

  • Copy the following DLLs from a MinGW-64 installation (C:\mingw64\bin) into the current directory:

    • libgcc_s_seh-1.dll
    • libwinpthread-1.dll
    • libstdc++-6.dll
  • Now run: pyinstaller horus-gui_win.spec

  • Should build OK!

  • This will create a directory 'dist/' with horus-gui.exe in it! That's it!

OSX

(Assuming you have Python 3.7 available via Macports)

  • Get to the point of having horus-gui running from the terminal, by following the instructions on the main README.md
  • Note that you need to have horusdemodlib in a directory up from horus-gui (e.g. ../horusdemodlib/ exists, and is built. In particular, we need ../horusdemodlib/build/src/libhorus.dylib)
  • pip install pyinstaller
  • pyinstaller horus-gui_osx.spec

Then, you will need to edit the Info.plist file within the generated appbundle, and add into the <dict> section:

	<key>NSMicrophoneUsageDescription</key>
	<string>Horus-GUI needs audio access to receive telemetry.</string>
Clone this wiki locally