SDL 1.3 MinGW build - missing "msctf.h"

I’m trying to build the latest SDL 1.3 code on MinGW, and it seems that the changes that were added as part of changeset 4763 (518d1679d2d0) have added the include “msctf.h” into SDL_win32video.h - When building in MinGW, I now get an error saying that this header is not present. What is it part of?

Is there a current “recommended” revision number in the repository that people would suggest using, that isn’t the latest version?

No, that would be counterproductive. “[r]ecommended revisions”? It is
preferable to read about and fix a new bug.

Programmers don’t want to experience the same grief time travelers do.On Thu, Sep 9, 2010 at 10:00 AM, thatbloke <mark.p.tucker at hotmail.co.uk> wrote:

Is there a current “recommended” revision number in the repository that
people would suggest using, that isn’t the latest version?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Ok, so… got any insight as to what this header is part of?

Jeremiah wrote:> No, that would be counterproductive. “[r]ecommended revisions”? It is

preferable to read about and fix a new bug.

Programmers don’t want to experience the same grief time travelers do.

On Thu, Sep 9, 2010 at 10:00 AM, thatbloke <@thatbloke> wrote:

Is there a current “recommended” revision number in the repository that
people would suggest using, that isn’t the latest version?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

The “ms” in the file name should give you a hint. Have you installed all
the pertinent SDKs (I personally don’t know which are needed)? Have you
Googled at all?

Jonny DOn Thu, Sep 9, 2010 at 11:20 AM, thatbloke <mark.p.tucker at hotmail.co.uk>wrote:

Ok, so… got any insight as to what this header is part of?

Jeremiah wrote:

No, that would be counterproductive. “[r]ecommended revisions”? It is
preferable to read about and fix a new bug.

Programmers don’t want to experience the same grief time travelers do.

On Thu, Sep 9, 2010 at 10:00 AM, thatbloke <> wrote:

Quote:

Is there a current “recommended” revision number in the repository that
people would suggest using, that isn’t the latest version?


SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

On my machine, “msctf.h” is located in C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\Include
Its part of the platform SDK.On Thu, Sep 9, 2010 at 11:20 AM, thatbloke <mark.p.tucker at hotmail.co.uk>wrote:

Ok, so… got any insight as to what this header is part of?

Jeremiah wrote:

No, that would be counterproductive. “[r]ecommended revisions”? It is
preferable to read about and fix a new bug.

Programmers don’t want to experience the same grief time travelers do.

On Thu, Sep 9, 2010 at 10:00 AM, thatbloke <> wrote:

Quote:

Is there a current “recommended” revision number in the repository that
people would suggest using, that isn’t the latest version?


SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I realise that the “MS” is probably a clue - it seems that it is indeed part of the platform SDK - but that then leads me to wonder if it’s an issue with MinGW, or if there is now an incompatibility with regard to building SDL on the MinGW platform. I would not expect that the Microsoft Platform SDK will work in conjunction with the MinGW compiler.

In addition, I have the tarball on the “Get SDL” page, but from what I can tell there is potentially some issue with fullscreen mode that was fixed in a later version (which is precisely what I need, plus I need the ability to display stuff on a second display).

Why?
MinGW works fine with Microsoft .lib files. How else would it
function, if not by using the ms libraries?On Mon, Sep 13, 2010 at 4:35 AM, thatbloke <mark.p.tucker at hotmail.co.uk> wrote:

I would not expect that the Microsoft Platform SDK will
work in conjunction with the MinGW compiler.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Jeremiah wrote:

Why?
MinGW works fine with Microsoft .lib files. How else would it
function, if not by using the ms libraries?

This is how it would function (and usually does function for the core API):
http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.15/w32api-3.15-1-mingw32-src.tar.lzma/download

which is not released by Microsoft.
The mingw linker handles most MSVC produced lib files ok (for a "long"
while now), but this wasn’t always the case. Basic support for C++
libraries was even more recent, IIRC.

Well ofcourse mingw source code isn’t released by Microsoft, :).

MingW doesn’t “need” windows from a technical standpoint . But without
it, it would have no purpose. I misspoke when I said function.
Function should be replaced with a different word.
But at least the OP gets the overall message.
Yes, SDL has dependencies.
Yes, they all can work through mingw.On Thu, Sep 16, 2010 at 1:51 PM, John K. Luebs wrote:

