Error when compiling a code obtained from github

조회 수: 3 (최근 30일)
VENKATESAN SEETHARAMAN
VENKATESAN SEETHARAMAN 2018년 3월 20일
댓글: Jan 2018년 3월 20일
when I run a certain code that I downloaded from github, I'm faced with an error. The code is being compiled using mex. Can someone please explain to me what the error says and what I must do to fix it? I have provided the error below.
Error using mex
/usr/bin/ld: /usr/local/lib/librfftw.a(rplanner.o): relocation R_X86_64_32 against
`rfftw_config' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/librfftw.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Error in make (line 41)
mex('-O','./mexFMM3D.cpp',src1, src2,'-largeArrayDims',['-I',eigenDIR],['-I',fmmDIR],...
Error in example (line 11)
make(r,kernel,homogen,symmetry,outputfile);
Please let me know if you need more information. Also, I don't have a Computer Science (or significant coding experience)background. So, I would appreciate it if you can refrain from using Computer Science jargon when explaining what I must do to fix the problem.
  댓글 수: 1
Jan
Jan 2018년 3월 20일
Did you ask the author of this code already?
Posting the error message only does not allow to fix the code. Providing a link to the code would be required.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by