Building current in cygwin fails

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
UberDuper
Posts: 11
Joined: Thu Apr 05, 2007 10:17 pm

Building current in cygwin fails

Post by UberDuper »

I'm working on capturing all the build output to upload somewhere.

Has anyone had success recently? Are there any steps not listed in the BUILD doc I should be doing?

Thanks,
UD.
UberDuper
Posts: 11
Joined: Thu Apr 05, 2007 10:17 pm

Post by UberDuper »

cygwin was missing patchutils. :(
It's building now. Will update when complete.

BAH! nasm missing too. I misread the build doc. Thought it was only required on OSX.

UD.
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Post by s55 »

Errm, I really hate to tell ya this, but the stock cygwin GCC compiler casues stack misalignments which causes all kinds of issues.

You'll need to upgrade to gcc 4.1.2 to avoid them. The problem with this is libdvdread doesnt compiled. (I havn't got around to writing a patch for this yet.)

What i'd therefor recommend you do is you build using the following command:

Using the latest source,

Type: make HandbrakeCLI

That'll download pre-compiled libaries then compile handbrake with those. Should work better and its faster too.
UberDuper
Posts: 11
Joined: Thu Apr 05, 2007 10:17 pm

Post by UberDuper »

Ah. I did get a working HandBrakeCLI.exe tho.

If it gives me troubles, I'll use your suggestion before I come complaining here again. :)

UD.
Post Reply