Ethereal-dev: RE: [Ethereal-dev] Problem in Building Ethereal using msvc- DetailedDescription
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: "Bill Florac" <bill.florac@xxxxxxxxxxxxxx>
Date: Tue, 23 May 2006 21:45:34 -0500
Title: Message
Raman,
I it
looks like you have a path problem however, I'm not sure where to tell you to
fix it.
If
installed "normally" you should have the following
Cygwin
installed in c:\cygwin
Libs
get installed in c:\ethereal-win32-libs
VB6
installed in C:\Program Files\Microsoft Visual
Studio\VC98 (I have the same version of nmake you
have)
The
missing include file in your error is located in C:\Program Files\Microsoft Visual
Studio\VC98\Include\
I
don't think it matters where the source is but you should shell out and start
nmake from the folder that contains the nmake.makefile you want to
use.
I use
SlickEdit for my editor and compile with the following batch file (for compiling
the plug-in DLL.
@echo off
call VCVARS32.BAT echo Make... nmake -f Makefile.nmake echo. if not errorlevel 1 goto pass1 echo ******************************************************************************** goto done :pass1 echo Make OK echo Copy... copy /y mydll.dll ..\1.1.0\mydll.dll > nul if not errorlevel 1 goto pass2 echo ******************************************************************************** goto done :pass2 echo Copy OK :done rem pause I use
VCVARS32.BAT should look like this
@echo off
rem Root of Visual Developer Studio Common files. set VSCommonDir=C:\PROGRA~1\MICROS~3\Common rem Root of Visual Developer Studio installed
files.
set MSDevDir=C:\PROGRA~1\MICROS~3\Common\msdev98 rem Root of Visual C++ installed files.
set MSVCDir=C:\PROGRA~1\MICROS~3\VC98 rem VcOsDir is used to help create either a
Windows 95 or Windows NT specific path.
set VcOsDir=WIN95 if "%OS%" == "Windows_NT" set VcOsDir=WINNT echo Setting environment for using Microsoft
Visual C++ tools.
if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH% if "%OS%" == "" set PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%" set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE% set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB% set VcOsDir=
set VSCommonDir= I hope
this helps...
Bill
|
_______________________________________________ Ethereal-dev mailing list Ethereal-dev@xxxxxxxxxxxx http://www.ethereal.com/mailman/listinfo/ethereal-dev
- Prev by Date: [Ethereal-dev] Which Ethereal version is the last stable version for windows?
- Next by Date: [Ethereal-dev] ieee802.11 AID calculation patch
- Previous by thread: [Ethereal-dev] Which Ethereal version is the last stable version for windows?
- Next by thread: [Ethereal-dev] information for etherial
- Index(es):