Cannot open include file stddef h No such file or directory: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=C1083: Cannot open include file: ‘stddef.h’: No such file or directory=
[[Category:Learning]]<br />[[Category:Windows]]<br />[[Category:MinGW]]<br />[[Category:HowTo]]<br />[[Category:Tutorial]]<br />h1. C1083: Cannot open include file: ‘stddef.h’: No such file or directory


It is not enough having '''Visual Studio 2008 Visual C++''' (compiler) installed on your developer machine. You’ll need the Windows platform <span class="caps">SDK</span> too. But there is an easier way to compile a Qt application under Windows: [[MinGW]]
It is not enough having '''Visual Studio 2008 Visual C++''' (compiler) installed on your developer machine. You’ll need the Windows platform SDK too. But there is an easier way to compile a Qt application under Windows: [[MinGW]]


The standard installation of “Qt SDK” does not contain '''MinGW''' automatically! Use the custom installation mode instead!
The standard installation of “Qt SDK” does not contain '''MinGW''' automatically! Use the custom installation mode instead!


If you use the default installation you can add '''MinGW''' very easily:
If you use the default installation you can add '''MinGW''' very easily:<br /># Start Qt Creator<br /># Menu: Help | Start Updater<br /># Package manager (Maintain Qt SDK)<br /># In the tree view : Qt SDK / Development Tools / Qt 4.7.4 / Desktop Qt 4.7.4 – MinGW
 
# Start Qt Creator
# Menu: Help | Start Updater
# Package manager (Maintain Qt <span class="caps">SDK</span>)
# In the tree view : Qt <span class="caps">SDK</span> / Development Tools / Qt 4.7.4 / Desktop Qt 4.7.4 – MinGW
 
===Categories:===
 
* [[:Category:HowTo|HowTo]]
* [[:Category:Learning|Learning]]
* [[:Category:MinGW|MinGW]]
* [[:Category:Tutorial|Tutorial]]
* [[:Category:Windows|Windows]]

Revision as of 09:36, 24 February 2015






h1. C1083: Cannot open include file: ‘stddef.h’: No such file or directory

It is not enough having Visual Studio 2008 Visual C++ (compiler) installed on your developer machine. You’ll need the Windows platform SDK too. But there is an easier way to compile a Qt application under Windows: MinGW

The standard installation of “Qt SDK” does not contain MinGW automatically! Use the custom installation mode instead!

If you use the default installation you can add MinGW very easily:
# Start Qt Creator
# Menu: Help | Start Updater
# Package manager (Maintain Qt SDK)
# In the tree view : Qt SDK / Development Tools / Qt 4.7.4 / Desktop Qt 4.7.4 – MinGW