Hi all,
since I would like to build an altered version of pix_drum (http://www.jaimeoliver.pe/archives/731) I am trying to build Gem on Windows 7. I am running Windows 7 ultimate x64, using MS Visual Studio 2010 C++ Express to try and compile.
So far I had been using Linux to develop pix_drum. I have succesfully built the object in Ubuntu 11.04 x64 (had to adjust some headers cause 11.04 does no longer come with V4L1 in the kernel) In Linux I used ./configure and make to build Gem (mostly cause I do not know how to do it using Codeblocks)
Now I want to be able to use the pix_drum object also in Windows, cause I wish to be able to test and use it on a WindowsXP pc (32 bits). However, no luck so far, and I am beginning to think it maybe more easy to install linux on the pc than to continue using windows. Is it normal for compilation on Windows to be really a lot more troublesome than in Linux? Or am I maybe just using the wrong ide/compiler for this?
So far I have tried this: - downloaded sources: Gem, Pd, tiff, jpeg, ftgl, freetype - changed some header filenames - installed quicktime sdk and windows sdk - built static libs (using both nmake and msvs2010c++) - converted win-vs2003 project from Gem source tar to vs2010c++ - changed include and linker directories - removed from the project all files with DS in their name (pix_DSvideo, DSgrabber, etc) cause they gave me errors I could not handle: 1>....\src\Pixes\DSgrabber.cpp(13): fatal error C1083: Cannot open include file: 'streams.h': No such file or directory 1>C:\Users\Menno\Documents\PD\Gem\gem-0.92-3\src\Pixes/filmDS.h(23): fatal error C1083: Cannot open include file: 'qedit.h': No such file or directory 1>....\src\Pixes\pix_movieDS.cpp(5): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory 1>c:\users\menno\documents\pd\gem\gem-0.92-3\src\pixes\pix_videoDS.h(22): fatal error C1083: Cannot open include file: 'qedit.h': No such file or directory
After removing them there remain a lot of warnings, which is fine, however I am stuck with this error: 1>LINK : fatal error LNK1104: cannot open file 'strmbasD.lib'
This all would appear to have something to do with the way DirectShow (and PlatformSDK?) is now embedded in the Windows SDK, however, I cannot find details on this explaining me how to proceed... Any help is appreciated. Or if it's best I will return to using Ubuntu and install that on the system I wish to test...
Bye, Menno.