I try on a simple example:
#include <iostream> using namespace std; #include "windows.h" #include "mmsystem.h" int main() { PlaySound(TEXT("tet.wav"),NULL, SND_SYNC); system("pause"); return 0; } but gives out
undefined reference to `__imp_PlaySoundA '
Like .lib is needed as far as I know, but how to connect it to CLion`e?
target_link_libraries(цель бибилотека)inCMakeLists.txt? - Vladimir Gamalyan