https://code.google.com/p/wavelet1d/...ar.gz&can=2&q=
The above link is where I downloaded *.cpp(s) and the libraries.
If you "untar" the package, in "examples" directory, there are some demonstration files. What I wanted to do was to make an executable file out of "wavedemo1.cpp".
I modified the code in "wavedemo1.cpp";
Code:
#include "wavelet2d.h"
to
Code:
#include "wavelet2s.h"
, then placed the header file "wavelet2s.h" (from /wavelib/src/linuxstatic) and the modified "wavedemo1.cpp" into my working directory.
Inside the working directory, I ran the following command
Code:
gcc -L/home/mario/wavelet/wavelib/linuxstatic -lwavelet2s wavedemo1.cpp -o wavedemo1
Then I get the following error messages.
/usr/bin/ld: skipping incompatible /home/mario/wavelet/wavelib/linuxstatic/libwavelet2s.a when searching for -lwavelet2s
/usr/bin/ld: cannot find -lwavelet2s
collect2: error: ld returned 1 exit status
I'm not sure what went wrong with my approach. This is my first time trying to use libraries on linux and it's giving me really tough times.
I would appreciate your help, please let me know if you need more details to explain things.
Thanks.