I’d like to record here
1.Download sublimeclang git to the packages folder of ST3
- git clone --recursive 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 https://forum.sublimetext.com/t/sublime-clang-st3-error/10712/1#p51191
just replaced the lines 161-2 in internals/common.py with this:
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)
- configure the sublimeclang settings for your project and go on hacking