rx5808-pro-diversity icon indicating copy to clipboard operation
rx5808-pro-diversity copied to clipboard

I have errors compiling and saving the quadversity code in arduino

Open juanvivo opened this issue 4 years ago • 13 comments

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?

juanvivo avatar May 11 '20 09:05 juanvivo

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

JyeSmith avatar May 11 '20 23:05 JyeSmith

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 ...

juanvivo avatar May 12 '20 11:05 juanvivo

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

crysis-ps avatar Jun 24 '20 14:06 crysis-ps

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 Pykhtunov[email protected] 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 avatar Jun 24 '20 14:06 juanvivo

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.

juanvivo avatar Jun 24 '20 14:06 juanvivo

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 avatar Jun 24 '20 15:06 crysis-ps

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

crysis-ps avatar Jun 24 '20 15:06 crysis-ps

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

juanvivo avatar Jun 25 '20 08:06 juanvivo

thank you =)

crysis-ps avatar Jun 27 '20 09:06 crysis-ps

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.

truglodite avatar Dec 02 '20 23:12 truglodite

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

crysis-ps avatar Dec 11 '20 07:12 crysis-ps

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 of operator 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

funinaa avatar Apr 17 '21 02:04 funinaa

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 of operator 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

Taco0070 avatar Nov 07 '21 05:11 Taco0070