#include<iostream>
#include<windows.h>
#include<Mmsystem.h>
#pragma comment(lib,"winmm.lib")
using namespace std;
int main()
{
PlaySound(TEXT("C:\\Users\\11790\\Desktop\\yinyue\\beijingyinyue.wav"),NULL,SND_FILENAME | SND_ASYNC);
cin.get();
cin.get();
}
对于该代码产生了undefined reference to `__imp_PlaySoundA' 与[Error] ld returned 1 exit status的错误怎么hui'shi