AW: Building on Windows

Sean Dunn seanedunn at yahoo.com
Sat Jun 17 17:36:18 UTC 2017


Thank you Martin and Keith.
It was not straightforward, but I have built the GStreamer-1.0 package on my Windows 10 machine.
This was a really tough build to complete. I started with the instructions at https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html and then had to:
1. Reduce the Git clone path for ~/cerbero to "~/c", just so the final path wasn't too long when compiling, because it will fail later in the build (even with NTFS long paths turned on in Windows, not that I was confident that would fix it)2. Add/Remove "~/c/build/build-tools/bin/msgmerge.exe" as needed. Removing so that it wouldn't run and hang forever, and then putting it back in so that any subsequent configuration relying on gettext tools being configured wouldn't fail. I had to do this dance around 5 times to build the whole package.3. Lots of "WARNING: Could not create <library>.lib, gendef might be missing" errors, which I attribute to the cerbero/ide/vs/genlib.py script incorrectly trying every version of visual studio from 100 to 150, instead of the reverse. The old folder for version 100 would be located, but it was just a shell of that previous installation I had on my machine. IMHO, it should use the latest installed, or at least have a place to set the desired intended version. I'll be trying this soon.
* Even with the build complete, I haven't yet found a way to force the build to use the VS2015 runtime DLLs instead of the legacy msvcrt. Is this even possible? It would make integrating GStreamer into my team's current build environment much simpler, at the cost of supplying the MSVC redist.
* I'd also be interested in knowing how the binaries at https://gstreamer.freedesktop.org/data/pkg/windows/1.10.4/ are built, because I assume it's done in a much easier and straightforward way than my experience.
Thank you,Sean
-- 

   

 On Monday, June 12, 2017 8:19 AM, "Maurer, Martin" <martin2.maurer at zeiss.com> wrote:
 

 #yiv2325539205 -- filtered {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}#yiv2325539205 filtered {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv2325539205 filtered {panose-1:2 4 5 3 5 4 6 3 2 4;}#yiv2325539205 filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv2325539205 filtered {panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv2325539205 p.yiv2325539205MsoNormal, #yiv2325539205 li.yiv2325539205MsoNormal, #yiv2325539205 div.yiv2325539205MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv2325539205 a:link, #yiv2325539205 span.yiv2325539205MsoHyperlink {color:blue;text-decoration:underline;}#yiv2325539205 a:visited, #yiv2325539205 span.yiv2325539205MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv2325539205 span.yiv2325539205E-MailFormatvorlage17 {color:windowtext;}#yiv2325539205 .yiv2325539205MsoChpDefault {font-size:10.0pt;}#yiv2325539205 filtered {margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv2325539205 div.yiv2325539205WordSection1 {}#yiv2325539205 For question 3 see here    http://gstreamer-devel.966125.n4.nabble.com/Building-SDK-under-Windows-process-hangs-during-translations-td4660258.html    Hope it helps!    Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]Im Auftrag von Sean Dunn
Gesendet: Montag, 12. Juni 2017 14:55
An: gstreamer-devel at lists.freedesktop.org
Betreff: Building on Windows    Hello all, I'm new to GStreamer, and this is my first post to the dev community. I have 3 questions:    1. I'm following the instructions at https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html. Are these the most up to date?    2. In my project, some other dependencies I have necessitate building the GStreamer package and plugins myself, and using the VS2015 runtime library instead of legacy msvcrt. While I'm just trying to get it to build at all now, how could I force it to link with the 2015 runtime DLL?    3. While attempting the build, the bootstrap hangs at:    [(15/15) yasm -> configure ]    It's been there for over 7 hours now. I know this process is supposed to be slow, but msgmerge.exe has been at 8% this whole time, and I doubt it's up to anything useful. Any idea what I may be doing wrong here?    The only differences in the configuration are are that I synced 1.10.4 from git (I was using the 1.10 binaries, so I figured this is the most stable tag of that: git clone -b 1.10.4 git://anongit.freedesktop.org/gstreamer/cerbero), and I'm using WiX 3.11 (since I'm using VS 2015).    Thanks, Sean   -- _______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170617/ad0f72a6/attachment-0001.html>


More information about the gstreamer-devel mailing list