B4R Question No ShortName for class ::EasyCAT

jinyistudio

Well-Known Member
Licensed User
Hi, I don't know how to fix this exception. I needed your help :(. attached file are .h and .cpp
 

Attachments

jinyistudio

Well-Known Member
Licensed User
I have try to make a wrapper for the library and I alway have following message.
But I don't know there is a problem there ? :p

EastCAT for arduino https://www.bausano.net/en/hardware/ethercat-e-arduino/easycat.html

B4X:
B4R Version: 2.51
Parsing code.    (0.00s)
Compiling code.    (0.01s)
Building project    (0.02s)
Compiling & deploying Ino project (Arduino/Genuino Mega or Mega 2560 - COM3)    Error
載入組態...
初始化套件...
正在準備開發板...
驗證中...
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterDirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterDirect(unsigned short, unsigned long)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterIndirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterIndirect(unsigned long, unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::Init()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::SPIReadProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin): In function `B4R::PrintToMemory::write(unsigned char)':
(.text+0x0): multiple definition of `EasyCAT::MainTask()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterDirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterDirect(unsigned short, unsigned long)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterIndirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterIndirect(unsigned long, unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::Init()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\B4RStream.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::MainTask()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterDirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterDirect(unsigned short, unsigned long)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterIndirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterIndirect(unsigned long, unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::Init()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\Scheduler.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::MainTask()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterDirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterDirect(unsigned short, unsigned long)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterIndirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterIndirect(unsigned long, unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::Init()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\b4r_main.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::MainTask()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterDirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterDirect(unsigned short, unsigned long)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterIndirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterIndirect(unsigned long, unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::Init()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\rEasyCAT.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::MainTask()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::EasyCAT(unsigned char, SyncMode)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterDirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterDirect(unsigned short, unsigned long)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadRegisterIndirect(unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteRegisterIndirect(unsigned long, unsigned short, unsigned char)'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::Init()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIReadProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::SPIWriteProcRamFifo()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
D:\jylab\project\b4r\Objects\bin\sketch\src.ino.cpp.o (symbol from plugin): In function `EasyCAT::EasyCAT()':
(.text+0x0): multiple definition of `EasyCAT::MainTask()'
D:\jylab\project\b4r\Objects\bin\sketch\B4RArduino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
 

Attachments

Last edited:
Top