ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Keep getting "unresolved external symbol" error when trying

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 22 May 2013 01:22:30 -0700
On May 22, 2013, at 1:16 AM, Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> wrote:

> it is problem of linking a C Library with C++
> You need to use this fix :
> 
> +/* linking C functions */
> +extern "C"
> +{
> +#include "../summary.h"
> +}

Or pick up the current top-of-trunk SVN version, wherein summary.h has the extern "C" stuff in it (it belongs there, not in code that includes summary.h).