From: Andre Heynatz <vetasana@gm...> - 2003-10-12 21:47:54
I want to know if it is possible to develop DirectShow applications
using the g++ compiler. I installed the DirectX 8.1 SDK and used reimp
from mingw-tools to convert MSC import libs:
=> <dx>.a is created
It works with the following libs:
d3d8, ddraw, dplayx, dsetup, dsound, dxtrans, ksproxy, msdmo, quartz
dinput/dinput8: A gcc import lib (*.a) was created, and *.obj files as
well. I added the static parts to the gcc lib:
ar rcs libdinput.a *.obj
and the next one...
Unfortunately, after calling reimp on some libs, it creats files with
digit file names (i.e. 1,10,20,...) in the current directory. The libs
which do not work are:
The last four libs are needed for DirectShow applications, I have
learned. Further, DirectShow libs are C++ libs compared the the other
DirectX libs which are C libs. I wonder if it is possible to convert any
Microsoft lib to make it usable for gcc (name mangling is different,
but can be converted? Is it known?).
The SourceForge project ffdshow provides only MSVC6 and MSVC.NET project
files for the DirectShow part, and uses gcc for the other parts, but
there must be a way to use another (free) compiler!
Hopefully someone can put some light on it.