Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mDNSResponder build errors on Windows



I have just downloaded the mDNSResponder source, and am trying the build the whole solution using Visual Studio.NET. Using the stock Visual Studio installation, I was getting compiler errors when the source was trying to find netfw.h. Googling this problem suggested a solution that involved using the most recent Platform SDK, but when I try to compile with that, then I get a mountain of other warnings and errors, such as:

    c:\Development\Microsoft Platform SDK\Include\WSPiApi.h(44) : error C2894: templates cannot be declared to have 'C' linkage
    c:\Development\Bonjour SDK\mDNSResponder-107.1\mDNSShared\dnssd_ipc.h(93) : warning C4005: 'MSG_WAITALL' : macro redefinition

So, my question is: what Visual Studio and Platform SDK combination is required to get this solution to compile cleanly? I am sure I can mix and match my headers to try and coax this to work, but someone somewhere must have gotten this to compile so I am hoping there might be a simple answer.

Thanks in advance.

--
-- Tom Otvos

"Don't think you are. Know you are." - Morpheus
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.