openal-soft

Functions of Open AL giving error of undefined reference while compiling with g++ in ubuntu [duplicate]

…衆ロ難τιáo~ 提交于 2020-08-20 06:34:27
问题 This question already has answers here : What is an undefined reference/unresolved external symbol error and how do I fix it? (34 answers) Closed 3 years ago . I am completely new to Open AL. So I started with installing Open AL library through command line sudo apt-get install libopenal-dev And also I installed alut installed with this command sudo apt-get install libalut0 libalut-dev Also I forked open Al from http://kcat.strangesoft.net/openal.html and installed it also. But when I am

OpenAL Soft crashes in release mode (debug works fine)

痴心易碎 提交于 2019-12-11 12:15:27
问题 I have created a small sample program in C++ trying to play sounds with OpenAL Soft. The program crashes when compiled in release mode, when compiled in debug mode it works. I'm on OS X using 1.17.2. I get this error message: SoundTest(28958,0x70000021d000) malloc: *** error for object 0x7fbdd26062c8: incorrect checksum for freed object - object was probably modified after being freed. This is the full sample program: #include <iostream> #include <AL/alc.h> #include <AL/al.h> #include <cmath>