How to create .exe file with built-in libraries in CodeBlocks, to be able to open it on another computer?

Created a project in CodeBlocks after setting the required libraries to work correctly with GLUT.
Found .exe file in the project library, to start working.
When you try to run it on another computer gives that there are no corresponding libraries.

Question: What you need to do to make this file run on any computer without further installation of libraries?
March 23rd 20 at 18:57
2 answers
March 23rd 20 at 18:59
Solution
Together with a copy put deki there, and you can create a setup program that will sew up the executable and libs to the executable and will install in the desired place or in any way
March 23rd 20 at 19:01
The easiest way to do this is to put all libraries into the directory with the executable file.
You can still statically link everything into a single executable file, but for beginners it's harder.

Find more questions by tags Code::BlocksOpenGLC++