Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:software:windows_hints [2017/03/22 17:16] – [Hints] stefan | en:software:windows_hints [2017/03/22 17:38] – [Hints] stefan |
---|
Additional information can be found at [[http://wiki.ztex.de/doku.php?id=en:software:tutorial_example#usb_driver_for_windows|USB driver for Windows]] | Additional information can be found at [[http://wiki.ztex.de/doku.php?id=en:software:tutorial_example#usb_driver_for_windows|USB driver for Windows]] |
===== Hints ===== | ===== Hints ===== |
* It is recommended to use the [[https://sourceforge.net/projects/msys2|MSys2]] environment | * It is recommended to use the [[https://sourceforge.net/projects/msys2|MSYS/MINGW]] environment |
* make is not a part of the installation and has to be installed using the command <code> | * make is not a part of the installation and has to be installed using the command <code> |
pacman -S msys/make</code> | pacman -S msys/make</code> |
* Symlinks can be created by Ctrl+x s | * Symlinks can be created by Ctrl+x s |
* Some installation paths have to be set up in ''Makfile.conf'', see [[en:software:tutorial_compiling]]. Spaces and other odd signs in directory names cause a lot of trouble. In order to prevent this, create a few symlinks without spaces, e.g. link the installation directory of the Cypress FX3 SDK to ''/c/cypress'' (= ''c:\cypress'') | * Some installation paths have to be set up in ''Makfile.conf'', see [[en:software:tutorial_compiling]]. Spaces and other odd signs in directory names cause a lot of trouble. In order to prevent this, create a few symlinks without spaces, e.g. link the installation directory of the Cypress FX3 SDK to ''/c/cypress'' (= ''c:\cypress'') |
* MSys/MinGW can also be used to build the C host software examples: | * MSYS/MinGW can also be used to build the C host software examples: |
* ''libusb-1.0'' and ''gcc'' are required: <code>pacman -S mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-libusb</code> for 64 Bit binaries or <code> pacman -S mingw32/mingw-ws64-i686-gcc mingw32/mingw-w64-i686-libusb</code> for 32 Bit binaries | * ''libusb-1.0'' and ''gcc'' are required: <code>pacman -S mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-libusb</code> for 64 Bit binaries or <code> pacman -S mingw32/mingw-ws64-i686-gcc mingw32/mingw-w64-i686-libusb</code> for 32 Bit binaries |
* Open mingw64/mingw32 environment (not just msys), got to the project directory and call ''make'' | * Open MinGW64/MinGW32 environment (not just MSYS), got to the project directory and call ''make'' |
| |
| |