Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
cannot open source file "inttypes.h" (Read 4700 times)
mrShahar
Newbies
*
Offline



Posts: 3
cannot open source file "inttypes.h"
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 ?
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11074
United Kingdom
Re: cannot open source file "inttypes.h"
Reply #1 - 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
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
mrShahar
Newbies
*
Offline



Posts: 3
Re: cannot open source file "inttypes.h"
Reply #2 - Mar 24th, 2017 at 5:53pm
 
Sent. Thanks!
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11074
United Kingdom
Re: cannot open source file "inttypes.h"
Reply #3 - 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'
 


Back to top
« Last Edit: Mar 24th, 2017 at 9:43pm by Tim@Visual Micro »  

Tim Leek
home
WWW  
IP Logged
 
mrShahar
Newbies
*
Offline



Posts: 3
Re: cannot open source file "inttypes.h"
Reply #4 - Mar 24th, 2017 at 11:48pm
 
Thanks a lot !!!
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11074
United Kingdom
Re: cannot open source file "inttypes.h"
Reply #5 - 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.
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print