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 Сompile Error multiple definition of __vector_26 (Read 2605 times)
Vlad
Newbies
*
Offline


Posts: 2
Joined: Nov 22nd, 2016
Сompile Error multiple definition of __vector_26
Nov 22nd, 2016 at 7:33pm
Print Post  
Hello.
The code compiles without errors in Arduino IDE 1.6.12. 

The error is understandable. The project uses its own library UART with interruptions, but my project is not used HardwareSerial. VisualMicro compiles correctly, almost the same code, but using HardwareSerial.

VisualMicro uses HardwareSerial? How do I use my library UART?

Thanks in advance.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12138
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Сompile Error multiple definition of __vector_26
Reply #1 - Nov 22nd, 2016 at 10:14pm
Print Post  
Hi,

Please change the tool bar from "Debug" to "Release"

The debugger uses serial by default, if the core you prevents the Arduino Serial from working then you can only use debug with other debug settings, such as SoftwareSerial.
  
Back to top
IP Logged
 
Vlad
Newbies
*
Offline


Posts: 2
Joined: Nov 22nd, 2016
Re: Сompile Error multiple definition of __vector_26
Reply #2 - Nov 23rd, 2016 at 7:48am
Print Post  
Yes it works.

Now debugging does not interest me. If I need to debug, I will use HardwareSerial.

For example, since.
#ifndef USE_AVR_UART
      Serial.begin(UART_SPEED);
#else
      UARTOpen(UART_PORT, UART_SPEED);
#endif

Thank you.
Topic can be closed.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint