[ncl-install] wchar_t problem when compiling NCAR graphics

Mary Haley haley at ucar.edu
Thu Dec 11 02:02:37 MST 2008


Jason,

Please see #3 in our troubleshooting guide:

http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting

--Mary


On Tue, 9 Dec 2008, Sippel, Jason Allen wrote:

> I'm trying to install NCAR Graphics on my Intel Mac (Core 2 duo) with OS X 10.5.
>
> I'm running into an error in the declaration for wchar_t:
>
> /usr/X11R6/include/X11/Xlib.h:81: error: conflicting types for 'wchar_t'
> /usr/include/stdlib.h:93: error: previous declaration of 'wchar_t' was here
>
> and a similar error:
>
> /usr/X11R6/include/X11/Xlib.h:81: error: conflicting types for 'wchar_t'
> /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h:326: error: previous declaration of 'wchar_t' was here
>
> This error pops up quite frequently, and I'm wondering if anyone knows anything about it.  I'm trying to compile with g95.
>
> Thanks,
>
> Jason Sippel
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>


More information about the ncl-install mailing list