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 First Compile of the day (small bug) (Read 4339 times)
James Brown
Junior Member
**
Offline


Posts: 46
Location: Near San Diego
Joined: Jul 31st, 2012
First Compile of the day (small bug)
Nov 6th, 2012 at 3:04pm
Print Post  
First time compile produces this:

Couldn't determine program size:    text         data          bss          dec          hex      filename

Not much of bug but it might uncover something else...
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: First Compile of the day (small bug)
Reply #1 - Nov 6th, 2012 at 6:08pm
Print Post  
Yes a few people have reported this but I can't reproduce it.

Would you mind switching on Tools>Options>Compiler>Verbose before shutting down next time so hopefully the problem will happen and show more info.

Thanks
  
Back to top
IP Logged
 
James Brown
Junior Member
**
Offline


Posts: 46
Location: Near San Diego
Joined: Jul 31st, 2012
Re: First Compile of the day (small bug)
Reply #2 - Nov 11th, 2012 at 4:07pm
Print Post  
1. Restart VS 2012
2. Found under TOOLS |Options | Visual Micro  Select Compiler | Verbose and set true. OK.
3. Then FILE | Open | Arduino Project select .sln of the project
4. Output window shows:
Intellisense | Summary: Header=1 Prototypes=13 Imports=1
5. Start Compile with F5.  Result is:

Compiling 'Blink2' for 'Arduino Ethernet'
Build folder: file://C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet
SketchLibFolders
C:\Program Files\arduino-1.0.1\hardware\arduino\cores\arduino;C:\Program Files\arduino-1.0.1\hardware\arduino\variants\standard;c:\program files\arduino-1.0.1\hardware\tools\avr\avr\include\;c:\program files\arduino-1.0.1\hardware\tools\avr\avr\include\avr\;c:\program files\arduino-1.0.1\hardware\tools\avr\avr\;c:\program files\arduino-1.0.1\hardware\tools\avr\lib\gcc\avr\4.3.2\include\;
Summary: Header=1 Prototypes=3 Imports=0
C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -DVISUALMICRO_COMPILER_VER=1 -I"C:\Program Files\arduino-1.0.1\hardware\arduino\cores\arduino" -I"C:\Program Files\arduino-1.0.1\hardware\arduino\variants\standard" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.cpp" -o "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.cpp.o"
C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -DVISUALMICRO_COMPILER_VER=1 -I"C:\Program Files\arduino-1.0.1\hardware\arduino\cores\arduino" -I"C:\Program Files\arduino-1.0.1\hardware\arduino\variants\standard" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Test1.cpp" -o "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Test1.cpp.o"
C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.elf" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.cpp.o" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Test1.cpp.o" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\core.a" -L"C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet" -lm
C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.elf" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.eep"
C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.elf" "C:\Users\James Brown\AppData\Local\VMicro\Arduino\Builds\Blink2\ethernet\Blink2.hex"
Couldn't determine program size:    text         data          bss          dec          hex      filename
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: First Compile of the day (small bug)
Reply #3 - Nov 11th, 2012 at 5:26pm
Print Post  
Thanks that's useful. It looks like a false error. The arduino program looks to have been created correctly.

The memory size routine as altered in recent builds and I think it is that which fails. I think I can nail this one now.

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