Building SDL1.2.8 in Cygwin ... DX9 hearders issue?

Hi,

I am new to the list and would like to ask a quick question.

I am building SDL 1.2.8 with GCC 3.4.1 in Cygwin. I read the page at
http://www.libsdl.org/extras/win32/cygwin/README.txt regarding the
instructions for DirectX and OpenGL support, but here is the issue.

The directx-devel.tar.gz file that is linked above contains files which seem
to be much older than what I have installed by default. I have DirectX9
headers and libraries already (d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h, libd3d8.a, libd3d9.a, libd3dim.a, libd3drm.a, libd3dx8d.a,
libd3dx9d.a, libd3dxof.a, libddraw.a, libdsound.a, libdxapi.a, libdxerr8.a,
libdxerr9.a, libdxguid.a, etc.)

Same goes for the OpenGL file at
http://www.libsdl.org/extras/win32/cygwin/opengl-devel.tar.gz...I have newer
ones than what is there.

My problem is when running ./configure for SDL, I get this: “checking for
DirectX headers and libraries…no”

It compiles fine, but I am not sure why this is. They seem to be in the
right place with the default Cygwin/GCC 3.4.1 install… Does SDL configure
not recognize these DX9 headers and libs, or I am I overlooking something
obvious?

Thanks for any help you can provide._________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Have you gone into the config.log and looked up why the test is
failing? I know with my Mingw install, it kept failing at first because
of a redefinition error, when I removed the repeated definitions it
worked fine.

Dunno if that is the same problem though.

  • brian

Charles Darvy wrote:> Hi,

I am new to the list and would like to ask a quick question.

I am building SDL 1.2.8 with GCC 3.4.1 in Cygwin. I read the page at
http://www.libsdl.org/extras/win32/cygwin/README.txt regarding the
instructions for DirectX and OpenGL support, but here is the issue.

The directx-devel.tar.gz file that is linked above contains files
which seem to be much older than what I have installed by default. I
have DirectX9 headers and libraries already (d3d9.h, d3d9caps.h,
d3d9types.h, dxerr8.h, dxerr9.h, libd3d8.a, libd3d9.a, libd3dim.a,
libd3drm.a, libd3dx8d.a, libd3dx9d.a, libd3dxof.a, libddraw.a,
libdsound.a, libdxapi.a, libdxerr8.a, libdxerr9.a, libdxguid.a, etc.)

Same goes for the OpenGL file at
http://www.libsdl.org/extras/win32/cygwin/opengl-devel.tar.gz...I have
newer ones than what is there.

My problem is when running ./configure for SDL, I get this: “checking
for DirectX headers and libraries…no”

It compiles fine, but I am not sure why this is. They seem to be in
the right place with the default Cygwin/GCC 3.4.1 install… Does SDL
configure not recognize these DX9 headers and libs, or I am I
overlooking something obvious?

Thanks for any help you can provide.


Express yourself instantly with MSN Messenger! Download today - it’s
FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl