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

moteinomega board fails to build #335

Closed
karrots opened this issue Nov 23, 2015 · 9 comments
Closed

moteinomega board fails to build #335

karrots opened this issue Nov 23, 2015 · 9 comments
Assignees
Labels
Milestone

Comments

@karrots
Copy link

karrots commented Nov 23, 2015

Build for the board moteinomega fails with the following error. Builds for the moteino board work fine.

In file included from src/tmp_ino_to.cpp:1:0:
.pioenvs/moteinomega/FrameworkArduino/Arduino.h:249:26: fatal error: pins_arduino.h: No such file or directory
#include "pins_arduino.h"
@valeros valeros added this to the 2.3.6 milestone Nov 23, 2015
@valeros valeros self-assigned this Nov 23, 2015
@valeros valeros added the bug label Nov 23, 2015
@valeros
Copy link
Member

valeros commented Nov 24, 2015

Hi @karrots
Please update packages via platformio update and install development version of PlatformIO
http://docs.platformio.org/en/latest/installation.html#development-version

@karrots
Copy link
Author

karrots commented Nov 24, 2015

Dev version returns the message below when build is attempted.

.pioenvs/moteinomega/libFrameworkArduino.a(main.o): In function `main':
/home/username/arduino/weathermote/.pioenvs/moteinomega/FrameworkArduino/main.cpp:37: undefined reference to `setup'
/home/username/arduino/weathermote/.pioenvs/moteinomega/FrameworkArduino/main.cpp:47: undefined reference to `loop'

@ivankravets
Copy link
Member

@karrots have you implemented setup() and loop() prototypes?

@karrots
Copy link
Author

karrots commented Nov 24, 2015

Never had to before with Arduino. Worked fine before I updated to dev
version just now.

On Tue, Nov 24, 2015 at 10:29 AM, Ivan Kravets notifications@github.com
wrote:

@karrots https://github.com/karrots have you implemented setup() and
loop() prototypes?


Reply to this email directly or view it on GitHub
#335 (comment)
.

@ivankravets
Copy link
Member

Please post the source code here.

@karrots
Copy link
Author

karrots commented Nov 24, 2015

https://github.com/LowPowerLab/RFM69/blob/master/Examples/WeatherNode/WeatherNode.ino

Builds for motenio board worked fine as mentioned in the opening message. Now both motenio and moteniomega return this message. Source builds find in the Arduino IDE.

@ivankravets
Copy link
Member

Have you placed this WeatherNode.ino to src directory?

@valeros
Copy link
Member

valeros commented Nov 24, 2015

@karrots Can you share your entire project as zip file somewhere?

@karrots
Copy link
Author

karrots commented Nov 24, 2015

ok your correct. I had changed the src_dir in the platform.ini to make it compatible with the IDE. Didn't realize I messed it up. Works fine now.

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

No branches or pull requests

3 participants