Answer the question
In order to leave comments, you need to log in
[C++] Problems with the audiere library?
There is the following code, which is licked from here
#include "stdafx.h"
#include <iostream>
#include "conio.h"
#include "windows.h"
#include "audiere.h"
using namespace std;
using namespace audiere;
int main()
{
setlocale(0, "Russian"); //пусть наша консоль говорит по-русски
cout << "Простейшее воспроизведение звука" << endl;
AudioDevicePtr device = OpenDevice(); //Для начала нужно открыть AudioDevice
OutputStreamPtr sound = OpenSound(device, "sound.wav", false); //создаем поток для нашего звука
sound->play(); //проигрываем наш звук
_getche(); //ждём нажатия любой клавиши прежде чем выйти из программы
}
------ Сборка начата: проект: Audiere, Конфигурация: Release Win32 ------
1>Audiere.cpp
1>Audiere.obj : error LNK2001: неразрешенный внешний символ "[email protected]"
1>Audiere.obj : error LNK2001: неразрешенный внешний символ "[email protected]"
1>Audiere.obj : error LNK2001: неразрешенный внешний символ "__im[email protected]"
1>C:\Users\Emilia\Desktop\VS\Audiere\Release\Audiere.exe : fatal error LNK1120: неразрешенных внешних элементов: 3
1>Сборка проекта "Audiere.vcxproj" завершена с ошибкой.
========== Сборка: успешно: 0, с ошибками: 1, без изменений: 0, пропущено: 0 ==========
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question