Announcement

Collapse
No announcement yet.

QUESTION: SDL or DirectX?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QUESTION: SDL or DirectX?

    I notice that SDL has been added to the source project.

    Which is the preferred version? SDL or DirectX?

    I'm having some issues with DX9 under VC6, which is why I'm asking this, but I have no experience with SDL. I'm currently trying to build under VC2005. Any advice regarding that?

    Pyaray

  • #2
    I use MSVC++ 6.0 and use directX.

    I'm not sure what Fromafar uses (I think he uses 2005 bt not sure about SDL)

    Not sure what Martin uses. Hopefully they will popup soon.

    I emailed them for help.
    Last edited by Ekmek; May 8, 2007, 17:51.
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

    Comment


    • #3
      Originally posted by E
      I use MSVC++ 6.0 and use directX.
      How did you resolve the dxguid.lib conflicts while in debug mode?

      Or are you using DX7?

      Pyaray

      Comment


      • #4
        I think I'm using DX9
        Formerly known as "E" on Apolyton

        See me at Civfanatics.com

        Comment


        • #5
          Originally posted by Pyaray
          Or are you using DX7?
          No, we don't use DX7 anymore, we are using DX9, and I think it is DX9b if I remember correctly.

          Originally posted by Pyaray
          How did you resolve the dxguid.lib conflicts while in debug mode?
          Which conflict? The source code simply compiles and links on my computer. (With MSVC6)

          What are your include directories and lib directories?

          For DX9 you need those include paths:

          C:\DXSDK\Include
          C:\DXSDK\Samples\C++\DirectShow\BaseClasses

          and those lib directories:

          C:\DXSDK\Lib
          C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Debug_ Unicode

          Note that those directories should be placed at the top. At least that it is how I did it.

          -Martin
          Civ2 military advisor: "No complaints, Sir!"

          Comment


          • #6
            All Windows versions are still using DirectX. SDL has been added to get it to work for Linux, but I don't think it has been implemented fully at the trunk.

            FWIW, I am using Visual Studio 2005, with some version of DirectX 9c and the Platform SDK (for the DirectShow base classes), probably from around December 2005.

            I remember having to do some manual modifications, and the automatic MSVC6 to 2005 conversion causing some problems as well. I'll try to dig up my notes for that, and could also commit/upload the MSVS 2005 project files I am using at the moment - if anyone is interested.

            If you want to work with MSVC6, you would have to use something like the October 2004 version (or even earlier). Microsoft has removed the MSVC6 support in more recent versions.

            Comment

            Working...
            X