开发者

Compiling C++ with Soundtouch

I am trying to write an application in C++ that uses soundto开发者_开发知识库uch 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


Code written in C++ that uses sound touch libraries can be linked using the following libraries:

/usr/local/lib  
SoundTouch

So, the linking in a makefile will look something like this:

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

Sriram.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