Export to GitHub

cuda-convnet - issue #7

compile error


Posted on Apr 5, 2013 by Grumpy Camel

What steps will reproduce the problem? 1. compiler error, 2. 3.

What is the expected output? What do you see instead? when i compile usr ./build.sh will broke see this error

obj/x86_64/release/src/util.cu.o: In function pyDictGetMatrix(_object*, char const*)': tmpxft_0000033f_00000000-3_util.cudafe1.cpp:(.text+0x27a): undefined reference toMatrix::Matrix(PyArrayObject const*)' obj/x86_64/release/src/util.cu.o: In function getMatrixV(_object*)': tmpxft_0000033f_00000000-3_util.cudafe1.cpp:(.text+0x3fe): undefined reference toMatrix::Matrix(PyArrayObject const*)'

What version of the product are you using? On what operating system? centos 6.3 gcc 4.4.6-4 cuda 5.0

Please provide any additional information below.

Comment #1

Posted on Dec 30, 2013 by Quick Rhino

I also have this issue. Did you figure it out?

Comment #2

Posted on Jan 5, 2014 by Quick Rhino

In my case, this error was caused by not #defining NUMPY_INTERFACE properly. Add it to include/common/matrix.h.

Comment #3

Posted on Jun 10, 2014 by Happy Lion

Had the same problem as michael said, I added

define NUMPY_INTERFACE

to include/common/matrix.h and it worked

Status: New

Labels:
Type-Defect Priority-Medium