Skip to content

Errors while compiling hite.c file #2

Description

@priyashmistry

I was trying to run hite.c file in compiler (CodeBlocks, OS: Windows 10), and while compiling I received this error. Can someone please check this out:

||=== Build file: "no target" in "no project" (compiler: unknown) ===|
C:\Users\computer\Downloads\HITE-master\hite.c||In function 'ReadOptions':|
C:\Users\computer\Downloads\HITE-master\hite.c|200|warning: implicit declaration of function 'getline'; did you mean 'GetLine'? [-Wimplicit-function-declaration]|
C:\Users\computer\Downloads\HITE-master\hite.o:hite.c|| undefined reference to `getline'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 1 warning(s) (0 minute(s), 0 second(s)) ===|

Note: Already tried changing getline with GetLine, nothing worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions