build using make
Dick Thompson
dthompson "at" flexipc.com
Wed, 16 Jun 1999 20:30:20 +0000
I recently posted a question about using the exported make files when trying
to build vnc. I had exported the makefiles from msstudio, but was getting
an unresolved reference error for _SetHook and _UnSetHook when linking to
VNCDesktop.
Solution:
In VNCDesktop.cpp remove the vnchooks.h include, then insert extern "c"
declaration for SetHook and UnSetHook
as DllImport functions.
In WinVnc.mak add omithread_rt.lib and vnchooks.lib to the LINK32_FLAGS
macro.
Dick Thompson dthompson "at" flexipc.com
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------