Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

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

Developers may discuss here
Post Reply
aaron.pedigo
Posts: 4
Joined: 2019-12-11 14:04

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

Post by aaron.pedigo »

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
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

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

Post by Rudi De Vos »

Can you compile other projects... this are visual studio files.
Google say you need to add the correct include paths
aaron.pedigo
Posts: 4
Joined: 2019-12-11 14:04

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

Post by aaron.pedigo »

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.
Ludovic
Super-Mod
Super-Mod
Posts: 45
Joined: 2021-12-28 18:55

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

Post by Ludovic »

@aaron.pedigo: How it is now?

Note: There is the source code on GitHub:
- https://github.com/ultravnc/UltraVNC
Post Reply