Refs #1245. Added note about LibOpenBLT being a 32-bit DLL under Windows.

git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@846 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
Frank Voorburg 2021-04-21 20:22:38 +00:00
parent 2e14822b81
commit 35676b739a
2 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,14 @@ https://www.feaser.com/openblt/doku.php?id=manual:libopenblt#run-time_libraries
These run-time libraries can be found in the ./Host directory of the OpenBLT bootloader package. These run-time libraries should also be included, when distributing your program.
### Lazarus and Delphi specifics on Windows
Under Microsoft Windows, the LibOpenBLT shared library (**libopenblt.dll**) is 32-bit. This means that the application you develop needs to build as a 32-bit application as well.
When using Lazarus, an easy solution is to install the 32-bit version of Lazarus. That way your own application automatically builds as a 32-bit application as well. If you already installed the 64-bit version of Lazarus, then you can go to the *Project Options* and set **Target OS** to **Win32** and **Target CPU Family** to **i386**.
When using Delphi, go to the *Project Manager* and configure just **32-bit Windows platform (Win32)** for setting **Target Platforms**.
### Lazarus specifics on Linux
When running your program under Linux, you will most likely get the following error:
```

View File

@ -39,3 +39,7 @@ Copy the LibOpenBLT related run-time libraries into your python program's direct
https://www.feaser.com/openblt/doku.php?id=manual:libopenblt#run-time_libraries.
These run-time libraries can be found in the ./Host directory of the OpenBLT bootloader package. These run-time libraries should also be included, when distributing your program.
Specific on Windows
------------------
Under Microsoft Windows, the LibOpenBLT shared library (libopenblt.dll) is 32-bit. Therefore you need to run your Python application, that makes use of LibOpenBLT, using the 32-bit Python interpreter.