vs dll lib usage records

Today to learn opengl project copy from one computer to another computer time, there have been glu.dll can not find an issue that causes the project to get up. Later I found online to find, although I use static linking mt / mtd compiler, but it is possible lib and does not contain specific information and the address of the function, resulting in the lib must use dll, so the dllcopy to exe folder.
But this process of development in a bit of trouble, after a search, then project -> Properties -> Debug -> Environment -> PATH = library directory;% PATH%; so you do not always copy the library file, at the time of release exe need to copy the corresponding library files can be released.

Guess you like

Origin www.cnblogs.com/zijian-yang/p/11032018.html