Linker Error if compiling a simple graph in VS

You have to link against libGpad.lib (among other libraries…)
And see also this other topic