PDA

View Full Version : Error compiling Nics Decoder with VS.net and ICC7


Ewi
15th February 2003, 14:21
I have Nic's sources here for the D-Show Decoder only (that belongs to the 6-2-03 build, i think; at least the actual one from his site). By the way you have to correct the link, Nic; there's a '\' where a '/' should be.

I have problems compiling it (VS.NET with ICC7). When compiling as 'Release' I have errors that he did not found 'streams.h':

src\CAbout.h(4): catastrophic error: could not open source file "streams.h"
and in:
src\CXvidDecoder.cpp(15): catastrophic error: could not open source file "streams.h"

When I compile as 'Debug' I get a lots of warnings like this:

src\PostProcess.cpp(443): (col. 4)warning #997: function uses MMX(TM) instructions, but contains no EMMS instruction


By the way, are there any recommended compiler options that should be used resp not used.

Thank you in advance...

Nic
15th February 2003, 19:16
??? Well thanks for the link correction, ill fix that.
Are you able to compile it then? Mmmm, maybe ive taken out that last __asm emms; in the latest release so maybe ill add another to force the issue.

streams.h is the main header of Directshow API, you need either direct x 8/8.1 api to compile (you may have difficulties compiling with 9)

-Nic

Ewi
15th February 2003, 19:47
Thats the thing. Since v9 I have some strange things here. I will try to look into it. Something is messed up here....

But thank you very much...

Nic
16th February 2003, 22:23
@Ewi:
Let me know how you get on with DXSDK9, I havent looked at it yet, but I'd heard of the problem in the xvid.org forums.

Now the reason im an idiot is because I just added the line:
__asm emms;
after the image_output and guess what? No more black & white, and no more seek problems....Doh! :) I used to have one in there but I took it out. Expect a new build tomorrow (im off to add a force colorspace option) :)

Cheers,
-Nic

gabest
16th February 2003, 22:51
Great, does this mean I won't get anymore bug reports on dvobsub's subtitle timing problems? :D

Ewi
17th February 2003, 00:14
DXSDK9 is VERY strange... I have an experimental MPEG2 Dshow filter here and I can't compile it with DX9!? No code change at all, but warnings and errors over and over... At the moment I have to give up cause there's a lack of time due to exams.

Nic
17th February 2003, 15:50
New build up with the new DShow one my site :) :)

http://nic.dnsalias.com

-Nic