how do add libs to the complier for eclipse?
and what is process correctly called because I have NO luck searching it.
if I was using the command line it would just be adding -lncurese
Code:
g++ GAME.cpp -o game -lncurses
Eclipses
Code:
**** Build of configuration Debug for project GAME ****
make all
Building target: GAME
Invoking: GCC C++ Linker
g++ -o"GAME" ./src/GAME.o
./src/GAME.o: In function `main':
/home/keegan/cpp/GAME/Debug/../src/GAME.cpp:17: undefined reference to `initscr'
/home/keegan/cpp/GAME/Debug/../src/GAME.cpp:18: undefined reference to `printw'
/home/keegan/cpp/GAME/Debug/../src/GAME.cpp:19: undefined reference to `refresh'
/home/keegan/cpp/GAME/Debug/../src/GAME.cpp:20: undefined reference to `stdscr'
/home/keegan/cpp/GAME/Debug/../src/GAME.cpp:20: undefined reference to `wgetch'
/home/keegan/cpp/GAME/Debug/../src/GAME.cpp:21: undefined reference to `endwin'
collect2: ld returned 1 exit status
make: *** [GAME] Error 1
Bookmarks