I put the following code... and I donīt know why I got this error:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c "sonidos 3.cpp" -o "sonidos 3.o" -nostdlib
g++.exe "sonidos 3.o" -o "sonidos3.exe" -mwindows winmm.lib -lobjc -nostdlib
g++.exe: winmm.lib: No such file or directory
make.exe: *** [sonidos3.exe] Error 1
Execution terminated
And this is the code: ^
Code:
#include <windows.h>
//#include <winmm.lib>
#include <mmsystem.h>
#include <conio.h>
using namespace std ;
int main()
{
PlaySound(TEXT("prueba.wav"), NULL, SND_ALIAS | SND_APPLICATION);
return 0 ;
}
PLEASE HELP ME!!!