On Fri, Jan 10, 2014 at 9:53 PM, Shiyuan <[email protected]> wrote:

>    I am on OS 10.9 Mavericks. I install gcc48 from macport. However, I got
> the follow error when I compile HelloWorld. What might go wrong? Thanks.
>

wchar.h is part of the Xcode command line tools package. If you got gcc48
from a prebuilt package instead of locally built, you may never have gotten
the Xcode 5 command line tools (which may be auto-installed the first time
something invokes `clang`) and may be missing system include files.

`xcode-select --install` should force installation of the command line
tools.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to