Page 2 of 2 FirstFirst 1 2
Results 21 to 29 of 29

Thread: Compiling and modifying the SDK source code on Windows

  1. #21
    Wolf:MP BackSnip3's Avatar
    Join Date
    Mar 2009
    Location
    France,lost in the west
    Posts
    439
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    Hi,

    It looks like the platform toolset settings are wrong. It can come from the .targets/.props file or something else.

    This is the contents of my v80 folder :

    v80.zip

    Replace your v80 folder with it and test again. Please make sure that you've set the Platform Toolset to v80 for the 3 projects in Visual Studio. Also make sure that your registry keys are OK.

    If it doesn't work, change the plaftorm toolset to something else. Then save. Then exit VS, then reopen solution, then change the platform toolset again.

    When you change the plaftorm toolset and the settings are correct, you should see the IDE statusbar (blue bar) say that it's parsing the include files.

    Also if you look at the external dependencies and find a file from Windows SDK, it should come from the SDK that you installed not 7.0 or newer.

    platform_toolset.png

    There might be problem with copy/paste of the data from my pdf (encoding things).

    Please try with the attached files and let me know.
    Last edited by BackSnip3; 29th Mar 2016 at 19:04.
    Quote Originally Posted by tomv8 View Post
    omg u genius ty
    Box is pretty - Margus

  2. #22
    Senior Member maggol's Avatar
    Join Date
    Jun 2009
    Location
    Jatinangor, West Java, Indonesia
    Posts
    125
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    Replacing v80 with yours and here the result

    Windows.h.jpg

    the console
    1>------ Build started: Project: idLib, Configuration: Debug with edit and continue Win32 ------
    1> Lib.cpp
    1>d:\sourcecode\etqw\idlib\../idlib/LibOS.h(66): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
    2>------ Build started: Project: libGameDecl, Configuration: Debug with edit and continue Win32 ------
    2> precompiled.cpp
    2>d:\sourcecode\etqw\idlib\libos.h(66): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
    3>------ Build started: Project: game, Configuration: Debug with edit and continue Win32 ------
    3> precompiled.cpp
    3>d:\sourcecode\etqw\idlib\libos.h(66): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
    ========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
    Hello, World

  3. #23
    Wolf:MP BackSnip3's Avatar
    Join Date
    Mar 2009
    Location
    France,lost in the west
    Posts
    439
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    Ok that's a lot better. Now it just doesn't find your windows SDK. Please double check your registry keys. You can look in the files I gave you, to see which registry path it is looking for. Please double check everything and follow whole tutorial and it should be ok!
    Quote Originally Posted by tomv8 View Post
    omg u genius ty
    Box is pretty - Margus

  4. #24
    Senior Member maggol's Avatar
    Join Date
    Jun 2009
    Location
    Jatinangor, West Java, Indonesia
    Posts
    125
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    After double checking and try to reinstall windows platform sdk, still no go for me. Still have that windows.h missing problem.

    Then i check my windows SDK and it seems, windows.h is gone from my windows sdk.

    windows.h missing.jpg

    Btw, i'm not a programmer, sorry if i trouble you
    Hello, World

  5. #25
    Wolf:MP BackSnip3's Avatar
    Join Date
    Mar 2009
    Location
    France,lost in the west
    Posts
    439
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    What did you do?? Please follow all steps of tutorial, I don't think I ever said to install platform SDK in a 6.0A folder!
    We only create a registry key called Windows/6.0A because it doesn't work when using other name. But it has nothing to do with where the SDK is installed.


    Here is my registry key :
    registry.JPG

    Here is Windows 2003 Platform SDK folder installed in default location.
    SDK folder.JPG

    With Windows.h file :
    windows_h_file.JPG

    Here is other (more recent) Windows SDK folder where you shouldn't have 6.0A installed.
    windows sdk folder.JPG

    If you don't have this, you didn't follow tutorial. Please redo tutorial and use the v80 zip file I gave earlier.

    Good luck
    Quote Originally Posted by tomv8 View Post
    omg u genius ty
    Box is pretty - Margus

  6. #26
    Senior Member maggol's Avatar
    Join Date
    Jun 2009
    Location
    Jatinangor, West Java, Indonesia
    Posts
    125
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    I'm sorry, but i have followed your tutorial step by step and still have that windows.h can't located error.

    If this help

    My registry key
    Regedit Microsoft SDK.jpgRegedit Microsoft SDK Wowe6432.jpg

    my windows.h file location
    Windows.h location.jpg
    Hello, World

  7. #27
    Senior Member maggol's Avatar
    Join Date
    Jun 2009
    Location
    Jatinangor, West Java, Indonesia
    Posts
    125
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    My Windows Platform SDK folder
    Microsoft Platform SDK.jpg

    and my windows SDK folder
    Microsoft SDK Folder.jpg
    Hello, World

  8. #28
    Wolf:MP BackSnip3's Avatar
    Join Date
    Mar 2009
    Location
    France,lost in the west
    Posts
    439
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    See here you shouldn't have 6.0A installed. Do you have VS2008 installed on your PC?
    Try deleting 6.0A folder in Microsoft SDKs/Windows
    Quote Originally Posted by tomv8 View Post
    omg u genius ty
    Box is pretty - Margus

  9. #29
    Senior Member maggol's Avatar
    Join Date
    Jun 2009
    Location
    Jatinangor, West Java, Indonesia
    Posts
    125
    Most Recent Awards:

    Re: Compiling and modifying the SDK source code on Windows

    Just the redistributable

    Deleting v6.0A and still have the error
    Hello, World

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
  •