Unable to compile latest git release (re: SDL_MIXER_VERSION_ATLEAST)

Issue #304 resolved
Former user created an issue

I'm trying to compile the latest git release but I'm receiving an error:

[ 32%] Building CXX object src/CMakeFiles/engine.dir/id_sd.cpp.o /usr/local/src/ecwolf/src/id_sd.cpp:215:31: error: missing binary operator before token "(" 215 | #if !SDL_MIXER_VERSION_ATLEAST(2,6,0) | ^ /usr/local/src/ecwolf/src/id_sd.cpp:1533:30: error: missing binary operator before token "(" 1533 | #if SDL_MIXER_VERSION_ATLEAST(2,0,0) | ^ /usr/local/src/ecwolf/src/id_sd.cpp:1619:30: error: missing binary operator before token "(" 1619 | #if SDL_MIXER_VERSION_ATLEAST(2,0,0)

I'm able to compile v1.3.3 without any issues.

Comments (2)

  1. Braden Obrzut

    You need to tell me more about your setup. What version of SDL are you compiling with, what operating system, what compiler?

  2. Log in to comment