User forums > Help
C::B + Platform SDK Setup
jazz:
I've done a fair amount of searching on this but there is nothing that has helped me get this working so far. :(
I have been building a DirectX app using C::B and MinGW without any problems to this point, but now I want to use DirectShow which is part of the Micro$oft Platform SDK. I have downloaded the PSDK and tried to use it with MinGW but to no avail. My first question is: is it actually possible to use MinGW with the PSDK at all?
In further attempts to build my project with DirectShow support, I went about trying to install the Visual C++ Toolkit 2003 (as per the wiki) only to find out that it is no longer available and instead has been replaced with Visual C++ 2005 Express Edition. So i downloaded this and tried to get it to work but then I can't compile anything at all.
I guess my ultimate question is, what do I need in order to use Code::Blocks with the Platform SDK so I can use the DirectShow interfaces from my project? If I'm aware of what compiler/tools work then I should be able to muddle through getting it all to work.
Thanks.
wxLearner:
You can download the VC++ Toolkit 2003 here, but it should work with VC8 too. The integration of the VC++ Toolkit 2003 is described here.
jazz:
Thanks. I'll give that a shot. :)
Vampyre_Dark:
The PSDK and DX are in .lib format, and are made for The VS compiler. Download VSC++ Express 2005 and use it through there. VS 2003 Express is outdated, and no longer offered anymore. It's been replaced with VS 2005 Express, which comes with it's own IDE (but you can use it in C::B all the same, like I do).
Other than that, you just need to point C::B to the include and lib folders of the PSDK and DX SDK. this takes 2 seconds in the compilers and debuggers section of the options.
jazz:
Well for starters, I could compile and link against the DirectX SDK with no problems. Why would the PSDK be any different? Secondly, it fails to compile long before it gets to linking (obviously).
I thought I had tried getting C::B to work with Visual C++ 2005 Express and it didn't work, but if you have it working then obviously I didn't try hard enough. I'll give it another shot too, but do you happen to know of any resources that could help me get it working?
I really wish I didn't have all these compiler setup issue. I just want to write code dammit! :(
Navigation
[0] Message Index
[#] Next page
Go to full version