Further to <<_Superman_>>'s suggestion - since you're using Code::Blocks on Windows, your most likely compiler chain is MinGW. The library name given above is the one that's relevant when using Microsoft compilers.
To use llibGlut32.a as it's known,
- Goto Project->Build Options
- Select the top option in the tree on the left - it'll be your project name (don't selct Release or Debug, since that will only add the library to either one of the build configurations. The top option (of which they're both children) will add the library to both)
- Select Linker Settings
- Hit Add
- Type glut32
- Hit Alt-O (Or click the Okay button)
Adding libraries in this manner allows you to ommit the .a extension, as does it free you from having to type lib first. If you look into the default lib folder for CodeBlocks (C:\Program Files (x86)\CodeBlocks\MinGW\lib) you'll see that all of the lib files have the .a extension and start with lib
If, on the other hand you hit the browse button to add the lib name - you'll find either a full or relative path is crafted to the file, and that it's the full name in full.
You also need to add a library manually if you get some Visual Studio code that uses #pragma import "libraryName" as a means of adding a library, since GCC doesn't accept this preprocessor directive.