unresolved inclusion <vector> [message #644900] |
Tue, 14 December 2010 11:40  |
Eclipse User |
|
|
|
Hi,
I've installed Eclipse CDT plugin v7.0.1.2 and the Mingw compiler. I've tried the helloworld ANSI C project and that works fine. However when I try to run a program that has:
#include <cmath>
#include <vector>
I get unresolved inclusion errors for <cmath> and <vector>. The other includes are fine (e.g. #include <stdio.h>).
In paths & symbols, the following are featured in the include tab:
C:/MinGW/lib/gcc/mingw32/4.5.0/include-fixed
C:/MinGW/lib/gcc/mingw32/4.5.0/include
C:/MinGW/include
I've searched the web and figured out that vector etc comes from the Standard Template Library. But this sounds like something that I should have by default, or do I have to download this separately and point to it?
Cheers for the help
D
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24209 seconds