Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

compile error #7

Open
GoogleCodeExporter opened this issue Feb 11, 2016 · 3 comments
Open

compile error #7

GoogleCodeExporter opened this issue Feb 11, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 
to `Matrix::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 
to `Matrix::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.

Original issue reported on code.google.com by [email protected] on 5 Apr 2013 at 3:30

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 30 Dec 2013 at 12:48

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 5 Jan 2014 at 11:52

@GoogleCodeExporter
Copy link
Author

Had the same problem as michael said, I added 
#define NUMPY_INTERFACE 
to 
include/common/matrix.h and it worked

Original comment by [email protected] on 10 Jun 2014 at 7:38

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant