Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #7

Open
GoogleCodeExporter opened this issue Mar 10, 2016 · 3 comments
Open

compile error #7

GoogleCodeExporter opened this issue Mar 10, 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 kingstar...@gmail.com on 5 Apr 2013 at 3:30

@GoogleCodeExporter
Copy link
Author

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

Original comment by michaelk...@gmail.com 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 michaelk...@gmail.com 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 cdrtz1...@gmail.com on 10 Jun 2014 at 7:38

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

No branches or pull requests

1 participant