Home Download Buy Blog Forum Support

SublimeClang, Xcode 5

SublimeClang, Xcode 5

Postby home3d2001 on Sat Dec 21, 2013 8:32 pm

Hi There,

I am trying to get the SublimeClang plugin working with Sublime Text2, however after setting up SublimeClang.sublime-settings I keep getting some errors.

Additional Info:
-OS X 10.8.5 (12F45)
-Xcode Version 5.0.2 (5A3005)

My SublimeClang.sublime-settings:

Code: Select all
{
    "options":
    [
        "-Wall",
        "-I/System/Library/Frameworks",
        "-I/Library/Frameworks",
        "-I/usr/include",
        "-I/usr/lib/clang/5.0/include",
        "-I/Applications/Xcode5/Xcode.app/Contents/Developer/usr/lib/llvm-gcc/4.2.1/include/",
        "-isysroot",
        "/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk",
        "/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk",
        "-F/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks",
        "-D__IPHONE_OS_VERSION_MIN_REQUIRED=50100"
    ],
    "additional_language_options":
    {
        "c++" :[
        "-std=c++11"
        ],
        "c": [],
        "objc": [],
        "objc++": []
    }
}


Here are the errors:

Code: Select all
:0,0 - Warning - /Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk: 'linker' input unused when '-fsyntax-only' is present
:0,0 - Fatal - too many errors emitted, stopping now [Disable with -ferror-limit=0]
:0,0 - Fatal - too many errors emitted, stopping now [Disable with -ferror-limit=0]
/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:791,32 - Error - expected ';' after top level declarator
/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:998,59 - Error - expected ';' after top level declarator
/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:1002,57 - Error - expected ';' after top level declarator
/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h:283,99 - Error - expected function body after function declarator
/Applications/Xcode5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h:150,35 - Error - expected function body after function declarator
:0,0 - Fatal - too many errors emitted, stopping now [Disable with -ferror-limit=0]


I really appreciate it if someone could help me out.

Cheers,
-h
home3d2001
 
Posts: 3
Joined: Sat Dec 21, 2013 8:07 pm

Re: SublimeClang, Xcode 5

Postby home3d2001 on Tue Dec 24, 2013 4:03 am

Any one? :(
home3d2001
 
Posts: 3
Joined: Sat Dec 21, 2013 8:07 pm

Re: SublimeClang, Xcode 5

Postby snark on Fri Dec 27, 2013 12:36 am

I was having similar problems in ST2 on Linux but they went away when I switched to using ST3. I had solved it in a previous Linux install with ST2 by updating clang and python but I can't remember the details... I may have had to rebuild the clang plugin? Anyway, maybe migrating to ST3 will resolve the issue for you too. Good luck, merry Christmas, happy new year.
snark
 
Posts: 5
Joined: Fri Dec 27, 2013 12:31 am

Re: SublimeClang, Xcode 5

Postby home3d2001 on Sat Dec 28, 2013 8:44 am

Thank you Snark. I will give it a try.

Merry Christmas,

-H
home3d2001
 
Posts: 3
Joined: Sat Dec 21, 2013 8:07 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 40 guests