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 Visual micro can't compiling what Arduino compile without problems. (Read 2058 times)
Real Janis
Newbies
*
Offline


Posts: 2
Joined: Feb 8th, 2018
Visual micro can't compiling what Arduino compile without problems.
Feb 13th, 2018 at 5:58pm
Print Post  
Show error on sketch which in arduino ide is compiling and uploading without problems.

There is an error:

Compiling debug version of 'Pellet_Burner_Serial_Comunication' for 'Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)'
 

Error linking for board Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)
Debug build failed for project 'Pellet_Burner_Serial_Comunication'
ccE37Q93.ltrans0.ltrans.o*: In function global constructors keyed to 65535_0_Pellet_Burner_Serial_Comunication.cpp.o.2731
ccE37Q93.ltrans0.o*: (.text.startup+0x44): undefined reference to pinMode
ccE37Q93.ltrans0.o*: (.text.startup+0x48): undefined reference to digital_pin_to_bit_mask_PGM
ccE37Q93.ltrans0.o*: (.text.startup+0x4a): undefined reference to digital_pin_to_bit_mask_PGM
ccE37Q93.ltrans0.o*: (.text.startup+0x52): undefined reference to digital_pin_to_port_PGM
ccE37Q93.ltrans0.o*: (.text.startup+0x54): undefined reference to digital_pin_to_port_PGM
ccE37Q93.ltrans0.o*: (.text.startup+0x5e): undefined reference to port_to_input_PGM
ccE37Q93.ltrans0.o*: (.text.startup+0x60): undefined reference to port_to_input_PGM
ccE37Q93.ltrans0.o*: (.text.startup+0x16a): undefined reference to pinMode
ccE37Q93.ltrans0.o*: (.text.startup+0x174): undefined reference to pinMode
ccE37Q93.ltrans0.o*: (.text.startup+0x17e): undefined reference to pinMode
ccE37Q93.ltrans0.o*: (.text.startup+0x188): undefined reference to digitalWrite
ccE37Q93.ltrans0.ltrans.o*: (.rodata+0x6): undefined reference to Print::write(unsigned char const*, unsigned int)
crtatmega2560.o: (.init9+0x0): undefined reference to main
 
collect2.exe*: error: ld returned 1 exit status

Where is problem. What I need to do?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual micro can't compiling what Arduino compile without problems.
Reply #1 - Feb 13th, 2018 at 6:42pm
Print Post  
Does it work if you try to compile in release mode?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint