www.digitalmars.com         C & C++   DMDScript  

c++.chat - How do I connect a libriary?

reply Nikita <nio247 yandex.ru> writes:
How do I connect a libriary? I have a line "#include <gl\gl.h>" for openGL32
libriary but I don't know where the libriary and the header are and dmc.exe
says it can't find gl\gl.h.
Nov 07 2007
parent reply nikita <nio247 yandex.ru> writes:
Now I found libriaryes and header files, can somebody please tell me an example
command line to compile something and connect a lib to it?
Nov 09 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
nikita wrote:
 Now I found libriaryes and header files, can somebody please tell me an example
 command line to compile something and connect a lib to it?

dmc foo.c bar.lib
Nov 28 2007