New OGL code cannot find GLFW "windowResize" and "handleKeypress"

Hello. I started a new ogl project with Codeblocks, but this time its complaining about undefined reference to two GLFW functions: “windowResize” and “handleKeypress”

I declared both functions at the beginning of my source file. Also included the header for GLFW. Here is the code

    #include "glew.h"
    #include "glfw.h"
    #include "gl.h"
    using namespace std;

    void GLFWCALL windowResize (int, int);
    void GLFWCALL handleKeypress (int, int);

In my project build options (I am using codeblocks) in the linker settings, I included absolute path to the library with


As far as I can note, these are the same things I did in my previous OGL code, that compiles just fine.

Yet, this time it keep complained with

     -------------- Build: Release in test-ogl ---------------

     Linking console executable: bin/Release/test-ogl
    obj/Release/ogl-test.o: In function `main':
    ogl-test.cpp:(.text+0xe2d): undefined reference to    `windowResize(int, int)'
      ogl-test.cpp:(.text+0xe37): undefined reference to `handleKeypress(int, int)'
      collect2: ld returned 1 exit status
     Process terminated with status 1 (0 minutes, 0 seconds)
2 errors, 0 warnings

Any ideas ?

Declaring them doesn’t define them. You need to define those two functions in your code, and compile+link the module containing them into your program.

Have you done this?