Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67605 - NTL problem
Summary: NTL problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 17:36 UTC by David Grant
Modified: 2004-10-14 22:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2004-10-14 17:36:41 UTC
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.
Comment 1 David Grant 2004-10-14 22:56:20 UTC
it needed using namespace NTL and also -lntl as argument to g++