Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic SOLVED: Project Looking for AruduinoRobot when set to Arduino Uno (Read 2612 times)
Twonius
Newbies
*
Offline


Posts: 3
Joined: Aug 3rd, 2013
SOLVED: Project Looking for AruduinoRobot when set to Arduino Uno
Aug 4th, 2013 at 12:16pm
Print Post  
I'm having an issue compiling my sketch. For some reason it seems to think it's on AruinoRobot even though the vsarduino.h shows Arduino Uno. 

Code
Select All
//Board = Arduino Uno
#define __AVR_ATmega328P__
#define ARDUINO 105
#define F_CPU 16000000L
#define __AVR__
extern "C" void __cxa_pure_virtual() {;} 




Here's the output from the build: 

Code
Select All
Compiling 'ble_temperature_template' for 'Arduino Uno'
ArduinoRobot.cpp : : In constructor 'RobotControl::RobotControl()':
ArduinoRobot.cpp : 'LCD_CS' was not declared in this scope
ArduinoRobot.cpp : 'DC_LCD' was not declared in this scope
ArduinoRobot.cpp : 'RST_LCD' was not declared in this scope
ArduinoRobot.cpp : : In member function 'void RobotControl::begin()':
ArduinoRobot.cpp : 'MUXA' was not declared in this scope
ArduinoRobot.cpp : 'MUXB' was not declared in this scope
ArduinoRobot.cpp : 'MUXC' was not declared in this scope
ArduinoRobot.cpp : 'MUXD' was not declared in this scope
ArduinoRobot.cpp : 'MUX_IN' was not declared in this scope
ArduinoRobot.cpp : 'BUZZ' was not declared in this scope
ArduinoRobot.cpp : 'Serial1' was not declared in this scope
Error compiling
 



I'm using AtmelStudio V6.1 and arduino 1.0.5
« Last Edit: Aug 4th, 2013 at 8:53pm by Twonius »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Project Looking for AruduinoRobot when set to Arduino Uno
Reply #1 - Aug 4th, 2013 at 2:16pm
Print Post  
Hi,

Visual Micro is attempting an Uno compile but the problem is that Arduino included two libraries with 1.0.5 that broke the previous rules.

For now you can delete the Robot_Control and Robot_Vision library folders from under "arduinoide/libraries" or you can point vm to a 1.0.4 or 1.5.x version of Arduino that do not contain these two libraries.

If you delete the two arduino libs and have Atmel open at the time then click "Tools>Arduino>Reload Tool Chain" so hat vm re-reads the Arduino config.

We recommend Arduino 1.0.4 or 1.5.x because of this problem but 1.0.5 is okay if you follow the above guide. 

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint