[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libann-users] const problem
From: |
s5804 |
Subject: |
[libann-users] const problem |
Date: |
Fri, 05 Oct 2007 07:24:35 -0700 |
Dear all,
I have tried to refresh myself on all const issues.
My code do not compile, error message:
undefined reference to ann::FeatureMap::addFeature(std::string const &,
ann::ExtInput const&)
In my oppinion I am calling addFeature with the right parameters.
int main() {
ann::ExtInput a1(1);
a1[0] = 0.0;
std::string one("1");
ann::FeatureMap fm;
fm.addFeature(one, a1);
return 0;
}
I am using CodeBlock with Gcc compiler, maybe my compiler settings are wring?
Thank you
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libann-users] const problem,
s5804 <=