Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 21994

Undefined reference ipp libraries eclipse using minGW C++ linker [duplicate]

$
0
0

I'm trying to run a c++ program on eclipse using intel ipp libraries. I already link the libraries on eclipse like this StackOverflow answer: Eclipse C++ undefined reference .

Although, I am still getting undefined reference to all the ipp functions used in my program. Here is the line compiling and one of the function error:

g++"-LC:\Program (x86)\IntelSWTools\compilers_and_libraries_2020.1.216\windows\ipp\lib\intel64_win" -o test.exe test.o -lipps -lippcore -lippi -lippvm -lippcv

C:\Users..\test.cpp:94:undefined reference to 'ippsFree@4'

There are 2 reasons why I think it is not working:

1 - For the GCC C++ Linker, I have mingw c++ Linker install. Does mingw c++ Linker act different from GCC linker?

2 - IPP libraries are in another folder? All my includes files are in IntelSWTools\compilers_and_libraries_2020.1.216\windows\ipp\include therefore I used the lib folder install in ipp

Thank you


Viewing all articles
Browse latest Browse all 21994

Trending Articles



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