When I try to compile my program, during the linking process, it gives me this error.
It does the same thing with other windows functions too. What is causing this?Code:undefined reference to `CreateCompatibleDC@4'
Thanks in advance.
When I try to compile my program, during the linking process, it gives me this error.
It does the same thing with other windows functions too. What is causing this?Code:undefined reference to `CreateCompatibleDC@4'
Thanks in advance.
You need to link to Gdi32.lib
bit∙hub [bit-huhb] n. A source and destination for information.
Thanks, it worked!