Thanks. I know Makefile.win32 is included. I was first trying to just use gcc and mingw.<br>I had to change the makefile as directed to make it run. But msys/make was still mangling some options.<br><br>Luckily I got my scons build up and running (using MS compiler ). No more msys yay! Scons is much simpler and easier to understand IMHO. If anybody is interested in my scons build file, let me know.<br>
<br><div class="gmail_quote">On Fri, Mar 21, 2008 at 8:51 PM, Vladimir Vukicevic <<a href="mailto:vladimir@pobox.com" target="_blank">vladimir@pobox.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Gerdus,<br>
<div><br>
On Mar 21, 2008, at 8:04 AM, Gerdus van Zyl wrote:<br>
<br>
> I am getting link errors when trying to build cairo snapshot 1.5.14<br>
> on Windows.<br>
> It works using msys/gcc but I can't find the DLL it is supposed to<br>
> create , no error though.<br>
><br>
> Getting cairo to compile from git is a real pain on windows, because<br>
> of autoconf/make and it's dependencies that still don't work after<br>
> weeks of trying. I'm a C noob so please forgive any obvious<br>
> mistakes. It may just be that my build env is messed up. So if<br>
> anybody else has success compiling on windows, I can know it's me :-)<br>
<br>
</div>You shouldn't need to deal with autoconf/etc.; Makefile.win32 is pre-<br>
created for you. The one thing you'll need to provide is a cairo-<br>
features.h in the src dir (which normally autoconf would generate),<br>
but it looks like you're already past that. Looking at your VC8<br>
output, for some reason the compiler is interpreting -link as "link"<br>
instead of passing the flags afterward to the linker... I haven't<br>
tried building VC9 (VS 2008), so I wonder if something changed with<br>
cl. I know that it builds fine with VC8.<br>
<br>
You may try modifying Makefile.win32 in the toplevel dir and or the<br>
src dir, and replace -link with /link and -DEF with /DEF (or, if<br>
you're running under the MSYS shell, with //link and //def so that the<br>
shell doesn't try to do path munging).<br>
<br>
- Vlad<br>
<br>
<br>
</blockquote></div><br>