To register and login, use your Google, Twitter, Facebook, LinkedIn, or OpenID credentials.
This is allowing us to stop most spam registrations. We've deleted most of the spam accounts that got through, and we're closely watching for more.
Can't compile a basic program with portsf on code::blocks
hi all, i am studying the book, and i tried to build a small program using the psf_sndOpen function from portsf library. I'm using code::blocks on ubuntu, i grabbed the four library files (from the 2nd chapter folder), put them in a folder on my hd and indicated the path in code::blocks, going in Settings->Compiler and debugger->Search directories. I did this both for linker and compiler.
Then i included in my file, and i guess it could see it because the auto-complete feature shows names from the library while i'm writing, but when i try to compile i get these errors:
undefined reference to 'psf_init'
undefined reference to 'psf_sndOpen'
undefined reference to 'psf_finish'
I tried searching on the web and i read that i should indicate the libraries in Settings->Compiler and debugger->Linker settings as well, but it asks for .a, .so or .lib files, which i don't have.
I don't know what to do, is there anyone who uses codeblocks and can help me?
0 · ·