Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. PeakCAN Mingw

PeakCAN Mingw

Scheduled Pinned Locked Moved Solved General and Desktop
canmingw
4 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wimschuiteman
    wrote on 7 Jan 2019, 15:44 last edited by
    #1

    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?

    Regards,
    Wim

    A 1 Reply Last reply 7 Jan 2019, 16:16
    0
    • W wimschuiteman
      7 Jan 2019, 15:44

      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?

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 7 Jan 2019, 16:16 last edited by aha_1980 1 Jul 2019, 16:29
      #2

      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.

      Qt has to stay free or it will die.

      1 Reply Last reply
      4
      • W Offline
        W Offline
        wimschuiteman
        wrote on 8 Jan 2019, 15:38 last edited by
        #3

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

        Regards,
        Wim

        A 1 Reply Last reply 8 Jan 2019, 15:53
        1
        • W wimschuiteman
          8 Jan 2019, 15:38

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

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 8 Jan 2019, 15:53 last edited by
          #4

          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.

          Qt has to stay free or it will die.

          1 Reply Last reply
          1

          2/4

          7 Jan 2019, 16:16

          • Login

          • Login or register to search.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved