[Dev-C++] undefined reference problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: mohamad c. <moh...@in...> - 2004-12-15 09:19:15
|
Hi all,
I'm new to g++. I'm trying to use a new library for linear algebra=20
called Lapack++, the problem is when I include this library into a=20
source file I get errors of kinds "undefined refernce". for example this=20
little and stupid code:
#define LA_COMPLEX_SUPPORT
#include <lapack++.h> // the new library
#include <iostream>
int main()
{
LaGenMatDouble A ; // this uses the new library=20
std::cout<< "This is a test "<< std::endl;
return 0;
}
the erros are like:
/tmp/cc2YU0wo.o(.text+0x19): In function `main':
undefined reference to =AB LaGenMatDouble::LaGenMatDouble[in-charge]()=BB
What could be the problem?
Please give me some feddback.
thanks in advance
|