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 z-uno board build failed (Read 3326 times)
il2b
Newbies
*
Offline


Posts: 2
Joined: May 4th, 2018
z-uno board build failed
May 4th, 2018 at 4:32pm
Print Post  
Hi,
When I try to build any project with selected z-uno board (Visual Studio 2017), I have a general compilation error: Error compiling core \n File couldn't be found. 
In Arduino IDE 1.8.5 sketch build and upload occurs normally... I could not find more detailed logs to solve the problem myself. 

Config for board http://z-uno.z-wave.me/files/z-uno/package_z-wave.me_index.json


Thanks!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: z-uno board build failed
Reply #1 - May 4th, 2018 at 8:32pm
Print Post  
Hi

This fails for me in both visual micro and arduino ide.

in the arduino ide please switch on file>preferences>verbose compile. then build. highlight the output after the build and copy the text into a .txt file, then email to info@visualmicro.com

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: z-uno board build failed
Reply #2 - May 5th, 2018 at 5:27pm
Print Post  
Thanks for the log. It might be something related to virus checker but that might be rubbish. 

It needs investigation and is a strange config with "dummy" build commands.

You can see verbose build by switching on "vmicro>compiler>verbose" also "show build properties".

Does this file exist on your pc? .60/zuno_toolchain/compiler"

« Last Edit: May 5th, 2018 at 5:32pm by Tim@Visual Micro »  
Back to top
IP Logged
 
il2b
Newbies
*
Offline


Posts: 2
Joined: May 4th, 2018
Re: z-uno board build failed
Reply #3 - May 5th, 2018 at 6:06pm
Print Post  
In "tools\zuno_toolchain\00.08.60\zuno_toolchain" exist only "compiler.exe". No any files without extension.

Thanks for help with build logs in vs, now i see some strange behavior,
Code
Select All
60\zuno_toolchain\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=zuno -DF_CPU=16000000L -MMD -DUSB_VID=0x2341 -DUSB_PID=0x8039 -DARDUINO=10805 res\zuno" s\zuno\LLCore_arduino.c" -o arduino.c.o"
	Process: 60\zuno_toolchain\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=zuno -DF_CPU=16000000L -MMD -DUSB_VID=0x2341 -DUSB_PID=0x8039 -DARDUINO=10805 res\zuno" s\zuno\LLCore_arduino.c" -o arduino.c.o" 



So it seems that vs try to use avr-gcc, that specify in  "compiler.c.cmd" variable from incorrect platform.txt (for arduino boards). Is this possible?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: z-uno board build failed
Reply #4 - May 5th, 2018 at 9:11pm
Print Post  
no but if it thinks the definition is invalid then it falls back to old style avr.

when i extracted the board using both arduino ide and visual micro the compiler.exe is not in that location. which is why I asked for your output. So I will look into why it is not there. it usually means Symatec has flagged the exe as suspect. It gets a lot of false positives with custom tool chain .exe files.

  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: z-uno board build failed
Reply #5 - May 5th, 2018 at 9:18pm
Print Post  
I just deleted the package and tried reinstall. I must have missed the blocked warning the first time i installed

It's definitely blocked

« Last Edit: May 5th, 2018 at 9:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: z-uno board build failed
Reply #6 - May 5th, 2018 at 9:27pm
Print Post  
This is the virus report. I've seen it before and is usually false positive but treated as serious.

https://www.symantec.com/en/sg/security-center/writeup/2016-051811-2400-99

The .exe author should add an icon to the .exe. It's missing things like that causes it. Uggh.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint