Skip to content

Instantly share code, notes, and snippets.

@sylae
Created July 29, 2014 18:17
Show Gist options
  • Save sylae/121a910ee7d06301f2b0 to your computer and use it in GitHub Desktop.
Save sylae/121a910ee7d06301f2b0 to your computer and use it in GitHub Desktop.
i686-w64-mingw32-g++ -c tools/soundtool.cpp -o tools/soundtool.o -Wall -O2 -std=c++0x
In file included from tools/soundtool.cpp:19:0:
tools/soundtool.h:39:2: error: #error Invalid platform
tools/soundtool.cpp: In function ‘void play_sound(short int, short int)’:
tools/soundtool.cpp:152:7: error: ‘sounds_missing’ was not declared in this scope
tools/soundtool.cpp:182:20: error: ‘hModule’ was not declared in this scope
tools/soundtool.cpp:206:19: error: ‘sound_pause’ was not declared in this scope
tools/soundtool.cpp:211:6: error: ‘sounds_missing’ was not declared in this scope
tools/soundtool.cpp:234:19: error: ‘sound_pause’ was not declared in this scope
tools/soundtool.cpp:239:6: error: ‘sounds_missing’ was not declared in this scope
tools/soundtool.cpp: In function ‘void load_sounds(HMODULE)’:
tools/soundtool.cpp:308:2: error: ‘hModule’ was not declared in this scope
tools/soundtool.cpp:312:3: error: ‘sounds_missing’ was not declared in this scope
tools/soundtool.cpp:317:3: error: ‘sounds_missing’ was not declared in this scope
make: *** [tools/soundtool.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment