Re: libdvdread-0.9.4 and OSX

H}kan Hjort <[email protected]> Sun, 22 Jun 2003 17:53:04 +0200
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Thu Jun 12 2003, Robos wrote:
> Hi List.
> I#m new to this list but looked through the archive and didn't find my
> question:
> I am the author of vobcopy which uses libdvdread. I want to port it to Mac
> OSX since I saw that it is already in fink but I wanted a native port.
> Soo, I installed libdvdcss and then link libdvdread statically to css.
> When I then try to build my program this error occurs:
> 
[snip]
> cpp-precomp: warning: errors during smart preprocessing, retrying in basic
> mode
> make: *** [vobcopy.o] Error 1
> 
> To be honest, I'm not much of a programmer so I don't know whats wrong.
> I can't do much testing since the machine is of a friend of mine and I only
> get it sometimes.
> If somebody knows how to fix this I'll be thankful.

Looks like it fails because of the Apple precompiled heares stuff...
This is what we have in our configure file:

case x"$host_os" in
  xdarwin*)
    CFLAGS="${CFLAGS} -no-cpp-precomp"
    AC_DEFINE(__DARWIN__, 1, Have a Mac OS X system)
    ;;
  x*)
    ;;
esac

So that precompiled header support is turned off.
I don't know enough about MacOSX otherwise to be of much help.

-- 
HÃ¥kan Hjort