Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    EmuTalk Member
    Join Date
    Jul 2006
    Posts
    417

    Exclamation Having a Problem Compiling DirectX and other Apps

    Hi, I'm posting this because I'm trying to set up the DirectX SDK with Microsoft Visual C++ 2005 Express Edition and am having a problem getting applications to compile.

    I've tried Compiling official Source Code of Open Source Projects, as well as some I attempted on my own, Almost all of them fail with multiple errors, but no one else has had a problem compiling these applications with the same Compiler/IDE that I'm using.

    Even simple DirectX Apps such as Nehe3d Simple Basecode errors out on compile, however it does compile fine in Codeblocks IDE with mingw and Dev-C++ and other compilers, I'm just having problems getting the sourcecode to compile under Visual C++ 2005 Express Edition.



    I need to stick to a free Ide and compiler, because I cannot afford to buy full featured ones such as Visual Studio at the moment. Besides some emulators such as PCSX2 and others are Porgrammed in Visual Studio or Visual C++, and will only compile under those Ide's/Compilers.

    I'm attaching the buildlog.html file in a .7z compressed format to my post, so someone who has experienced a similar problem and solved it, or someone who is more experienced than me in this paticular area may be able to help:

    Thank You if anyone can help me solve this problem
    Attached Files Attached Files



    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member Garstyciuks's Avatar
    Join Date
    Jan 2006
    Posts
    152
    It seems that you may have set up platform sdk incorrectly. Can you compile windows programs successfuly?

  3. #3
    EmuTalk Member
    Join Date
    Jul 2006
    Posts
    417
    I was able to compile one application fine, it was a number guessing game I modified and compiled off of Sourcecode that was posted on gamedev.net.

    Is the Platform SDK actually required to compile applications? I checked the Microsoft website and the download for the Psdk is a whopping 300 - 400 Megabytes, far too big to download being on slow dial-up.

    I have no way to have any friends download it and burn it for me, as I'm no longer in contact with any of my friends nor have I seen them in a while. I also don't have any internet cafes in my area within a reasonable distance. So basically my only two options to get the Psdk are void.

    Is there a way to significantly reduce the download size to be reasonable to download on dial-up, or is there a way to only download the components/libraries necessary for compiling applications?

    Thanks if anyone can let me know


  4. #4
    EmuTalk Member Garstyciuks's Avatar
    Join Date
    Jan 2006
    Posts
    152
    Platform SDK is required for programming windows. I believe that to compile DirectX applications you need to have it installed.

  5. #5
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    Some things have an install that downloads the required files, but the platform SDK is very big and many applications are compiled against it, unfortunaly. You need the SDK for the express editions to compile Windows apps. It is also recommended to download if you have other IDEs and compilers.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  6. #6
    EmuTalk Member
    Join Date
    Jul 2006
    Posts
    417

    Question Going to attempt to Download the PSDK, need to know a few things.

    I Guess I'll try to download the ISO of the Platform SDK. Does anyone know if the Windows Server 2003 R2 Platform SDK will work on 32-bit Windows XP?

    It does say that Windows XP is a Supported Platform, but I'm not sure if the Windows Server 2003 Psdk Supports 32-bit Windows Xp, or if supports 64-bit or if it Supports both 32-bit and 64-bit Windows XP.

    Thanks if someone could let me know


  7. #7
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    The SDK is fully backwards compatible.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  8. #8
    EmuTalk Member
    Join Date
    Jul 2006
    Posts
    417

    Exclamation Still in need of help

    Ok I am posting again because I went through the slow, grueling and painstaking process of downloading the Windows Server 2003 R2 Platform SDK ISO from the Microsoft website on my 56k Dial-Up internet.

    Now that I have Installed it, alongside the DirectX SDK and set it up By going to: Tools->Options->Projects and Solutions->Visual C++ Directories-> "Show Directories For", and setting it to use the Include and Library Directories from both the Platform SDK and the The DirectX SDK, I am afraid to say, that I am still having problems Compiling Apps and DirectX Apps.

    I thought by Downloading/Installing the PSDK my problems would be solved, but instead they still remain. I still get errors upon errors when attempting to compile official sourcecode from any opensource project.

    I desperately need to get this working properly, because I plan to attempt DirectX Coding, and delving into game development. All of that I can not do if I can't get these simple things set up in order to be able to code and compile applications successfully.

    Just in case anyone forgot or doesn't read my post above, I am using Microsoft Visual C++ and C# 2005 Express editions.

    I would appreciate every bit of help I can get, and would be very thankful if someone could help me.

    Thank You
    Last edited by Xtreme2damax; December 24th, 2006 at 16:09. Reason: Needed to add something


  9. #9
    ????????????????????????? Doomulation's Avatar
    Join Date
    Nov 2001
    Location
    ????????????????
    Posts
    8,780
    The second problem with Microsoft's compilers are that they are not very standard compliant. This means that, unfortunately, Visual Studio has some problems compiling projects and code that was developed within another IDE.
    To make sure, it would be a good idea to post some of the compile errors. And if it truly works under another IDE, then I do suggest you use those to compile the projects. Note that there is nothing wrong with using Visual Studio to create and compile applications, but beware not to use any Microsoft extensions to get it compiling under other compilers.
    Atashi wa juu-yon-sai no onna no ko! Atashi no namae wa Miizuki. Yurushiku ne!
    Nani? Atashi o shinjirimasen desu ka? Baka!
    "You're all doomed! Doomed, I say! Hehe... are we approaching the end of the world?"

    shikata ga kaite aru - "the instructions are written above"
    Need to download GoodN64 or instructions to use it? Need to check if it's a good or bad rom?
    Download: Glide64 | Hacktarux's wrapper

  10. #10
    EmuTalk Member
    Join Date
    Jul 2006
    Posts
    417
    Here Is the Buildlog in html format of the project I was trying to compile. This not only happens with this project or sourcecode, but with others as well:

    I'm also attaching the project that I'm trying to compile:

    Note that this project has a Visual C++ Project file, so I'm guessing that it should work with Visual C++ 2005 Express Edition.

    Thank you if you or anyone can help me solve this problem.
    Attached Files Attached Files


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •