| Summary: | NTL problem | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Grant <davidgrant> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
it needed using namespace NTL and also -lntl as argument to g++ |
Someone please tell me I am not retarded. I have no idea what is going on here. #include <NTL/ZZ.h> #include <iostream> int main() { ZZ a, b, c; cin >> a; cin >> b; c = (a+1)*(b+1); cout << c << "\n"; } I run g++ -o ntl_test ntl_test.cc and I get a 'ZZ' undeclared issue. I can find ZZ.h but it's not getting the definition of the ZZ class properly.