Jeremiah wrote:

Why?
MinGW works fine with Microsoft .lib files. How else would it
function, if not by using the ms libraries?

This is how it would function (and usually does function for the core API):
http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.15/w32api-3.15-1-mingw32-src.tar.lzma/download

which is not released by Microsoft.
The mingw linker handles most MSVC produced lib files ok (for a “long” while
now), but this wasn’t always the case. Basic support for C++ libraries was
even more recent, IIRC.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Jeremiah wrote:

Well ofcourse mingw source code isn’t released by Microsoft, :).

But this was not about source code for mingw, and that is not what I
linked to. I linked to an independent (non-MS) SDK header/library
package that has been used as part of mingw for years.

MingW doesn’t “need” windows from a technical standpoint . But without
it, it would have no purpose. I misspoke when I said function.
Function should be replaced with a different word.
But at least the OP gets the overall message.

The poster mentioned about not expecting the Platform SDK to not work
with mingw. As it turns out, for a long while, mingw would certainly not
work with most of the Platform SDK for a number of reasons.

There was a time when GNU binutils would not work with MS style lib
library files at all.

And even now, many existing Windows applications can be built just fine
without the Platform SDK, because many parts of it exist in no MS
implementations.

I’m not talking about runtime environment, but rather build environment.
These days, most Windows applications I need to build, I build just fine
in a cross-compilation environment on Linux and do not use any MS
Platform SDK/MS lib files or MS distributed stuff (as far as I know),
and that’s all I was commenting on.>

On Thu, Sep 16, 2010 at 1:51 PM, John K. Luebs <@John_K_Luebs> wrote:

Jeremiah wrote:

Why?
MinGW works fine with Microsoft .lib files. How else would it
function, if not by using the ms libraries?
This is how it would function (and usually does function for the core API):
http://sourceforge.net/projects/mingw/files/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.15/w32api-3.15-1-mingw32-src.tar.lzma/download

which is not released by Microsoft.
The mingw linker handles most MSVC produced lib files ok (for a “long” while
now), but this wasn’t always the case. Basic support for C++ libraries was
even more recent, IIRC.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

This is for the IME support in SDL 1.3. Daniel, do you know how this
would be compiled on MinGW?On Thu, Sep 9, 2010 at 7:00 AM, thatbloke <mark.p.tucker at hotmail.co.uk> wrote:

I’m trying to build the latest SDL 1.3 code on MinGW, and it seems that the
changes that were added as part of changeset 4763 (518d1679d2d0) have added
the include “msctf.h” into SDL_win32video.h - When building in MinGW, I now
get an error saying that this header is not present. What is it part of?

Is there a current “recommended” revision number in the repository that
people would suggest using, that isn’t the latest version?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

A workaround is in place now.
Everything should be fine.

I also added a bug report to the MinGW tracker for the missing headers and CLSIDs/IIDs.

Thanks Daniel! :)On Sun, Sep 19, 2010 at 9:03 PM, dewyatt <Daniel.Wyatt at gmail.com> wrote:

A workaround is in place now.
Everything should be fine.

I also added a bug report to the MinGW tracker for the missing headers and
CLSIDs/IIDs.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Hi guys, Thanks for the work you have put in on this, thought I would let you know that the latest SDL code in Mercurial just compiled flawlessly on my MinGW environment. (32-bit, using Vista).

Thanks!

Great! :)On Wed, Sep 22, 2010 at 6:02 AM, thatbloke <mark.p.tucker at hotmail.co.uk> wrote:

Hi guys, Thanks for the work you have put in on this, thought I would let
you know that the latest SDL code in Mercurial just compiled flawlessly on
my MinGW environment. (32-bit, using Vista).

Thanks!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC

I’m afraid I am running into this same problem with compiling SDL 1.3 under Windows 7 with VC2005.

I have the latest .net SDK installed, DirectX SDK (June 2010). Am I missing one?

Yes - the Platform SDK.
http://msdn.microsoft.com/en-us/windows/bb980924.aspxOn 12/16/10 1:37 AM, ebyard wrote:

I’m afraid I am running into this same problem with compiling SDL 1.3
under Windows 7 with VC2005.

I have the latest .net SDK installed, DirectX SDK (June 2010). Am I
missing one?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org