Wireshark-dev: [Wireshark-dev] Lua embedded into C++
From: Kunal Thakrar <kunalthakrar@xxxxxxxxxxxxx>
Date: Wed, 1 Feb 2017 00:06:07 +0000
Hello all,
I am currently trying to embed Wireshark's Lua into my C++ GUI that I have made in order to customise Wireshark.
So far I have gone about adding the following to my existing GUI code.
other than the two prints being commented out and the addition of my include in place of config.h it is left unchanged
The header File I created is as follows:
From what I understand this should be working, however, I am getting the following errors:
Error 1
error LNK2019: unresolved external symbol _wslua_register_classes referenced in function "private: void __thiscall TCPAnalyserTreeWidget::Analyse(void)" (?Analyse@TCPAnalyserTreeWidget@@AAEXXZ)
C:\Users\Kunal\Work\FinalProject\Development\wsbuild32_1\qtui.lib(TCPAnalyser_dialog.obj)
wireshark
Error 2
error LNK1120: 1 unresolved externals
C:\Users\Kunal\Work\FinalProject\Development\wsbuild32_1\run\RelWithDebInfo\Wireshark.exe
1 1
wireshark
I can't for the life of me figure out why these errors are occurring and I was wondering if there was something I was missing. I have done a clean and a build again just to make sure it was this which was causing the issue. I am getting the same errors
if instead of doing all of this, I just include the epan\wslua\declare_wslua.h instead which points to the same functions.
Any help would be most appreciated!
Thanks in advance,
Kind Regards,
Kunal Thakrar
|
- Follow-Ups:
- Re: [Wireshark-dev] Lua embedded into C++
- From: Pascal Quantin
- Re: [Wireshark-dev] Lua embedded into C++
- Next by Date: Re: [Wireshark-dev] Lua embedded into C++
- Next by thread: Re: [Wireshark-dev] Lua embedded into C++
- Index(es):