justmao945 / vim-clang

Clang completion plugin for vim
ISC License
357 stars 47 forks source link

Help with windows #79

Open vakosel opened 8 years ago

vakosel commented 8 years ago

Hi ! I havem't managed to make it worki with windows . In my linux os everything is ok . Same .vimrc I have set debug 3 and i can see that is loading all include files plus what exists in the llvm/include folder plus the path includes from VS 2013.No errors In my .clang file i used various escape configuration. I want ot use the microsoft sdk for windows programming. I use -I "C:\Program FIles (x86)\Micorsoft SDKs\Windows\7.1A" .I used double slashes forward slashes etc.The cland is prebuild for vs2013 .Might be this.VIm is compiled by myself , THanks in advance

sprainbrains commented 5 years ago

I have the same problem. How to fix it?

sprainbrains commented 5 years ago

Hi ! I havem't managed to make it worki with windows . In my linux os everything is ok . Same .vimrc I have set debug 3 and i can see that is loading all include files plus what exists in the llvm/include folder plus the path includes from VS 2013.No errors In my .clang file i used various escape configuration. I want ot use the microsoft sdk for windows programming. I use -I "C:\Program FIles (x86)\Micorsoft SDKs\Windows\7.1A" .I used double slashes forward slashes etc.The cland is prebuild for vs2013 .Might be this.VIm is compiled by myself , THanks in advance

I found solution. Using "\\" for your path. For Exaple:

-I"C:\\Program FIles (x86)\\Micorsoft SDKs\\Windows\\7.1A"