Results 1 to 2 of 2

Thread: 4.7.4 MSVC2010 after config/build GUI application can't find 'stddef.h'

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default 4.7.4 MSVC2010 after config/build GUI application can't find 'stddef.h'

    The Examples and demos in my Qt/4.7.4/ work and compile just fine.
    When I try to make a new Qt GUI application and build and run it. I get C1083: Cannot open include file 'stddef.h': No such file or directory

    Which is really upsetting because I DO have C:\Program Files\Microsoft Visual Studio 10.0\VC\bin in my Environment Path
    as well as C:\Program Files\Microsoft Visual Studio 10.0\VC\include in my INCLUDE path
    and C:\Program Files\Microsoft Visual Studio 10.0\VC\lib in my LIB path
    and then I put %LIB% and %INCLUDE% into my Path

    The configure build was to get phonon and phonon-backend working, which I successfully did before, but I had the Express Version of 2010 (which allows a debug build only and not a release), so as a student I went and got Visual Studio 2010 Professional and my builds are having some serious problems. I wouldn't post on here but, I've done the configure and jom and/or nmake so many times, I can't really waste any more days doing this....

    Before configure I did run the VCVARS32.bat and I did the entire install as per say http://thomasstockx.blogspot.com/201...udio-2010.html and http:www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/

    not sure if this is because of something with the VC++ compiler, my environment variables, my toolchain, etc.....

    any help would be awesome... I've never had this much trouble building before....

    I should also mention:
    1. I HAVE to use MSVC2010 for the phonon to work, so please don't suggest I just use MingW.
    (I have working 4.6.4 w/ MingW that I use quite heavily. and 4.8.2 w/ MingW on another VirtualBox virtual machine)
    2. This is a Windows7 32bit build.
    (it's actually a VirtualBox Win7 32bit virtual machine with a Win7 64bit Host, so I can easily port it from computer to computer)
    3. I HAVE read C GUI Programming with Qt4 1st and 2nd Edition, The Book of Qt4 The Art of Building Qt Applications, Foundations of Qt Development, and Prentice Hall Advanced Qt Programming, so PLEASE don't suggest any of these book titles to me!!!!!
    Last edited by budda; 16th August 2012 at 19:08.

Similar Threads

  1. Build Qwt with msvc2010 fails
    By Zeyneb in forum Qwt
    Replies: 2
    Last Post: 11th November 2011, 06:50
  2. Qt Application and config File?
    By snakemedia in forum Qt Programming
    Replies: 1
    Last Post: 27th February 2011, 08:12
  3. config QTcreator build and develop Symbian
    By nhs_0702 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 7th May 2010, 04:03
  4. Replies: 1
    Last Post: 13th January 2010, 23:35
  5. qtopia 2.2.0 build fail...cannot find -lqte
    By halloworld in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 9th December 2008, 10:07

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.