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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/14/2011 09:37 PM, Menno van der Woude wrote:
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.
btw, the original version of [pix_drum] is included in Gem-SVN (but there are not binaries yet)
I am running Windows 7 ultimate x64, using MS Visual Studio 2010 C++ Express to try and compile.
good luck.
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)
this is fixed in Gem-trunk and the Gem/branch/0.92 (SVN), though it hasn't made it into a release yet.
In Linux I used ./configure and make to build Gem
which is the standard way to build Gem
(mostly cause I do not know how to do it using Codeblocks)
which i do neither.
Is it normal for compilation on Windows to be really a lot more troublesome than in Linux?
yes.
Or am I maybe just using the wrong ide/compiler for this?
well i'm still using vs2003 to compile Gem (once i do). the setup to get it running on w32 process is so painful that i'm very hesitant to change anything.
So far I have tried this:
- downloaded sources: Gem, Pd, tiff, jpeg, ftgl, freetype
tiff/jpeg/ftgl/freetype should come in the GemLibs package (iirc)
- 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
i think it would have been enought to change the HAVE_DIRECTSHOW define in Base/configWindows.h (or the project settings)
(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
obviously you are missing some header files of the DirectX-SDK (whereever that is included)
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
you need to have "all of them" installed and i keep NOT tracking how microsoft is changing their SDK packaging all over every year, so i don't know how many GB of SDKs you need to download in 2011.
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...
this depends on what you want. being a linux guy, i would say it's definitely "best" to use linux, regardless of Gem or whatelse. being a linux developer, i can only say that for me it is definitely way more easy to setup a debian box from scratch than to get the w32 compilation running :-)
fgmadr IOhannes
Le 14/07/2011 21:37, Menno van der Woude a écrit :
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...
using remastersys with ubuntu, you can make a live cd/dvd of your system, to test on other computer easily...
cheers cyrille
Bye, Menno.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev