Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
25th August 2009, 13:45 | #1 | Link |
Registered User
Join Date: Feb 2009
Location: Russia, Moscow
Posts: 29
|
building x264 under cygwin/mingw
I want to build x264 binary for win32 under cygwin. The only problem so far is that i can't achieve having multithread support: when i simply pass './configure --enable-pthread' to bash i get nothing:
Code:
Platform: X86 System: MINGW asm: yes avis input: yes mp4 output: no pthread: no debug: no gprof: no PIC: no shared: no visualize: no You can run 'make' or 'make fprofiled' now. Could anyone say what is the problem and how to compile x264 with pthread support under cygwin? |
25th August 2009, 13:52 | #2 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
You must build PThreads with "make GC-inlined" or even "make GC-static" and then put the resulting libpthread(GC2).a file (that is the library which will be linked against x264) into your "lib" directory!
Furthermore the required includes (pthread.h, semaphore.h and sched.h) must be located inside your "include" directory. The DLL isn't needed at all, if you built the static version of pthreads... (BTW: It seems most people built x264.exe with static pthread library in order to avoid the dependency on an "external" DLL file)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 25th August 2009 at 14:31. Reason: typo |
|
|