Search found 1 match

by hjusti
Fri 9. Feb 2024, 14:29
Forum: Linux
Topic: libpcan.h double define error
Replies: 1
Views: 1844

libpcan.h double define error

I was using libpcan.h in a project without any issues. The CAN part was already finished, and I was working on another protocol when suddenly my project wouldn't build anymore. It was throwing the following error:

/usr/include/pcan.h:32:2: error: #error "double define for DWORD, WORD, BYTE found ...