Code: Select all
../libhb/ports.c: In function 'hb_thread_to_integer':
../libhb/ports.c:274: error: request for member 'p' in something not a structure or union
make: *** [libhb/ports.o] Error 1
time end: Mon Jun 29 11:14:11 2009
duration: 13 minutes, 44 seconds (824.06s)
result: FAILURE (code 2)
The code it is referencing uses preprocessors to check the OS the code is running on, which means that an attempt to compile with this revision on any system other than Windows would succeed, or at least not fail due to this file. This is confirmed in this IRC log in #handbrake-dev, on a line around [05:49], where KonaB1lend says that it builds cleanly on Linux.
Taking out the ".p" from the end of line 274 allows a successful compilation on Windows. I've tested this on both Windows by taking out the ".p," and by adding it onto line 278 and attempting to compile on a Linux VM, where it failed compilation as well with the same error. The resulting CLI from this SVN after the code is taken out can create fully working encodes, and I've encoded two videos using this SVN.
If anyone could confirm my findings, that would be great.
Thanks, darkassassin.