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

Error compiling for Arduino Uno #50

Open
VaderConsulting opened this issue Jan 28, 2021 · 11 comments · May be fixed by #57
Open

Error compiling for Arduino Uno #50

VaderConsulting opened this issue Jan 28, 2021 · 11 comments · May be fixed by #57

Comments

@VaderConsulting
Copy link

// ==============================INCLUDES=========================================
#include "SevenSegmentTM1637.h"
#include "SevenSegmentExtended.h"

// Date and time functions using a DS1307 RTC connected via I2C and Wire lib
#include <Wire.h>
#include "RTClib.h"
#include <time.h>

#include <MsTimer2.h>
#include <NSEncoder.h>

// ======================================================================
// Display
// Instantiation and pins configurations
// Pin 12 - > DIO
// Pin 13 - > CLK
SevenSegmentExtended display(13, 12);

C:\Users\windo\OneDrive\Documents\Arduino\libraries\SevenSegmentTM1637\src\SevenSegmentFun.cpp:187:80: error: no 'void SevenSegmentFun::bouncingBall(uint16_t, uint16_t, bool)' member function declared in class 'SevenSegmentFun'
void SevenSegmentFun::bouncingBall(uint16_t moves, uint16_t d, bool runForever) {
^
C:\Users\windo\OneDrive\Documents\Arduino\libraries\SevenSegmentTM1637\src\SevenSegmentFun.cpp: In member function 'void SevenSegmentFun::print4Bit(uint8_t, uint8_t, uint8_t)':
C:\Users\windo\OneDrive\Documents\Arduino\libraries\SevenSegmentTM1637\src\SevenSegmentFun.cpp:250:65: warning: unused parameter 'y' [-Wunused-parameter]
void SevenSegmentFun::print4Bit( const uint8_t x, const uint8_t y, uint8_t symbol) {
^
exit status 1
Error compiling for board Arduino Uno.

@danielbernalb
Copy link

I have the same problem with Arduino UNO:
...........src\SevenSegmentFun.cpp:187:80: error: no 'void SevenSegmentFun::bouncingBall(uint16_t, uint16_t, bool)' member function declared in class 'SevenSegmentFun'
void SevenSegmentFun::bouncingBall(uint16_t moves, uint16_t d, bool runForever) {
^

@danielbernalb
Copy link

danielbernalb commented Feb 4, 2021

My temporal solution:
Erase SevenSegmentFun.cpp and SevenSegmentFun.h
Compile good becuase I don´t use this routines

@oum100
Copy link

oum100 commented Apr 26, 2021

I got the same error. This error was wrong typing of "bouncingBall" in file SevenSegmentFun.cpp in line 187. It not the same as declare in SevenSegmentFun.h. To fixed it just correct it to "bouchingBall".

@schumar
Copy link

schumar commented Jun 8, 2021

This has already been fixed (in 6f4f084), but you have to manually download the current release (v1.1.1)

@tofof tofof linked a pull request May 10, 2022 that will close this issue
@tofof
Copy link

tofof commented May 10, 2022

This has already been fixed (in 6f4f084), but you have to manually download the current release (v1.1.1)

I believe the reason you have to manually download instead of using PlatformIO's version is that library.properties didn't get a version bump with the 1.1.1 release so PlatformIO's crawler hasn't updated to use 1.1.1.

@B0rax
Copy link

B0rax commented Jun 16, 2024

@bremme can we get a release here? currently the library from the Arduino library manager is broken as it can only install V1.1.0.

@bremme
Copy link
Owner

bremme commented Jun 17, 2024

I haven't looked at this for a long time. I just updated the version number in the library.properties file to 1.1.1 as well. I guess that should fix the issue right @B0rax ?

@B0rax
Copy link

B0rax commented Jun 17, 2024

@bremme i think so, yes. There is also a PR with this fix (#57 )

@bremme
Copy link
Owner

bremme commented Jun 17, 2024

Yeah I say that PR as well, but that also included some functional changes. So just made a new commit with the version bump. Gonna close this for now. Let me know if the issue still persists. And thx by the way!

@bremme bremme closed this as completed Jun 17, 2024
@B0rax
Copy link

B0rax commented Jun 17, 2024

@bremme It doesn't look like it was fixed. The Arduino IDE still offer 1.1.0 as the latest release.
I sadly can not add any more expertise here. Maybe it needs to have a release and the update to the library.properties at the same time? I don't know.

There is a checklist from Arduino but I guess you know it better than me:
https://github.com/arduino/library-registry/blob/main/FAQ.md#how-can-i-publish-a-new-release-once-my-library-is-in-the-list

@bremme
Copy link
Owner

bremme commented Jun 17, 2024

Shit, that's unfortunate. I haven't worked with Arduino for years, so need to check the documentation as well. Let see if I can find some time to fix these issues soon. For the time being you can always just download the library from Github and use it that way ofc.

@bremme bremme reopened this Jun 17, 2024
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

Successfully merging a pull request may close this issue.

7 participants