Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. make -f Makefile.linux
  2. make[1]: Entering directory '/home/bob/tmp/a-effacer/prototracker'
  3. g++ -O3 -Wformat -std=c++11 -o prototracker src/*.cpp -lSDL2_image -lSDL2main `sdl2-config --cflags --libs` -s
  4. src/Main.cpp: In function ‘void infinityAndBeyond(void*)’:
  5. src/Main.cpp:114:149: error: ‘SDL_GameControllerFromInstanceID’ was not declared in this scope
  6. context.mainEditor.showMessageV(Editor::MessageInfo, "Unplugged %s", SDL_GameControllerName(SDL_GameControllerFromInstanceID(event.cdevice.which)));
  7. ^
  8. src/SequenceRowEditor.cpp: In member function ‘virtual bool SequenceRowEditor::onEvent(SDL_Event&)’:
  9. src/SequenceRowEditor.cpp:167:101: error: ‘SDL_GameControllerFromInstanceID’ was not declared in this scope
  10. bool aPressed = SDL_GameControllerGetButton(SDL_GameControllerFromInstanceID(event.cbutton.which), SDL_CONTROLLER_BUTTON_A);
  11. ^
  12. src/TrackEditor.cpp: In member function ‘virtual bool TrackEditor::onEvent(SDL_Event&)’:
  13. src/TrackEditor.cpp:371:101: error: ‘SDL_GameControllerFromInstanceID’ was not declared in this scope
  14. bool aPressed = SDL_GameControllerGetButton(SDL_GameControllerFromInstanceID(event.cbutton.which), SDL_CONTROLLER_BUTTON_A);
  15. ^
  16. Makefile.linux:5: recipe for target 'prototracker' failed
  17. make[1]: *** [prototracker] Error 1
  18. make[1]: Leaving directory '/home/bob/tmp/a-effacer/prototracker'
  19. Makefile:7: recipe for target 'linux' failed
  20. make: *** [linux] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement