Hi, I'm new to alglib and having some issues compiling my code.
In my header file I have included the following:
Code:
#include "alglibinternal.h"
#include "alglibmisc.h"
#include "ap.h"
#include "linalg.h"
#include "solvers.h"
alglib::integer_2d_array c;
In the constructor in my .c file I have the following:
Code:
alglib::integer_2d_array c;
c = "[[1,2,3],[9,9,9]]";
I am getting the following error message:
Quote:
Undefined symbols:
"alglib::integer_2d_array::integer_2d_array(char const*)", referenced from:
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
"alglib::integer_2d_array::integer_2d_array()", referenced from:
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
"alglib::integer_2d_array::~integer_2d_array()", referenced from:
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
GLWidget::GLWidget(QWidget*)in glwidget.o
"alglib::ae_matrix_wrapper::operator=(alglib::ae_matrix_wrapper const&)", referenced from:
alglib::integer_2d_array::operator=(alglib::integer_2d_array const&)in glwidget.o
I would greatly appreciate if someone might point out what's wrong. Thanks!