c++ - OpenAL issue, undefined reference to '_imp__alGenBuffers' -


i decided download openal, , openalut. upon writing first bit of code, came across slight issue. everytime compile, error listed in title. appreciated. code listed below, thanks. ps: using code::blocks.

#include <al/al.h> #include <al/alut.h>  #define num_buffers 1  int main() {      aluint buffers[ num_buffers ];      algenbuffers( num_buffers, buffers );  } 

i don't expect real result out of this, expect compiles. i'm it's issue installation of openal, although sure did correctly...

it fault, didn't link libraries correctly. if having error, make sure have linked them correctly, and/or correct bit type, compared rest of files.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -