does anyone have problem with linking to newmat library ?

running

#include "newmat.h"

int main()
{
    Matrix A(2,2);
}

i got linker error: undefined reference

i'm using dev c++ and have set the directories to point to the file where i stored all the header and source files ..

any thoughts?