LOL, it really shouldn't be that hard.Every man built c++ filters is a hero for me.
Well, I was able to build the filters (and MediaPortal) till Release_1.7.0. But as of Release_1.7.1_HotFix / Release_1.8.0 this doesn't work for me, too.LOL, it really shouldn't be that hard.
What version of VS are you using?
What version of Windows are you building on?
What SDKs have you installed?
What env vars have you setup?
[uuid("XXX-XXX-XXX-XXX-XXX")]
interface foo ...
interface __declspec(uuid("XXX-XXX-XXX-XXX-XXX"))
foo ...
[uuid("XXX-XXX-XXX-XXX-XXX")]
class foo ...
class __declspec(uuid("XXX-XXX-XXX-XXX-XXX"))
foo ...
No, following error multiple times:Can you build the filters in VS?
..\mediaportal-1-release_1.8.0\directshowfilters\dvbsubtitle3\source\hdmv\ISubPic.h(49): fatal error C1001: Interner Compilerfehler.
(Compilerdatei "msc1.cpp", Zeile 1420)
..\mediaportal-1-release_1.8.0\directshowfilters\mpaudiorenderer\source\MpAudioRenderer.h(55): fatal error C1001: Interner Compilerfehler.
(Compilerdatei "msc1.cpp", Zeile 1420)
..\mediaportal-1-release_1.8.0\directshowfilters\mpaudioswitcher\source\StreamSwitcher.h(116): fatal error C1001: Interner Compilerfehler.
(Compilerdatei "msc1.cpp", Zeile 1420)
I think so, too:Since the "[uuid(...)]" syntax is a language feature (C++ attribute) the problem is related to the compiler - a patch, configuration, actual compiler being used.
MSDN said:When used in a project that does not also use ATL, specifying the uuid attribute is the same as specifying the uuid __declspec modifier.
It's really curious, because I can build 1.7.0, which IMHO is using the same code?I say with 90% confidence that the code has nothing to do with the problem...
No.Have you got any other versions of VS installed?
Sure:Can you copy+paste the MP_DVB_Subtitle_3 project->configuration properties->c/c++->command line string?
/I"..\MediaPortal-1-Release_1.8.0\DirectShowFilters\baseclasses" /I"C:\Program Files\Microsoft SDKs\Windows\v7.1\Include" /I"C:\Program Files\Microsoft DirectX SDK (June 2010)\Include" /Zi /nologo /W3 /WX- /MP /O2 /Ob2 /Ot /Oy- /D "_CRT_SECURE_NO_WARNINGS" /D "NDEBUG" /D "_WIN32" /D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /GF- /Gm- /EHsc /MD /GS /Gy- /fp:precise /Zc:wchar_t /Zc:forScope /Fp".\obj\Release/DVBSub.pch" /Fa".\obj\Release/" /Fo".\obj\Release/" /Fd".\bin\Release/" /Gd /analyze- /errorReport:queue
Error 8 error LNK1123: failure during conversion to COFF: file invalid or corrupt C:\Users\admin\Documents\Visual Studio 2012\Projects\MediaPortal\DirectShowFilters\DirectShowHelper\LINK DirectShowHelper (Visual Studio 2010)