Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Linking MKL with Eclipse IDE CDT C/C++

$
0
0

 I am trying to link Intel Math Kernel Library (MKL) with C/C++ through Eclipse IDE. Actually i followed the steps provided by Intel website but still the problem. I am trying to compile one example of those coming with the MKL package.  The console shows me this "error in BOLD" ;

17:34:17 **** Incremental Build of configuration Debug for project complex2 ****
Info: Internal Builder is used for build
gcc "-IC:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018.1.156\\windows\\mkl\\include""-IC:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018.1.156\\windows\\mkl\\include\\fftw" -O0 -g3 -Wall -c -fmessage-length=0 -o complex2.o "..\\complex2.c" 
gcc "-LC:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018.1.156\\windows\\mkl\\lib\\intel64_win" -o complex2.exe complex2.o -lmkl_blas95_ilp64 -lmkl_blas95_lp64 -lmkl_core -lmkl_core_dll -lmkl_intel_ilp64 -lmkl_intel_ilp64_dll -lmkl_intel_lp64 -lmkl_intel_lp64_dll -lmkl_intel_thread -lmkl_intel_thread_dll -lmkl_lapack95_ilp64 -lmkl_lapack95_lp64 -lmkl_rt -lmkl_sequential -lmkl_sequential_dll -lmkl_tbb_thread -lmkl_tbb_thread_dll 
complex2.o: In function `main':
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:93: undefined reference to `init_input_and_expected_vectors_c'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:99: undefined reference to `fftw_create_plan'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:100: undefined reference to `die_unless'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:105: undefined reference to `fftw_one'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:120: undefined reference to `fftw_create_plan'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:121: undefined reference to `die_unless'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:126: undefined reference to `fftw_one'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:136: undefined reference to `scaling'
C:\Users\aaelmeli\workspace\complex2\Debug/../complex2.c:144: undefined reference to `check_result_c'
collect2.exe: error: ld returned 1 exit status

17:34:27 Build Finished (took 10s.41ms)

 


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>