Guest User

Untitled

a guest
Mar 1st, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1.  
  2. g++ -lncurses -pthread -o game main.cpp game.cpp
  3.  
  4.  
  5. /usr/bin/ld: /tmp/ccaQgWWd.o: in function `Game::drawWindow()':
  6. game.cpp:(.text+0x3dc): undefined reference to `stdscr'
  7. /usr/bin/ld: game.cpp:(.text+0x3e4): undefined reference to `wgetch'
  8. /usr/bin/ld: /tmp/ccaQgWWd.o: in function `Game::keyHandler()':
  9. game.cpp:(.text+0x914): undefined reference to `stdscr'
  10. /usr/bin/ld: game.cpp:(.text+0x91c): undefined reference to `wgetch'
  11. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment