[x264-devel] Re: problem with --enable-mp4-output

David Grantham dwgranth at gmail.com
Fri Jul 7 17:03:30 CEST 2006


Nevermind, I fixed the issue.  Now, as to why NULL was called as the 3rd 
parameter in function call gf_isom_open in muxers.c.. well I don't know, 
but I checked isomedia.h and it only had two parameters for the 
function... file to open and open mode.

But now I am getting a brand new error...

gcc -o x264 x264.o matroska.o muxers.o libx264.a -lm -lpthread 
-lgpac_static -s
/usr/bin/ld: cannot find -lgpac_static
collect2: ld returned 1 exit status
make: *** [x264] Error 1

David Grantham wrote:
> Ok, that didn't work.  But.. now I have a different error :).
>
> gcc -Wall -I. -O4 -ffast-math -D__X264__ -DHAVE_MALLOC_H -DHAVE_MMXEXT 
> -DHAVE_SSE2 -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s 
> -fomit-frame-pointer   -c -o muxers.o muxers.c
> muxers.c: In function âopen_file_mp4â:
> muxers.c:650: error: too many arguments to function âgf_isom_openâ
> make: *** [muxers.o] Error 1
>
> Alec Robertson wrote:
>> Hi,
>>
>>  
>>>> I am having trouble compiling x264 only after enabling mp4 output.  I
>>>> have installed gpac as was suggested on the web.  Here is the error
>>>> output I get (with a little reference output above):
>>>>       
>>> What happens if you put a folder named "gpac" containing the 
>>> "isomedia.h"
>>> file from the gpac package in your x264 source directory before you 
>>> compile?
>>>     
>>
>> You need to do a "make install-lib" and a "make install" to get the
>> gpac headers and libraries in the right place. Then x264 should 
>> compile fine.
>>
>> Alec
>>
>>   
>

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list