andersbll / cudarray

CUDA-based NumPy
MIT License
233 stars 61 forks source link

missing vtable error when doing make #44

Closed totopia closed 8 years ago

totopia commented 8 years ago

I got following error when doing make on MacOS. is it related to the C++ compiler? nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2014 NVIDIA Corporation Built on Thu_Jul_17_19:13:24_CDT_2014 Cuda compilation tools, release 6.5, V6.5.12

NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for std::basic_stringbuf<char, std::char_traits, std::allocator >", referenced from: cudarray::cuda_kernelcheck(char const, int) in pool_b01.o cudarray::cuda_kernelcheck(char const, int) in array_ops.o cudarray::cudacheck(cudaError, char const, int) in array_ops.o cudarray::cudacheck(cudaError, char const, int) in reduction.o cudarray::curandcheck(curandStatus, char const, int) in random.o cudarray::cuda_kernelcheck(char const, int) in img2win.o cudarray::cuda_kernelcheck(char const, int) in rescale.o ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. ld: symbol(s) not found for architecture x8664 clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) make: ** [build/libcudarray.so] Error 1

totopia commented 8 years ago

Never mind, this was a cud compatibility issue with mac

andersbll commented 8 years ago

I'm happy you got it working!