User forums > Using Code::Blocks

Add glut32.dll into the complied executed file

(1/2) > >>

jcheng3305:
Would like to know if Code::Block can be set that glut32.dll can be added into each complied file.  Tks. :?

MortenMacFly:

--- Quote from: jcheng3305 on April 18, 2010, 05:00:40 am ---Would like to know if Code::Block can be set that glut32.dll can be added into each complied file.  Tks. :?

--- End quote ---
Yes, add it to the global compiler options.

jcheng3305:
Noted.  But I don't how to add this into,  Is it under Compiler and Debugger settings > Gobal Compiler Setting?   And then where?

jcheng3305:
Yes, I did use "Full Command Line", but it still doesn't work unless we put glut32.dll at the same folder of execute file as before.   Please advise if any other method that we can put glut32.dll into the execute file during compilation, as it seems not a good practice to ship your execute with glut32.dll.  Tks.

reckless:
are you trying to link a dll into the executable as a static library ?!?

freeglut comes with a static library you can link against to avoid the dll completely.

Navigation

[0] Message Index

[#] Next page

Go to full version