Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -lncurses -pthread -o game main.cpp game.cpp
- /usr/bin/ld: /tmp/ccaQgWWd.o: in function `Game::drawWindow()':
- game.cpp:(.text+0x3dc): undefined reference to `stdscr'
- /usr/bin/ld: game.cpp:(.text+0x3e4): undefined reference to `wgetch'
- /usr/bin/ld: /tmp/ccaQgWWd.o: in function `Game::keyHandler()':
- game.cpp:(.text+0x914): undefined reference to `stdscr'
- /usr/bin/ld: game.cpp:(.text+0x91c): undefined reference to `wgetch'
- collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment