Reputation: 291
I am trying to use Visual C++ compiler (the one that comes with MS Visual Studio 10) in Eclipse. However, when I use it from Eclipse the compiler does not recognize standard headers.
E.g. an attempt to include iostream results in "fatal error C1083: Cannot open include file: 'iostream': No such file or directory".
Do I have to set any additional preferences to make it work?
Upvotes: 0
Views: 1513
Reputation: 5823
Search for vsvars32.bat
file in your hdd. If you can run it before compiling process, your path problems will be solved.
I didn't try this with Eclipse but I'm sure you can find a corresponding feature like the IDEs I have tried.
Upvotes: 2