Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Cannot open include file: ‘moduleinfo.h’: No such file or di

From: Paul Offord <Paul.Offord@xxxxxxxxxxxx>
Date: Fri, 5 Aug 2016 12:08:01 +0000

Hi Pascal,

 

Ha – I feel a bit stupid for not noticing that.

 

Thanks and regards…Paul

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Pascal Quantin
Sent: 05 August 2016 13:06
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-dev] Cannot open include file: ‘moduleinfo.h’: No such file or directory

 

Hi Paul,

 

2016-08-05 14:02 GMT+02:00 Paul Offord <Paul.Offord@xxxxxxxxxxxx>:

Hi All,

 

I’m writing a new plugin dissector (nothing to do with my previous post).  I just have the basic functions at the moment of initialiser, handoff and dissection – copied from the WS wiki.  The build in VS fails with:

 

Error C1083:  Cannot open include file: ‘moduleinfo.h’: No such file or directory

 

The include is in plugin.c.  I run:

 

cmake -D ENABLE_CHM_GUIDES=on -G "Visual Studio 12 Win64" ..\

 

and I thought this would add all of the External Dependencies I need.  When I look at the Gryphon plugin, moduleinfo.h is listed under External Dependencies, but when I go to my plugin it’s not listed.

 

What do I need to do?

 

You need to create a file named moduleinfo.h in your plugin folder that will look like the one found in gryphon plugin. Simply modify this one so as to change the PACKAGE and VERSION macros.

Regards,

Pascal. 

 


______________________________________________________________________

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

Any views or opinions expressed are solely those of the author and do not necessarily represent those of Advance Seven Ltd. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

Advance Seven Ltd. Registered in England & Wales numbered 2373877 at Endeavour House, Coopers End Lane, Stansted, Essex CM24 1SJ

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________