Skip to content

Errors in make #2

Closed
Closed

Description

@amebru

I get the following errors when I make debug.

gcc -Wall -Werror -DDEBUG -g  -I/usr/include/ncursesw -c src/ui.c -o src/ui.o
src/ui.c: In function ‘dlg_newwin’:
src/ui.c:238:5: error: implicit declaration of function ‘waddwstr’ [-Werror=implicit-function-declaration]
src/ui.c: In function ‘dlg_simple’:
src/ui.c:271:3: error: implicit declaration of function ‘waddnwstr’ [-Werror=implicit-function-declaration]
src/ui.c:273:5: error: implicit declaration of function ‘mvwaddwstr’ [-Werror=implicit-function-declaration]
src/ui.c: In function ‘dlg_bool’:
src/ui.c:314:5: error: implicit declaration of function ‘get_wch’ [-Werror=implicit-function-declaration]
src/ui.c: In function ‘dlg_file_path’:
src/ui.c:429:7: error: implicit declaration of function ‘mvwaddnwstr’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make: *** [src/ui.o] Error 1

Also, running ncursesw5-config works properly.

Activity

  1. drbig commented on Dec 15, 2014

    @drbig
    Owner

    First please do tell what distro/OS you are using.

    If it's Debian or derivative please ensure you have all of these installed: ncurses5, ncurses5-dev, ncursesw5, and ncursesw5-dev.

  2. amebru commented on Dec 19, 2014

    @amebru
    Author

    It turns out I hadn't had ncursesw5-dev installed. For the record, I am using Debian. It's working properly now, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions