I was asked:
>>>
What is your current working dir when starting ethereal.exe?
It seems to be D:\Projects\Ethereal\dist and should be
D:\Projects\Ethereal\dist\bin
<<<
I'm double-clicking on the ethereal.exe file from Windows Explorer. Best I
can tell, that would make the working directory dist\bin. I'll try it from
the command line in the bin directory to be sure.
Donnie
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Ulf Lamping
Sent: Wednesday, April 14, 2004 1:22 AM
To: Ethereal development
Subject: Re: [Ethereal-dev] Questions & Lessons building on Win32
Donnie Hale wrote:
>Thanks to everyone for their prompt input. I've made some progress. As I
>didn't really want a full install of the old Visual Studio, I did a very
>minimal install (essentially just command-line tools and
includes/libraries)
>on another machine. I also did a very minimal install of the Win32 SDK
under
>that same directory on the other machine. Then I .zipped up that directory
>and copied to my dev machine. (I did that to avoid all the crap that
happens
>when a product is installed.) So now I have a very lean install of the VC6
>stuff which I can use.
>
>In that environment, I've had pretty good success building the ethereal
>binaries. I am still encountering some anomalies, for which I have
>questions. Note that for a test environment, I've created the following
>directory structure:
>
>dist/
> bin/
> diameter (copied from binary distribution location)
> etc/* (copied from binary distribution location)
> lib/* (with dll's copied from 3rd party library locations)
> plugins/0.10.3
> snmp/mibs (copied from binary distribution location)
>
>I put the DLLs from the 3rd party libraries plus the just-built ethereal
>.exe's and wiretap.dll in the "bin" directory. I put the just-built plugin
>dll's in the plugins/0.10.3 directory.
>
>1) If I include the "rudp.dll" plugin in the plugins/0.10.3 directory,
>ethereal.exe immediately gives an access violation accessing memory at
>0x00000000 during startup. A quick glance at dumpbin on that DLL doesn't
>show anything out of the ordinary. Has anyone encountered this issue?
>
>
Don't know that plugin.
>2) ethereal.exe doesn't seem to acknowledge the "etc" and "lib" directories
>under "bin" (i.e. same relative location as in the binary distribution).
>With that environment, when I run ethereal.exe I get an assertion error
>during startup: "toolbar.c, line 190 (pixbuf)". In a command window, this
>message appears:
>
>(ethereal.exe:6664): GdkPixbuf-WARNING **: Can not open pixbuf loader
module
>file 'D:\Projects\Ethereal\dist\etc\gtk-2.0\gdk-pixbuf.loaders': No such
>file or directory
>
>(ethereal.exe:6664): GdkPixbuf-WARNING **: Error loading XPM image loader:
>Image type 'xpm' is not supported
>
>Based on that error message, I created "etc" and "lib" directories under
>"dist" (see above) rather than under "bin". Having done that, ethereal.exe
>seems to work OK. I don't understand why a different relative directory
>structure than in the binary distribution works when I've built the
binaries
>myself? Thoughts?
>
>
What is your current working dir when starting ethereal.exe?
It seems to be D:\Projects\Ethereal\dist and should be
D:\Projects\Ethereal\dist\bin
Regards, ULFL
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev