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 cannot open source file "inttypes.h" (Read 6645 times)
mrShahar
Newbies
*
Offline


Posts: 3
Joined: Mar 24th, 2017
cannot open source file "inttypes.h"
Mar 24th, 2017 at 10:07am
Print Post  
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: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: cannot open source file "inttypes.h"
Reply #1 - Mar 24th, 2017 at 10:46am
Print Post  
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
WWW  
IP Logged
 
mrShahar
Newbies
*
Offline


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: cannot open source file "inttypes.h"
Reply #3 - Mar 24th, 2017 at 9:34pm
Print Post  
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
Select All
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 t.cpp" -o "nul"
   Object reference not set to an instance of an object
Debug build failed for project 'testVsProject'
 


« Last Edit: Mar 24th, 2017 at 9:43pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
mrShahar
Newbies
*
Offline


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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: cannot open source file "inttypes.h"
Reply #5 - Mar 25th, 2017 at 2:57pm
Print Post  
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
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint