Hi
I am trying the new windows build method and am getting stuck on the part bout the FTDI sdk. There is not and sdk package on the drivers page per se that I can download and if you just download the drivers, they doe not give you an option on where to install them.
I assume 0n windows they go into the system folders somewhere, but I am unsure about what I need (and where to find it) to make the msys2 compatible files.
Cheers
Chris
Windows build FTDI sdk
- mcallegari
- Posts: 4729
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
hi Chris,
apparently they replaced .zip with .exe files...but there's a trick.
The zip files are still there, just change the final extension of the link:
http://www.ftdichip.com/Drivers/CDM/CDM ... tified.zip
That is the SDK
apparently they replaced .zip with .exe files...but there's a trick.
The zip files are still there, just change the final extension of the link:
http://www.ftdichip.com/Drivers/CDM/CDM ... tified.zip
That is the SDK
-
- Posts: 58
- Joined: Mon Apr 27, 2015 11:27 am
- Real Name: Chris Laurie
Thanks Massimo, that worked.
Now the next issue: the build wiki says to cd to the appropriate dir and that works but ithen asks to issue a gendef command but if I do that I get an error from the shell:
$ cd /c/Qt/CDM21000/i386
CHRIS@CHRIS-PC MINGW64 /c/Qt/CDM21000/i386
$ gendef.exe - ftd2xx.dll > ftd2xx.def
bash: gendef.exe: command not found
the same goes for the dlltool command later.
Where did I go wrong?
Now the next issue: the build wiki says to cd to the appropriate dir and that works but ithen asks to issue a gendef command but if I do that I get an error from the shell:
$ cd /c/Qt/CDM21000/i386
CHRIS@CHRIS-PC MINGW64 /c/Qt/CDM21000/i386
$ gendef.exe - ftd2xx.dll > ftd2xx.def
bash: gendef.exe: command not found
the same goes for the dlltool command later.
Where did I go wrong?
-
- Posts: 58
- Joined: Mon Apr 27, 2015 11:27 am
- Real Name: Chris Laurie
Ok solved that part I had to point to the gendef in the 32 bit path:
$ /c/msys64/mingw32/bin/gendef.exe - ftd2xx.dll > ftd2xx.def
* [ftd2xx.dll] Found PE image
CRIS@CRIS-PC MINGW64 /c/Qt/CDM21000/i386
$ /c/msys64/mingw32/bin/dlltool -k --input-def FTD2XX.def --dllname ftd2xx.dll --output-lib libftd2xx.a
Will keep this thread posted.
$ /c/msys64/mingw32/bin/gendef.exe - ftd2xx.dll > ftd2xx.def
* [ftd2xx.dll] Found PE image
CRIS@CRIS-PC MINGW64 /c/Qt/CDM21000/i386
$ /c/msys64/mingw32/bin/dlltool -k --input-def FTD2XX.def --dllname ftd2xx.dll --output-lib libftd2xx.a
Will keep this thread posted.
-
- Posts: 58
- Joined: Mon Apr 27, 2015 11:27 am
- Real Name: Chris Laurie
I had to switch to the mingw32_shell - using the mingw64_shell gave an error.
It is compiling now....
It is compiling now....
-
- Posts: 58
- Joined: Mon Apr 27, 2015 11:27 am
- Real Name: Chris Laurie
Compiling and installing went fine, essentially the same as the Linux process.
I had to copy a number of lib?.dll files from C:\msys64\mingw32\bin to c:qlcplus when windows complained about it when I tried to run the app.
Once that was done it compiled fine.
Now to figure out how to do a pull request...
I had to copy a number of lib?.dll files from C:\msys64\mingw32\bin to c:qlcplus when windows complained about it when I tried to run the app.
Once that was done it compiled fine.
Now to figure out how to do a pull request...