building vnc for w95
James "Wez" Weatherall
jnw22 "at" cam.ac.uk
Thu, 24 Jun 1999 12:43:42 +0000
> I am trying to build VNC for windows 95. The viewer built with
> no problems. I got a number of error messages when I tried to
> build the server with MSDevStudio using the supplied .dsw. Some were
> related
> to CORBA, and others to omnithread, so I exported the makefiles, and
started
> building with the No_Corba option using nmake, and was only partially
> successful.
>
> Problem #1: This may not be a VNC problem, but I could not build VNCHooks
> using
> the Makefile that devstudio created. In fact I could not get the makefile
> to
> recognize any dependecies, but did get link errors because the object file
> could
> not be located. I tried the following to test how nmake was treating
> dependencies.
> foo2.txt : foo.txt
> copy foo.txt foo2.txt and nmake did nothing.
> The makefile for the omnithread directory worked fine. Nothing in the
path
> is a long
> name until I get to the omnithread,no_corba directories.
>
> Problem #2: So I made a batch file using the command line options in
> cpp_proj, and
> got the VNCHooks.dll to compile and located in the correct directory.
When
> I run the
> makefile for the server I get unresolved reference errors for _SetHook,
and
> _UnSetHook.
You should build the server using the supplied .dsw, but with the No_CORBA
build setup. DevStudio doesn't seem quite able to understand how to convert
projects into makefiles properly, so they often fail to work.
Cheers,
James "Wez" Weatherall
--
- Queens' College MCR Entertainments Officer -
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK - Tel : 343000
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------