Hi, would you happen to have an example for how to compile the .so file? I'm including all the libraries and when I run the example in Java I get "symbol lookup error: /usr/lib/libompdelta.so: undefined symbol: _ZN3omp13CombinedRangeC1Ev"
I've tried including all of the .o files but get the same. This is what I run:
g++ -std=c++11 -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -I./omp -I./ ompdelta.cpp -o libompdelta.so -Llib/ompeval.a -Lomp/*.o -shared -fPIC
Hi, would you happen to have an example for how to compile the .so file? I'm including all the libraries and when I run the example in Java I get "symbol lookup error: /usr/lib/libompdelta.so: undefined symbol: _ZN3omp13CombinedRangeC1Ev"
I've tried including all of the .o files but get the same. This is what I run: g++ -std=c++11 -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -I./omp -I./ ompdelta.cpp -o libompdelta.so -Llib/ompeval.a -Lomp/*.o -shared -fPIC