Libnet compiling in Visual Studio .NET 2003

<[email protected]> 20 Jul 2004 16:56:24 -0000
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>

Hi,
I cannot seem to get code to work for Visual Studio
.NET 2003. I
followed the instructions in the win32 directory, and
I get linker
errors:
-Libnet warning LNK4070: /OUT:Libnet.dll directive in
.EXP differs from
output filename 'Release/Libnet-1.1.1.dll'; ignoring
directive
-Libnet error LNK2019: unresolved external symbol
_PacketGetNetInfo
referenced in function _libnet_get_ipaddr4
-Libnet fatal error LNK1120: 1 unresolved externals

I also tried to include all the directories and run
my own program. But
I got linker errors:
-Build_Pkt error LNK2001: unresolved external symbol
"struct
libnet_context * __cdecl libnet_init(int,char *,char
*)"
(?libnet_init@@$$J0YAPAUlibnet_context@@HPAD0@Z)
-Build_Pkt error LNK2001: unresolved external symbol
"unsigned int
__cdecl libnet_name2addr4(struct libnet_context
*,char *,unsigned char)"

(?libnet_name2addr4@@$$J0YAIPAUlibnet_context@@PADE@Z)
-Build_Pkt fatal error LNK1120: 2 unresolved
externals

Is there anything I can do?

Roshan