Home Download Buy Blog Forum Support

Install Sublimeclang on ST3 (windows)

Install Sublimeclang on ST3 (windows)

Postby leo on Thu Aug 15, 2013 10:19 am

I'd like to record here

1.Download sublimeclang git to the packages folder of ST3
- git clone --recursive https://github.com/quarnster/SublimeClang SublimeClang
- git pull && git submodule foreach --recursive git pull origin master

2.Download the SublimeClang-1.0.41.sublime-package https://github.com/downloads/quarnster/SublimeClang/
rename it to SublimeClang-1.0.41.zip, extract the libclang.dll and libcache.dll or x64 version for 64bit system.

3.Copy the dll files into "SublimeClang\internals"

4.Fix some issue according Sublime Clang ST3 Error http://www.sublimetext.com/forum/viewtopic.php?f=2&t=13150#p51191
just replaced the lines 161-2 in internals/common.py with this:
Code: Select all
if project_path:
    project_path = project_path.replace("\\", "\\\\") # Path will be used within a regex, thus escape every backslash
    value = re.sub(r'\${project_path}', project_path, value)

5. configure the sublimeclang settings for your project and go on hacking :o
Posts: 3
Joined: Wed Aug 14, 2013 5:51 am

Re: Install Sublimeclang on ST3 (windows)

Postby kblomqvist on Sun Sep 15, 2013 2:34 pm

Step 4. has been commited to the SublimeClang master GitHub repo, so no need to separately fix that.
Posts: 17
Joined: Fri Nov 16, 2012 4:14 pm

Re: Install Sublimeclang on ST3 (windows)

Postby anandsunku on Tue Apr 22, 2014 7:22 am


does the instruction apply for mac as well, please help for the mac version. i really like clang in sublime.

i did all that in the folders but still does not work.

and basically i did not get the following "configure the sublimeclang settings for your project", what do i need to configure.
Posts: 3
Joined: Tue Apr 22, 2014 7:01 am

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], rgidney, Yahoo [Bot] and 16 guests