On Tuesday, 5 February 2019 at 17:09:10 UTC, Murilo wrote:
When I compile the code above the compiler says Error: linker exited with status 1What should I do?
It might have to be "shoot.wav"w, notice the w on the end.But I am guessing the main problem is not linking in the winmm lib and dll. It will probably work to add
pragma(lib, "winmm"); to your file right after the import.