@Dobroe3lo

Использование библиотеки pulseaudio linux?

Как использовать библиотеку pulseaudio linux? Хочу скомпилировать файл с подключением
#include <pulse/simple.h>
#include <pulse/error.h>

Фатальная ошибка: pulse/simple.h: Нет такого файла или каталога #include <pulse/simple.h>

Действительно, pulse/simple.h и error.h нет, хотя pulseaudio устанавливал и обновлял.
  • Вопрос задан
  • 194 просмотра
Пригласить эксперта
Ответы на вопрос 1
@Dobroe3lo Автор вопроса
Вроде решил вопрос, но при компиляции линковщик ругается
main.cpp:(.text+0x1dd): undefined reference to `pa_simple_new'
main.cpp:(.text+0x1f7): undefined reference to `pa_strerror'
main.cpp:(.text+0x25f): undefined reference to `pa_simple_new'
main.cpp:(.text+0x279): undefined reference to `pa_strerror'
main.cpp:(.text+0x2b9): undefined reference to `pa_simple_read'
main.cpp:(.text+0x36f): undefined reference to `pa_simple_write'
main.cpp:(.text+0x380): undefined reference to `pa_strerror'
main.cpp:(.text+0x3df): undefined reference to `pa_simple_free'
main.cpp:(.text+0x3f2): undefined reference to `pa_simple_free'
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы