转自: http://stackoverflow.com/questions/7623980/intellisense-cannot-open-source-file-curl-h-in-c
I am unable to compile my C++ project.
IntelliSense: cannot open source file "curl.h" in C++
I tried adding that file to the "Header Files" folder in Solution Explorer: no change. I was unable to add it to the "Source Files" folder.
How can I fix this?
- Right click on your project
- select Properties
- Expand Configuration Properties
- Click on the VC++ Directories
- Add $(ProjectDir) into the "Reference Directories" item