I have the following problem. I keep getting these linker errors, although I included all the header files and provided the right settings for the project.
I use the C++ compiler in .NET framework.
Here are the linker erros:
NetworkAnalyzer error LNK2019: unresolved external symbol "class nbPacketDecoder * __cdecl nbGetPacketDecoder(int,char *,int)" referenced in function "public: __thiscall CCaptureWindow::CCaptureWindow(class wxWindow *,struct _capsettings *)"
NetworkAnalyzer error LNK2019: unresolved external symbol "class nbPDMLReader * __cdecl nbGetPDMLReader(char *,char *,int)" referenced in function "public: int __thiscall CCaptureWindow::LoadPDMLBuffer(class wxString)"
The project settings are:
- in C/C++ settings
- General: Additional Include Directories: ../nbDevPack/NetBee/Include
- Preprocessor: WIN32;_DEBUG;__WXDEBUG__;__WXMSW__;_WINDOWS;NOPCH; _CRTDBG_MAP_ALLOC;STRICT;_WINSOCKAPI_;WPCAP;HAVE_R EMOTE
- in Linker settings:
- General: Additional Libraries Directories ../nbDevPack/NetBee/Lib
- Input: Ignore specific library: MSVCRTD.lib
However, it seems it isn't capable to find those functions even if they are defined in the headers from ../NetBee/Include.
The library itself is packed as a .lib file and as a .exp file in the directory /NettBee/Lib
The .cpp files are built with C/C++ Build Tool and the header files with the Custom Build Tool provided by the .NET framework.
Please help. Thank you,
Adina