I'm doing a project for school with C, i'm using Clion as idee. I already installed the ln curses in Ubuntu with the command
sudo apt-get install libncurses<ver>-dev
Using the shall, the program works! But I would like to do some debugging with idee. My cmake file is this
cmake_minimum_required(VERSION 3.12)
project(progetto_pipe_2 C)
set(CMAKE_C_STANDARD 99)
add_executable(progetto_pipe_2 main.c movimento.c movimento.h grafica.c grafica.h area_gioco.c area_gioco.h)
If I start the application from idee , the following error appears is:
undefined reference to `initscr' ecc ecc