How to add "-lespeak" to codeblocks?

83 Views Asked by At

I use Ubuntu 16.04 and it's gedit editor to codding. I can compile my programs with espeak library used within, by adding -lespeak at the end of compile command like this on Linux terminal: g++ -o myapp myapp.cpp -lespeak , But I don't know how should I add what files to codeblocks for espeak?

1

There are 1 best solutions below

1
On BEST ANSWER

Navigate: Workspace -> Your-Project -> Build options -> Linker settings -> Other linker options. Add -lespeak. OK out. Build