Re: [libdnet-devel] Compiling libdnet for VC++ .NET
Status: Abandoned
Brought to you by:
dugsong
|
From: Ronak S. <rsu...@gm...> - 2005-07-08 04:25:23
|
> > the first error looks like a problem with your link order, and the > others are probably from a missing iphlpapi.lib. > > can you show me the full command being executed to link your program? > I confirmed that iphlpapi.lib is existing in the lib directory path. I'm using VS .NET for compiling :-} (sheepish grin) and hence I've not run it from the cmd line. But this is what I see in the project settings in the Command line for compiling and linking C/C++: /O1 /I "." /I ".." /I "../nbase" /I "../libdnet-stripped/include" /I "../libpcre" /I "winip" /I "..\nsock\include" /I "pcap-include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FD /EHsc /MT /YX"stdafx.h" /Fp".\Release/nmap.pch" /Fo".\Release/" /Fd".\Release/" /nologo /c /TP Linker: /VERBOSE /OUT:".\Release/nmap.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"winip" /LIBPATH:"lib" /LIBPATH:"..\libpcre" /LIBPATH:"..\nsock" /LIBPATH:"..\nbase" /DELAYLOAD:"iphlpapi.dll" /DELAYLOAD:"wpcap.dll" /PDB:".\Release/nmap.pdb" /SUBSYSTEM:CONSOLE /OPT:NOWIN98 /MACHINE:X86 dnet.lib ws2_32.lib iphlpapi.lib wpcap.lib packet.lib nsock.lib libpcre.lib nbase.lib "\Ronak\SoC05\Nmap\nmap-3.82.2CSW\nbase\nbase.lib" "\Ronak\SoC05\Nmap\nmap-3.82.2CSW\nsock\nsock.lib" "\Ronak\SoC05\Nmap\nmap-3.82.2CSW\libpcre\libpcre.lib" ".\lib\dnet.lib" ".\winip\iphlpapi.lib" ".\lib\Wpcap.lib" ".\lib\Packet.lib" DelayImp.lib I have attached the BuildLog file, incase you can spot some obvious error. Thanks, indeed! Ronak PS: Resending without the attachment as the first mail bounced back. |