Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • install

    • Microsoft Visual Studio toolchain: https://visualstudio.microsoft.com/vs/features/cplusplus/

      • “Community 2019” known to work

      • why?

        • needed because since Python 3.4, Python extension needs to be compiled with MSVC compiler

    • MinGW

      • why?

        • MinGW generates the right Makefiles when running from command line

        • we can also run cmake from an IDE (then the IDE will provide the generator).

      • download from https://sourceforge.net/projects/mingw/

      • install only mingw32-base

    • cmake

    • Python

      • python-3.9.2-amd64.exe known to work

      • add Python interpreter to PATH environment variable

      • to be able to run OpenWSN Python extension in gdb, select the following from the advanced installation options

  • build

    • type python setup.py install --user

    • build process ends with line Finished processing dependencies for openmote==1.0

    • library ends up in C:\Users\twatteyn\AppData\Roaming\Python\Python39\site-packages

      • openmote-1.0-py3.9-win-amd64.egg/

      • easy-install.pth

  • import library

    • verify the following doesn’t fail python -c "import openmote"

MAC OS Specifics

  • Use homebrew python (brew install python or brew upgrade python) since MAC OSX system Python seems to lead to unstable results (depending on OS version).

  • Python 3.9.1 known to work

  • To build (and configure)

    • python3 setup.py install --user --prefix=

    • python3 setup.py install --user --configure --prefix=

  • When running into issue where

Issue David:

127.0.0.1 - - [14/Apr/2021 08:57:49] code 400, message Bad request syntax ('\x05\x01\x00')

Installing OpenVisualizer

...

Info

temporary scratchpad during session, to be deleted after

Open Questions

  • use of .github directory and GitHub actions

  • cross compilation and toolchains used

  • OpenMote B and nRF52840-DK support (including toolchain)