extension-ffi
extension-ffi copied to clipboard
‘THFloatTensor_data’未定义的引用
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