[Linux] undefined reference to OLC::SOUND::Functions
gurkanctn opened this issue · 2 comments
gurkanctn commented
I've installed the ALSA-DEV libraries (namely, libasound2-dev)
.
While compiling and linking, with the -lasound
option,
almost all function calls generate a "undefined reference to OLC::SOUND::functionName
", where function name is any of { PLAYSAMPLE, STOP, etc }.
Any hints?
gorbit99 commented
Did you define OLC_PGEX_SOUND in your main.cpp file or in any source file exactly once and never again?