Compile problems on Mac OS X
Sun Jun 1 22:43:01 2003
Hi there! Finally, a real response. OK, pardon my ignorance, but I am not
familiar with the issues surrounding preprocessor macros. I do not see
exactly what you are asking me to do? Replace the macros with ... what?
I was thinking earlier that if there was a way I could simply reimplement
GET_PIXEL8, etc. as FUNCTONS rather than macros...
Could you clarify a bit? What exactly would forking off three versions of
On Sun, 1 Jun 2003, Ron Goldman wrote:
> Try compiling rfbproto.c with the -E switch to view just the output
> from the preprocessor. Since GET_PIXEL8, etc. are macros if you see
> them in the output file then the problem is that the preprocessor is
> not expanding them correctly for some reason.
> A very crude hack in that case is to just make 3 copies of the file
> hextile.c (hextile8.c, hextile16.c & hextile32.c) and edit them so that
> the call to GET_PIXEL is GET_PIXEL8, 16 or 32. Then edit rfbproto.c so
> the 3 includes of hextile.c use the modified files.
> Good luck.
> -- Ron --
> p.s. personally I use tightvnc and find that the Java applet turned
> into a Mac OS X app is plenty fast enough, though it does take a while
> to start up.
J e s s i c a L e a h B l a n k