extension-ffi icon indicating copy to clipboard operation
extension-ffi copied to clipboard

‘THFloatTensor_data’未定义的引用

Open chenjun2hao opened this issue 6 years ago • 0 comments

when i compile with c++, it print the error as follows:

/tmp/ccSlTwwt.o:在函数‘mylib(THTensor*)’中:
/media/chenjun/data/C/daytwo/hello.cpp:8:对‘THFloatTensor_data’未定义的引用
collect2: error: ld returned 1 exit status
The terminal process terminated with exit code: 1

chenjun2hao avatar Apr 05 '19 09:04 chenjun2hao