|
|
help with ffdshow compile from cvs src
Interested in building ffdshow from source. Used sourceforge
to access the cvs sources. I looked at the the documentation
on the wiki site and in the cvstree.
The first problem I am having is that there are no make files
for vc++6
Anyone out there who can help with the compile?
Open ffdshow_all.dsw file in VisualStudio 6, it contains almost complete ffdshow workspace. I'm not creating makefiles but they can be easily exported from VisualStudio.
But be aware Microsoft C++ Compiler in Visual Studio 6 can no longer be used to compile ffdshow. It had too many limitations and currently only newer Microsoft's C++ Cmpiler in VS.NET and Intel C++ Compiler are supported. And when GCC 4.0 will be releases it will be supported too.
Thanks for the reply about visual studio. I dont really know
the product or how it works. I gave up with visual c++ 6.0
due to no makefiles.
I started compiling various modules with MinGW and was able
to run make on a few of them. I am holding off on the direct
show part until I can locate all the files that have to be
copied to baseclasses. I think everything is ready to go
as had to compile strmbase.lib for virtualdub ( I think)
Sounds like I will have to pass on ffdshow for now.
I gave up with visual c++ 6.0 due to no makefiles.
the .DSW (workspace) does the same job so i dont know why you are bitching about quot;no makefilesquot; for visual c++ 6. you simply load the .DSW in visual studio and there you are.
This seems to be the current doc for compiling ffdshow
tikiw...e=From+sources
I tried to open ffdshow/ffdshow.dsw from the cvs sources and
vc++6.0 loads the file. But it seems that there is a problem
as I cannot set active config or build as everything is grayed
out. I am guessing that vc++6.0 cannot handle the files from
the compiler version used by the main developer. OK this may
not be for me as I cant afford to upgrade vc++6.0. However
if I am reading the next note wrong and am making some sort
of procedural mistake I would be glad to be corrected and
informed. tikiw...w_articles.php
Dropped Visual Studio 6 support
By: Milan Cutka on: Tue 22 of Feb, 2005 [08:36 UTC] (35 reads)
Well, not completely, only Microsoft C++ Compiler included with Visual Studio 6 can't be used to build ffdshow anoymore.
(569 bytes) Print
For a long time, especially since I started to use C++ feature called templates more for simplifying developement of audio filters which should work for more sample formats, I had to work around many limitations and standard incompatibilities found in older Microsoft compilers. Recently I decided to not do this anymore (honestly, I was lazy) and support only these compilers: Microsoft C++ Compiler distributed with Visual Studio .NET, Intel C++ Compiler (using version 8.1, older versions may work too) and GCC (read next article about details of GCC support).
You should be able to open ffdshow.dsw in VC6 without problems. On issue may be the line endings, because some CVS clients use Unix-like endings (0x0a) and VC6 requires DOS-stype (0x0d, 0x0a). There are numerous utilities to conver line endings, try some of them on all dsp and dsw files in ffdshow sources.
I feel sorry for dropping VC6 support, but as I wrote in the article, it had too many limitations. But there are few free alternatives such as Visual Studio 2005 Express Beta. It can be downloaded for free, it is usable and can compile ffdshow.
Thanks very much for the last post. I used cygwin to download the cvs sources for ffdshow and didnt realize there might be a problem with file formats. Likewise for vc++6 requiring dos line endings.
I may look into a win32 cvs client, after I investigate cygwin a bit further.
Will try to convert some dsw files with unix2dos and post a followup.
I was able to compile a source file or two using mingw with msys where the line endings were compatible.
Sorry for this very dumb error, really havent used cvs on windows up till now so there has been a learning curve. Seems ffdshow is going to be quite the learning tool for me. |
|