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

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

Open
juanvivo opened this issue May 11, 2020 · 13 comments
Open

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

juanvivo opened this issue May 11, 2020 · 13 comments

Comments

@juanvivo
Copy link

juanvivo commented May 11, 2020

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 juanvivo changed the title I have errors compiling and saving the code in arduino I have errors compiling and saving the quadversity code in arduino May 11, 2020
@JyeSmith
Copy link
Contributor

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
Copy link
Author

juanvivo commented May 12, 2020

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
Copy link

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
Copy link
Author

juanvivo commented Jun 24, 2020 via email

@juanvivo
Copy link
Author

juanvivo commented Jun 24, 2020 via email

@crysis-ps
Copy link

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
Copy link

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
Copy link
Author

juanvivo commented Jun 25, 2020 via email

@crysis-ps
Copy link

thank you =)

@truglodite
Copy link

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
Copy link

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

@funinaa
Copy link

funinaa commented Apr 17, 2021

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

@Taco0070
Copy link

Taco0070 commented Nov 7, 2021

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

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

6 participants