Hello, Great work. Unfortunately, I was not able to install the package. I reproduced below the error message. Please, I would be very grateful if you could help me to figure it out. I need this piece of software to work on my thesis. Thanks.
And obtained the following error. Important to say, apparently the dasslc module is installed in my python env, however no methods are shown. Trying to run the example, the interpreter complains about 'solve' method that is absent. It endorsed the hypothesis that the method are installed, however the compilation of the C code is failing (as shown below).
running install
running build
running build_ext
building 'dasslc' extension
C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-I/usr/local/lib/python3.5/dist-packages/numpy/core/include -I/usr/include/python3.5m -c'
x86_64-linux-gnu-gcc: dasslc/dasslc.c
x86_64-linux-gnu-gcc: dasslcmodule.c
In file included from dasslcmodule.c:27:0:
dasslc/dasslc.h:457:2: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
SET (*vfunc)();
^
dasslcmodule.c: In function ‘jacobian’:
dasslcmodule.c:524:17: warning: implicit declaration of function ‘daSparse_value’ [-Wimplicit-function-declaration]
daSparse_value(pd,i,j) = *(double*)PyArray_GETPTR2(pd_array,i,j);
^
dasslcmodule.c:524:40: error: lvalue required as left operand of assignment
daSparse_value(pd,i,j) = *(double*)PyArray_GETPTR2(pd_array,i,j);
^
In file included from dasslcmodule.c:27:0:
dasslc/dasslc.h:457:2: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
SET (*vfunc)();
^
dasslcmodule.c: In function ‘jacobian’:
dasslcmodule.c:524:17: warning: implicit declaration of function ‘daSparse_value’ [-Wimplicit-function-declaration]
daSparse_value(pd,i,j) = *(double*)PyArray_GETPTR2(pd_array,i,j);
^
dasslcmodule.c:524:40: error: lvalue required as left operand of assignment
daSparse_value(pd,i,j) = *(double*)PyArray_GETPTR2(pd_array,i,j);
^
error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.5/dist-packages/numpy/core/include -I/usr/include/python3.5m -c dasslcmodule.c -o build/temp.linux-x86_64-3.5/dasslcmodule.o" failed with exit status 1