PeakCAN Mingw

  • 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 0x000000c1

    Can someone help?

  • Qt Champions 2018

    Hi @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.

  • Hi thanks for your answer.
    It is the 64 bit version. with the 32 bit version it works fine.

  • Qt Champions 2018

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.