sheaivey / rx5808-pro-diversity

DIY project to create your own 5.8ghz FPV diversity basestation - based off the rx5808 receiver module. Project includes basic Arduino Nano implementation to advanced custom PCB board and introduction to digital switches 4066 chip.
http://www.laforgefpv.com
MIT License
608 stars 260 forks source link

I have errors compiling and saving the quadversity code in arduino #165

Open juanvivo opened 4 years ago

juanvivo commented 4 years ago

I am having trouble saving the code to the arduino. I have tried several versions of the IDE (1.6.8, 1.6 and 1.5) but I have not been successful with any ... Can you tell me a version of the IDE with which you are sure you can compile and save the code without "redefined" errors?

JyeSmith commented 4 years ago

Looks like the last time I committed to quadversity was July 2018. Try 1.8.5 which was the current release back then.

https://www.arduino.cc/en/Main/OldSoftwareReleases https://www.arduino.cc/en/Main/ReleaseNotes

juanvivo commented 4 years ago

TKS @JyeSmith

I installed version 1.8.5. Also the libraries that are attached in the rar and the adafruit 1306 and gfx libraries that this requests. Many errors remain that there are redefinitions.

But after you told me that the last quadversity code was from July 2018, I searched for the adafruit_1306 library version of that date, and installed it instead of the latest version. In this way the code is compiled without problem, even in version 1.8.12 of the IDE. I'm going to assemble the circuit again to see if this time I get it to work ...

Thanks for getting a little closer to the goal ...

crysis-ps commented 4 years ago

hello @juanvivo can you please say, wich versions of libraries did you install? seeems i tried many combinations of adafruit 1306 and gfx libraries, but still have warnings in compilation (and not working receiver). I tried 1306 - 1.2.7 (and all near it) and GFX 1.2.9-1.4.14 - but no success

juanvivo commented 4 years ago

all libraries are in the latest version except one. But I don't remember which one, when I get home I look at it and tell you ...

Enviado desde Yahoo Mail con Android

El mié., jun. 24, 2020 a 16:23, Sergey Pykhtunovnotifications@github.com escribió:

hello @juanvivo can you please say, wich versions of libraries did you install? seeems i tried many combinations of adafruit 1306 and gfx libraries, but still have warnings in compilation (and not working receiver). I tried 1306 - 1.2.7 (and all near it) and GFX 1.2.9-1.4.14 - but no success

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

juanvivo commented 4 years ago

the version that worked for me was adafruit 1306 july 2018. It seems to me to remember that later I tried with some later versions and it also worked well.

crysis-ps commented 4 years ago

thank you for the answer.

I can found: Adafruit_SSD1306-1.1.2 2016-12-05 Adafruit_SSD1306-1.2.0 2018-11-08 I cannot find the version from jule, so seems it should be 1.1.2 version... GFX - the latest? And what branch of code did you build? develop or master?

crysis-ps commented 4 years ago

Tried all this versions, but still unsucsessfull (get many warnings during compiling, and then white snow on the screen). It would be fine, if you find the working versions :) IDE 1.8.5 and 1.8.12

juanvivo commented 4 years ago

The versión that i use without problems is 1.3.0 in 1.8.12 ide .

crysis-ps commented 4 years ago

thank you =)

truglodite commented 3 years ago

The versión that i use without problems is 1.3.0 in 1.8.12 ide .

I was also having compiler errors until I read this. I downgraded from the current Adafruit GFX lib (1.10) to 1.3.0, and it compiles now.

crysis-ps commented 3 years ago

I also found working versions. this was Adafruit_SSD1306 1.1.2 and Adafruit_GFX 1.2.2

funinaa commented 3 years ago

When I compiled the source code, I reported this wrong, what's going on?

new.cpp.o (symbol from plugin): In function operator new(unsigned int)': (.text+0x0): multiple definition ofoperator new(unsigned int, void*)' sketch\state.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1

Taco0070 commented 3 years ago

When I compiled the source code, I reported this wrong, what's going on?

new.cpp.o (symbol from plugin): In function operator new(unsigned int)': (.text+0x0): multiple definition ofoperator new(unsigned int, void*)' sketch\state.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1

I had the same error, but just now I've been able to compile, just downgrade your Adafruit_SSD1306 and Adafruit_GFX libraries. The versions that worked for me are Adafruit_SSD1306 1.1.2 and Adafruit_GFX 1.2.3