ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] DISSECTOR_SUPPORT_SRC in another directory in Windows

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Sun, 25 Apr 2010 14:43:07 -0400
Just a guess, but maybe it's due to the different path separator ... i.e., '/' for *nix vs. '\' for Windows?
- Chris
________________________________________
From: wireshark-dev-bounces@xxxxxxxxxxxxx [wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jeremy O'Brien [obrien654j@xxxxxxxxx]
Sent: Friday, April 23, 2010 10:14 AM
To: Developer support list for Wireshark
Subject: [Wireshark-dev] DISSECTOR_SUPPORT_SRC in another directory in  Windows

I'm using DISSECTOR_SUPPORT_SRC in my Makefile.common to compile a c
file in another directory that gets linked into my plugin. This works
fine in linux, however in windows it gives a "cannot open input file
../common/support_file.obj"  I moved the file to the same directory as
my plugin, replaced the DISSECTOR_SUPPORT_SRC entry appropriately, and
it compiled fine. So my question is, is it possible to have a plugin
use a file that is not in the current directory for
DISSECTOR_SUPPORT_SRC?

My DISSECTOR_SUPPORT_SRC line just looks like this:

DISSECTOR_SUPPORT_SRC = ../common/support_file.c

Thank you,
Jeremy
CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and 
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.