Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple definitions #5

Open
erkutoyus opened this issue Nov 4, 2020 · 0 comments
Open

Multiple definitions #5

erkutoyus opened this issue Nov 4, 2020 · 0 comments

Comments

@erkutoyus
Copy link

Hi there. Many thanks to your great efforts. I'm trying to build RC car with mecanum wheels. I wanted to use my old Syma remote controller on this project. I have very little programming skills so I couldn't figure it out how to fix below errors in Arduino IDE.

Arduino: 1.8.13 (Mac OS X), Board: "Arduino Uno"

libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::hopToNextChannel()'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::~NRF24_RX()'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::~NRF24_RX()'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::~NRF24_RX()'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::NRF24_RX(NRF24L01*)'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::NRF24_RX(NRF24L01*)'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::NRF24_RX(unsigned char, unsigned char)'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::NRF24_RX(unsigned char, unsigned char)'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::crcOK(unsigned int) const'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::initialize(unsigned char, unsigned char)'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/NRF24_RX.cpp.o (symbol from plugin): In function NRF24_RX::hopToNextChannel()': (.text+0x0): multiple definition of NRF24_RX::protocolString'
sketch/NRF24_RX.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::setHoppingChannels()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::~CX10_RX()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::~CX10_RX()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::~CX10_RX()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::begin(int, unsigned long const*)'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::txAddr'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::rxAddr'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::checkBindPacket()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::CX10_RX(NRF24L01*)'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::CX10_RX(NRF24L01*)'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::CX10_RX(unsigned char, unsigned char)'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::CX10_RX(unsigned char, unsigned char)'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::convertToPwmUnsigned(unsigned char const*)'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::setRcDataFromPayload(unsigned int*) const'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::readPayloadIfAvailable()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_cx10.cpp.o (symbol from plugin): In function CX10_RX::setHoppingChannels()': (.text+0x0): multiple definition of CX10_RX::dataReceived()'
sketch/nrf24_rx_cx10.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::setRcDataFromPayload(unsigned int*) const'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::~H8_3D_RX()'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::~H8_3D_RX()'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::~H8_3D_RX()'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::checkBindPacket()'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::H8_3D_RX(NRF24L01*)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::H8_3D_RX(NRF24L01*)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::H8_3D_RX(unsigned char, unsigned char)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::H8_3D_RX(unsigned char, unsigned char)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::convertToPwm(unsigned char, int, int)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::setHoppingChannels(unsigned char const*)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::setBound(unsigned char const*)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::dataReceived()'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::rxAddr'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::begin(int, unsigned long const*)'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::checkSumOK() const'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/nrf24_rx_h8_3d.cpp.o (symbol from plugin): In function H8_3D_RX::setRcDataFromPayload(unsigned int*) const': (.text+0x0): multiple definition of H8_3D_RX::hopToNextChannel()'
sketch/nrf24_rx_h8_3d.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/xn297.cpp.o (symbol from plugin): In function XN297_UnscramblePayload(unsigned char*, int, unsigned char const*)': (.text+0x0): multiple definition of XN297_UnscramblePayload(unsigned char*, int, unsigned char const*)'
sketch/xn297.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/NRF24_RX-master/xn297.cpp.o (symbol from plugin): In function XN297_UnscramblePayload(unsigned char*, int, unsigned char const*)': (.text+0x0): multiple definition of XN297_WritePayload(unsigned char*, int, unsigned char const*, NRF24L01*)'
sketch/xn297.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant