Cannot open include file: 'stddef.h': No such file or direct

Developers may discuss here.

Cannot open include file: 'stddef.h': No such file or direct

Postby aaron.pedigo » 2019-12-11 14:37

Hello,

I am trying to compile UltraVNC on my development PC and am having some issues.

My PC has the following:
  • Windows 10 1809
  • Visual Studio 2017
  • Microsoft Visual Studio Installer Projects extension
  • Windows 8.1 SDK
  • nasm 2.14.02

If I open winvncVS2017.sln and try to compile I get lots of errors that I am guessing are related:
  1. fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory
  2. fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
  3. fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
  4. fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory
  5. fatal error C1083: Cannot open include file: 'string.h': No such file or directory
  6. fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory

Can someone help me fix these?

Thanks,

Aaron Pedigo
aaron.pedigo
 
Posts: 4
Joined: 2019-12-11 14:04

Re: Cannot open include file: 'stddef.h': No such file or di

Postby Rudi De Vos » 2019-12-11 19:49

Can you compile other projects... this are visual studio files.
Google say you need to add the correct include paths
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 6110
Joined: 2004-04-23 10:21

Re: Cannot open include file: 'stddef.h': No such file or di

Postby aaron.pedigo » 2019-12-11 19:56

Rudi,

Thanks for the reply, but while I was waiting for my post to be put up, I did find my issue.
I had installed the Windows 8.1 SDK from here: https://developer.microsoft.com/en-us/w ... dk-archive
What fixed it for me was to use the Visual Studio Installer and choose the Windows 8.1 SDK and UCRT SDK component.

I have two other issues now, but I will read through this forum to see if anyone else has had the issues and make a new post if I can't find a solution.
aaron.pedigo
 
Posts: 4
Joined: 2019-12-11 14:04


Return to Developer discussions (mainly user-mode)

Who is online

Users browsing this forum: No registered users and 1 guest