On Sunday 28 July 2002 00:18, Max Berger wrote:
Hi,
I needed mencoder under win32 so I tried compiling under cygwin. I've noticed a little problem with inttypes.h: It is not available under cygwin, but a working replacement version is available in the TOOLS directory.
The configure errors are: cpuinfo fails (nonfatal) and then the check for inttypes.h fails.
The version was a current (Jul 27 2002) checkout.
Suggested workarounds:
- copy TOOLS/cygwin_inttypes.h to /usr/include/inttypes.h (that might be something for the docs) This is how it's supposed to be done, there where some cygwin docs by sycotic, but they weren't accepted for some reason (I think because it wasn't clear to decide wether it was tech or user doc, maybe we should put it to cvs anyways).
or
- turn things in configure script around. Check for hostsystem first, THEN for cpu. If hostsytem is cgywin, use TOOLS/cygwin_inttypes.h instead of inttypes.h, also for cpuinfo.c!
If you want to (and if its possible :) ), I could write a patch for the latter one.
Comments?
mfG
Max Berger
-- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________