Giter VIP home page Giter VIP logo

can-monitor-qt's Issues

does not compile

./third_party/peak_system/PCANBasic.h:29: warning: "UINT64" redefined
   29 | #define UINT64 unsigned long long int
      | 
CanAdapter/CanAdapterPCAN.cpp:10: note: this is the location of the previous definition
   10 | #define UINT64 uint64_t
      | 
CanAdapter/CanAdapterPCAN.cpp:20:30: error: declaration of 'uint32_t (* LibraryCalls::CAN_Initialize)(uint16_t, uint16_t, uint8_t, uint32_t, uint16_t)' changes meaning of 'CAN_Initialize' [-fpermissive]
   20 |     typeof(CAN_Initialize) * CAN_Initialize;
      |                              ^~~~~~~~~~~~~~
In file included from CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/PCANBasic.h:368:23: note: 'CAN_Initialize' declared here as 'uint32_t CAN_Initialize(uint16_t, uint16_t, uint8_t, uint32_t, uint16_t)'
  368 | TPCANStatus __stdcall CAN_Initialize(
      |                       ^~~~~~~~~~~~~~
CanAdapter/CanAdapterPCAN.cpp:21:25: error: declaration of 'uint32_t (* LibraryCalls::CAN_Write)(uint16_t, TPCANMsg*)' changes meaning of 'CAN_Write' [-fpermissive]
   21 |     typeof(CAN_Write) * CAN_Write;
      |                         ^~~~~~~~~
In file included from CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/PCANBasic.h:463:23: note: 'CAN_Write' declared here as 'uint32_t CAN_Write(uint16_t, TPCANMsg*)'
  463 | TPCANStatus __stdcall CAN_Write(
      |                       ^~~~~~~~~
CanAdapter/CanAdapterPCAN.cpp:22:24: error: declaration of 'uint32_t (* LibraryCalls::CAN_Read)(uint16_t, TPCANMsg*, TPCANTimestamp*)' changes meaning of 'CAN_Read' [-fpermissive]
   22 |     typeof(CAN_Read) * CAN_Read;
      |                        ^~~~~~~~
In file included from CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/PCANBasic.h:436:23: note: 'CAN_Read' declared here as 'uint32_t CAN_Read(uint16_t, TPCANMsg*, TPCANTimestamp*)'
  436 | TPCANStatus __stdcall CAN_Read(
      |                       ^~~~~~~~
CanAdapter/CanAdapterPCAN.cpp:23:32: error: declaration of 'uint32_t (* LibraryCalls::CAN_GetErrorText)(uint32_t, uint16_t, char*)' changes meaning of 'CAN_GetErrorText' [-fpermissive]
   23 |     typeof(CAN_GetErrorText) * CAN_GetErrorText;
      |                                ^~~~~~~~~~~~~~~~
In file included from CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/PCANBasic.h:545:23: note: 'CAN_GetErrorText' declared here as 'uint32_t CAN_GetErrorText(uint32_t, uint16_t, char*)'
  545 | TPCANStatus __stdcall CAN_GetErrorText(
      |                       ^~~~~~~~~~~~~~~~
make: *** [Makefile:1460: CanAdapterPCAN.o] Error 1

pcan.h not found on linux

Including missing file brings more errors.

In Datei, eingebunden von ./third_party/peak_system/PCANBasic.h:25,
                 von CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/pcan.h:38:2: Fehler: #error "double define for DWORD, WORD, BYTE found"
   38 | #error "double define for DWORD, WORD, BYTE found"
      |  ^~~~~
./third_party/peak_system/pcan.h:46: Warnung: »DWORD« redefiniert
   46 | #define DWORD  __u32
      | 
CanAdapter/CanAdapterPCAN.cpp:11: Anmerkung: dies ist die Stelle der vorherigen Definition
   11 | #define DWORD  uint32_t
      | 
In Datei, eingebunden von ./third_party/peak_system/PCANBasic.h:25,
                 von CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/pcan.h:47: Warnung: »WORD« redefiniert
   47 | #define WORD   __u16
      | 
CanAdapter/CanAdapterPCAN.cpp:12: Anmerkung: dies ist die Stelle der vorherigen Definition
   12 | #define WORD   uint16_t
      | 
In Datei, eingebunden von ./third_party/peak_system/PCANBasic.h:25,
                 von CanAdapter/CanAdapterPCAN.cpp:14:
./third_party/peak_system/pcan.h:48: Warnung: »BYTE« redefiniert
   48 | #define BYTE   __u8
      | 
CanAdapter/CanAdapterPCAN.cpp:13: Anmerkung: dies ist die Stelle der vorherigen Definition
   13 | #define BYTE   uint8_t
      | 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.