Advertisement
Equite

Untitled

Jun 15th, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. /*
  2. cd '/Users/Wesley/Desktop/Infinite_Square'
  3. /usr/bin/make -f Makefile CONF=Debug
  4. "/Library/Developer/CommandLineTools/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
  5. "/Library/Developer/CommandLineTools/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/infinite_square
  6. mkdir -p build/Debug/GNU-MacOSX
  7. rm -f "build/Debug/GNU-MacOSX/Game.o.d"
  8. g++ -c -g -std=c++14 -MMD -MP -MF "build/Debug/GNU-MacOSX/Game.o.d" -o build/Debug/GNU-MacOSX/Game.o Game.cpp
  9. mkdir -p build/Debug/GNU-MacOSX
  10. rm -f "build/Debug/GNU-MacOSX/Main.o.d"
  11. g++ -c -g -std=c++14 -MMD -MP -MF "build/Debug/GNU-MacOSX/Main.o.d" -o build/Debug/GNU-MacOSX/Main.o Main.cpp
  12. mkdir -p dist/Debug/GNU-MacOSX
  13. g++ -o dist/Debug/GNU-MacOSX/infinite_square build/Debug/GNU-MacOSX/Game.o build/Debug/GNU-MacOSX/Main.o
  14. *\
  15.  
  16. Now it only gives me this!
  17.  
  18. Undefined symbols for architecture x86_64:
  19. "_SDL_CreateRenderer", referenced from:
  20. Game::init(char const*, int, int, int, int, bool) in Game.o
  21. "_SDL_CreateWindow", referenced from:
  22. Game::init(char const*, int, int, int, int, bool) in Game.o
  23. "_SDL_DestroyRenderer", referenced from:
  24. Game::clean() in Game.o
  25. "_SDL_DestroyWindow", referenced from:
  26. Game::clean() in Game.o
  27. "_SDL_Init", referenced from:
  28. Game::init(char const*, int, int, int, int, bool) in Game.o
  29. "_SDL_PollEvent", referenced from:
  30. Game::handleEvents() in Game.o
  31. "_SDL_Quit", referenced from:
  32. Game::clean() in Game.o
  33. "_SDL_RenderClear", referenced from:
  34. Game::render() in Game.o
  35. "_SDL_RenderPresent", referenced from:
  36. Game::render() in Game.o
  37. "_SDL_SetRenderDrawColor", referenced from:
  38. Game::init(char const*, int, int, int, int, bool) in Game.o
  39. ld: symbol(s) not found for architecture x86_64
  40. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  41.  
  42. The new error ends here!
  43.  
  44. /*
  45. make[2]: *** [dist/Debug/GNU-MacOSX/infinite_square] Error 1
  46. make[1]: *** [.build-conf] Error 2
  47. make: *** [.build-impl] Error 2
  48. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement