uwhpsc-2016 / homework2

Homework #2
0 stars 3 forks source link

OSError #43

Open anders34 opened 8 years ago

anders34 commented 8 years ago

When I run make test, why do I get this error?

OSError: You need to compile your homework library using 'make'. Makefile:28: recipe for target 'test' failed

cswiercz commented 8 years ago

Likely, there is a missing symbol in your linalg.c or solvers.c files. That is, you're trying to use a function that you haven't defined or there is no definition for. For example, I saw one student use:

double* A = (double*) malloc(N * sizeof(double));
A = zeros(N);  // there is no function called "zeros" in C, unless you created it yourself.