VS Arduino | |
Visual Micro >> Visual Studio 2017, 2019, 2022 >> cannot open source file "inttypes.h"
https://www.visualmicro.com/forums/YaBB.pl?num=1490350071 Message started by mrShahar on Mar 24th, 2017 at 10:07am |
Title: cannot open source file "inttypes.h" Post by mrShahar on Mar 24th, 2017 at 10:07am
after a fresh installation of VS 2017 and Visual Micro.
I open a new project and try to compile it. Got this error: cannot open source file "inttypes.h" Any Suggestions ? |
Title: Re: cannot open source file "inttypes.h" Post by Visual Micro on Mar 24th, 2017 at 10:46am
Hi,
It's important to give information about board and ide versions. Can you please switch on vmicro>compiler>verbose and also "show build properties" Then build and email the output as a .txt file to info[at]visualmicro.com along with a link to this post Thanks |
Title: Re: cannot open source file "inttypes.h" Post by mrShahar on Mar 24th, 2017 at 5:53pm
Sent. Thanks!
|
Title: Re: cannot open source file "inttypes.h" Post by Visual Micro on Mar 24th, 2017 at 9:34pm
Hi,
Arduino 1.8.2 was only released a few days ago. Visual Micro currently only supports up to 1.8.1 Available from here https://www.arduino.cc/en/Main/OldSoftwareReleases#previous fyi: The "errors list" can be ignored in visual studio if the build fails due to missing tools. The important build errors are always shown in the build output:- [code]The system cannot find the file specified Preprocess: "{runtime.tools.avr-gcc.path}\bin\avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I"D:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"D:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\your name\AppData\Local\Temp\VMBuilds\testVsProject\nano_atmega328\Debug\testVsProject.cpp" -o "nul" Object reference not set to an instance of an object Debug build failed for project 'testVsProject' [/code] |
Title: Re: cannot open source file "inttypes.h" Post by mrShahar on Mar 24th, 2017 at 11:48pm
Thanks a lot !!!
|
Title: Re: cannot open source file "inttypes.h" Post by Visual Micro on Mar 25th, 2017 at 2:57pm
Version 1703.25 is now available and supports 1.8.2. Updates are available in the IDE via "tools>extensions and updates>updates"
Thanks again for the report. |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |