Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Problem with 'struct' not declared in this scope. #107

Closed
larsenglund opened this issue Sep 14, 2013 · 4 comments
Closed

Problem with 'struct' not declared in this scope. #107

larsenglund opened this issue Sep 14, 2013 · 4 comments

Comments

@larsenglund
Copy link

I'm trying to compile this project:

https://github.com/larsenglund/huset/blob/master/arduino/inotool/gateway/src/sketch.ino

which has this line:

void showNewCode(NewRemoteCode receivedCode) {

and I get this:

.build/uno/src/sketch.cpp:3:20: error: variable or field ‘handleNewCode’ declared void
.build/uno/src/sketch.cpp:3:20: error: ‘NewRemoteCode’ was not declared in this scope

but the struct is clearly declared in:

https://github.com/larsenglund/huset/blob/master/arduino/inotool/gateway/lib/NewRemoteSwitch/NewRemoteReceiver.h

What is going on here? How can I solve this?

@larsenglund
Copy link
Author

Uhm, I tried to make a pull request for my fix for this but it ended up in a fork by mesh (mash#1) for some reason? I'm new to git :)

@nkrkv
Copy link
Member

nkrkv commented Sep 24, 2013

Fixed in 0.3.6

@nkrkv nkrkv closed this as completed Sep 24, 2013
@evandavey
Copy link

I've just installed the latest master and I'm experiencing this issue.

@larsenglund
Copy link
Author

Well, you can look at my original pull (larsenglund@c7c9a0d) and compare that to the latest code to maybe figure out what the problem is..

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

No branches or pull requests

3 participants