----- Original Message -----
From: "Ian Scott" <ian.m.scott@...>
To: "Jeroen Broekhuijsen" <broekhui@...>
Cc: "Vxl-Users (E-mail)" <vxl-users@...>
Sent: Monday, June 21, 2004 8:52 PM
Subject: RE: [Vxl-users] [Vxl-suers] Problems linking the vxl 1.1.0 dll's in
> Please use plain text email on this list.
> > From: Jeroen Broekhuijsen
> > Project Options in C/C++:
> > /nologo /ML /W3 /GX /O2 /I "c:\vxl" /D "WIN32" /D "NDEBUG" /D
> > "_CONSOLE"
> > /D "_MBCS" /FR"Release/" /Fp"Release/main.pch" /YX
> > /Fo"Release/" /Fd"Release/" /FD /c
> Admittedly, the question doesn't mention your errors, but I suspect that
the Build FAQ Question 1
> is relevant.
> VXL is not built with /ML. Either you need to build VXL with /ML instead
of /MT, or build your code with /MT instead of /ML.
Sorry for the plaintext.
This actually worked! the /ML..
I used /MD when compiling with MSV6 (when loading the CMAKE files). Setting
my own program to /MD solved all linking errors except the ones described in
the other post.
I checked the file vil_stream_url.cxx and it does include <windows.h> (which
in turn should include winsock.h or winsock2.h).
It seems during the build of vil.lib something went wrong here.
Thanks for all the answers.