PeakCAN Mingw
-
wrote on 7 Jan 2019, 15:44 last edited by
Hello there,
I have I app and now i want to use het CAN PEAK controler.
It works with the MSVC2015. Normaly I use Mingw, but the mingw don't work with the peaktech dll.
I get this error: qt.canbus.plugins.peakcan: Cannot load library pcanbasic: Unknown error 0x000000c1Can someone help?
-
Hello there,
I have I app and now i want to use het CAN PEAK controler.
It works with the MSVC2015. Normaly I use Mingw, but the mingw don't work with the peaktech dll.
I get this error: qt.canbus.plugins.peakcan: Cannot load library pcanbasic: Unknown error 0x000000c1Can someone help?
Lifetime Qt Championwrote on 7 Jan 2019, 16:16 last edited by aha_1980 1 Jul 2019, 16:29Hi @wimschuiteman,
- Which PCAN adapter is this excactly?
- Which Version of the PCAN-Basic API do you have?
- Which Qt and MinGW version? 32 or 64 bit?
- Is this a Qt from an online installer or did you compile Qt yourself?
I cannot test right now, but I'm pretty sure I've used this setup more than once.
-
wrote on 8 Jan 2019, 15:38 last edited by
Hi thanks for your answer.
It is the 64 bit version. with the 32 bit version it works fine. -
Hi thanks for your answer.
It is the 64 bit version. with the 32 bit version it works fine.Hi @wimschuiteman,
Peak does not distinguish between 32 and 64 bit, the library is called
pcanbasic.dll
in both cases.So you need to use the correct one, 32 or 64 bit, depending on your Qt architecture.
1/4