0

I am trying to write an application in C++ that uses soundtouch libraries. I am unable to figure out what library to use to link it with. Specifically, I am using SoundTouch.h.

I have this code compiled in C as well. The library I used then was lsoundtouch4c to link. I have not been able to find information on this any where else, so help is most welcome.

Thanks,
Sriram

4

1 に答える 1

0

サウンド タッチ ライブラリを使用する C++ で記述されたコードは、次のライブラリを使用してリンクできます。

/usr/local/lib  
SoundTouch

したがって、makefile でのリンクは次のようになります。

main: <some-dependencies>
     g++ <your g++ options> <object files> -L/usr/local/lib -lSoundTouch  

シュリラム。

于 2011-01-19T07:25:19.377 に答える