• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v4 Errors while trying to build a C++ project using Simconnect

Messages
40
Country
netherlands
i've been trying to build a project that was originally coded for 32 bit... while trying to get the code running when i selected the 64bit SimConnect.lib into the VC++ directories and Additional Include directories i got these errors while trying to build.


Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2019    unresolved external symbol __imp___stdio_common_vswprintf referenced in function "long __cdecl StringCbPrintfW(wchar_t *,unsigned __int64,wchar_t const *,...)" (?StringCbPrintfW@@YAJPEA_W_KPEB_WZZ)    ctrlx    C:\fscode-master\ctrlx\SimConnect.lib(commClient.obj)    1   
Error    LNK2019    unresolved external symbol __imp___stdio_common_vfprintf referenced in function printf    ctrlx    C:\fscode-master\ctrlx\SimConnect.lib(client.obj)    1   
Error    LNK2019    unresolved external symbol __imp_MakeSureDirectoryPathExists referenced in function "void __cdecl AppLocalFile(char *,int,char *,char *)" (?AppLocalFile@@YAXPEADH00@Z)    ctrlx    C:\fscode-master\ctrlx\FSCUtil.obj    1   
Error    LNK2019    unresolved external symbol __imp___acrt_iob_func referenced in function printf    ctrlx    C:\fscode-master\ctrlx\SimConnect.lib(client.obj)    1   
Error    LNK2019    unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xbad_alloc(void)" (__imp_?_Xbad_alloc@std@@YAXXZ) referenced in function "public: struct CLIENT_INPROC_ALLOC * __cdecl std::allocator<struct CLIENT_INPROC_ALLOC>::allocate(unsigned __int64)" (?allocate@?$allocator@UCLIENT_INPROC_ALLOC@@@std@@QEAAPEAUCLIENT_INPROC_ALLOC@@_K@Z)    ctrlx    C:\fscode-master\ctrlx\SimConnect.lib(commClient.obj)    1   
Error    LNK2019    unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z) referenced in function "public: virtual void * __cdecl ClientClient::`scalar deleting destructor'(unsigned int)" (??_GClientClient@@UEAAPEAXI@Z)    ctrlx    C:\fscode-master\ctrlx\SimConnect.lib(commClient.obj)    1   
Error    LNK2001    unresolved external symbol "void __cdecl operator delete(void *,unsigned __int64)" (??3@YAXPEAX_K@Z)    ctrlx    C:\fscode-master\ctrlx\SimConnect.lib(client.obj)    1   
Error    LNK2038    mismatch detected for '_MSC_VER': value '1600' doesn't match value '1900' in SimConnect.lib(SimConnectClient.obj)    ctrlx    C:\fscode-master\ctrlx\MSVCRT.lib(tncleanup.obj)    1   
Error    LNK1120    6 unresolved externals    ctrlx    C:\fscode-master\x64\Debug\ctrlx.dll    1
 
mismatch detected for '_MSC_VER': value '1600' doesn't match value '1900' in SimConnect.lib(SimConnectClient.obj)

You need to update the platform you are using to compile the project. You should be using VS2015 or later. or get the updates.

from the wiki on MS VS C++

MSVC++ 4.x _MSC_VER == 1000 (Visual Studio 4.0?)
MSVC++ 5.0 _MSC_VER == 1100 (Visual Studio 97)
MSVC++ 6.0 _MSC_VER == 1200 (Visual Studio 6.0)
MSVC++ 7.0 _MSC_VER == 1300 (Visual Studio .NET 2002)
MSVC++ 7.1 _MSC_VER == 1310 (Visual Studio .NET 2003)
MSVC++ 8.0 _MSC_VER == 1400 (Visual Studio 2005)
MSVC++ 9.0 _MSC_VER == 1500 (Visual Studio 2008)
MSVC++ 10.0 _MSC_VER == 1600 (Visual Studio 2010)
MSVC++ 11.0 _MSC_VER == 1700 (Visual Studio 2012)
MSVC++ 12.0 _MSC_VER == 1800 (Visual Studio 2013)
MSVC++ 14.0 _MSC_VER == 1900 (Visual Studio 2015)
MSVC++ 14.1 _MSC_VER >= 1910 (Visual Studio 2017)
 
i am running visual studio 2017... i will look into the update thanks!


EDIT: doing that changing the project target SDK to 10.0.16299.0 instead of NO UPGRADE gave me 312 errors...
 
Last edited:
Recall that .lib files created with VS are version specific. Whether you use VS2015 or VS2017, you need to use the VS2015 toolset.
Also, SimConnect.lib is compiled with the /MD option, so your project should also be compiled with /MD.
 
Recall that .lib files created with VS are version specific. Whether you use VS2015 or VS2017, you need to use the VS2015 toolset.
Also, SimConnect.lib is compiled with the /MD option, so your project should also be compiled with /MD.
How would i compile with /MD sir?

EDIT: I have set the runtime library property to /MD
 
Last edited:
now that i have fixed most of those errors i have been having errors that have to do with "abs"


Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    966   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    752   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    753   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    822   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    1012   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    1026   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    1065   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    1065   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    1413   
Error (active)    E0308    more than one instance of overloaded function "abs" matches the argument list:    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\PDFView.cpp    1419   
Warning    C4838    conversion from 'int' to 'DWORD' requires a narrowing conversion    pdfkneeboard    c:\fscode-master\fscmodule\src\fscjoy.cpp    76   
Error    C2660    'move_page': function does not take 1 arguments    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    1065   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    752   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    753   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    822   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    966   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    1012   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    1026   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    1065   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    1413   
Error    C2668    'abs': ambiguous call to overloaded function    pdfkneeboard    c:\fscode-master\pdfkneeboard\src\pdfview.cpp    1419

for example most of the abs errors have to do with the float zoom... :
Code:
float zoom = abs(ppage->zoom);
Code:
int w = 0, h = 0;
    page_s* ppage = current_page();
    if (ppage!=NULL) 
    {
        w = (int)(ppage->mediawidth * abs(ppage->zoom));
        h = (int)(ppage->mediaheight* abs(ppage->zoom));
 
In the first example, i presume that ppage->zoom is a double, rather than a float, so that VS doesn't understand whether you want to convert the double to a float and then return the absolute value, or whether you want to return the absolute value as a double and then convert that value to a float.
Explicitly casting ppage->zoom should probably solve the problem.
float zoom = abs( (float)(ppage->zoom) );
 
In the first example, i presume that ppage->zoom is a double, rather than a float, so that VS doesn't understand whether you want to convert the double to a float and then return the absolute value, or whether you want to return the absolute value as a double and then convert that value to a float.
Explicitly casting ppage->zoom should probably solve the problem.
float zoom = abs( (float)(ppage->zoom) );
changing :
float zoom = abs(ppage->zoom);
to :
float zoom = abs( (float)(ppage->zoom) );
did not work ... errors still are there...

i should also add that ppage is the current page (displaying pdf in sim ) the project was orriginally coded on VS2010 and only compatible upto p3d v3.. i really want to recompile and fix the errors to get it for p3d v4 ...
 
Last edited:
I tripped over this one recently when upgrading a project from VS2013 to VS2015. The maths libraries have changed. Somewhere in your project you will have a line that says:

#include <maths.h>

Change it to

#include <cmath>

and that should shut up the abs errors. Note: cmath is correct. There is no .h suffix.
 
I was able to resolve most of the errors... now i am stuck with these:

Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2019    unresolved external symbol pdf_closexref referenced in function "void __cdecl drop_document(struct document_s *)" (?drop_document@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol __imp_MakeSureDirectoryPathExists referenced in function "void __cdecl AppLocalFile(char *,int,char *,char *)" (?AppLocalFile@@YAXPEADH00@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\FSCUtil.obj    1   
Error    LNK2019    unresolved external symbol fz_cpudetect referenced in function "struct HWND__ * __cdecl pdfview_init(struct HWND__ *,char *,char *)" (?pdfview_init@@YAPEAUHWND__@@PEAU1@PEAD1@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_malloc referenced in function "void __cdecl render_page(struct fz_pixmap_s *,struct page_s *,int,float)" (?render_page@@YAXPEAUfz_pixmap_s@@PEAUpage_s@@HM@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_free referenced in function "void __cdecl drop_bitmap(struct bitmap_s *)" (?drop_bitmap@@YAXPEAUbitmap_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_concat referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_identity referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_scale referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_rotate referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_translate referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_roundrect referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_transformaabb referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_droppixmap referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_accelerate referenced in function "struct HWND__ * __cdecl pdfview_init(struct HWND__ *,char *,char *)" (?pdfview_init@@YAPEAUHWND__@@PEAU1@PEAD1@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_newrenderer referenced in function "struct HWND__ * __cdecl pdfview_init(struct HWND__ *,char *,char *)" (?pdfview_init@@YAPEAUHWND__@@PEAU1@PEAD1@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol fz_rendertree referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_needspassword referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_authenticatepassword referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_newxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_repairxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_loadxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_decryptxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_getpagecount referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_getpageobject referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_loadpage referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2019    unresolved external symbol pdf_droppage referenced in function "void __cdecl drop_document(struct document_s *)" (?drop_document@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK2001    unresolved external symbol pdf_devicergb    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1   
Error    LNK1120    27 unresolved externals    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\x64\Release\pdfkneeboard.dll    1
 
I was able to resolve most of the errors... now i am stuck with these:

Code:
Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2019    unresolved external symbol pdf_closexref referenced in function "void __cdecl drop_document(struct document_s *)" (?drop_document@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol __imp_MakeSureDirectoryPathExists referenced in function "void __cdecl AppLocalFile(char *,int,char *,char *)" (?AppLocalFile@@YAXPEADH00@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\FSCUtil.obj    1  
Error    LNK2019    unresolved external symbol fz_cpudetect referenced in function "struct HWND__ * __cdecl pdfview_init(struct HWND__ *,char *,char *)" (?pdfview_init@@YAPEAUHWND__@@PEAU1@PEAD1@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_malloc referenced in function "void __cdecl render_page(struct fz_pixmap_s *,struct page_s *,int,float)" (?render_page@@YAXPEAUfz_pixmap_s@@PEAUpage_s@@HM@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_free referenced in function "void __cdecl drop_bitmap(struct bitmap_s *)" (?drop_bitmap@@YAXPEAUbitmap_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_concat referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_identity referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_scale referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_rotate referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_translate referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_roundrect referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_transformaabb referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_droppixmap referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_accelerate referenced in function "struct HWND__ * __cdecl pdfview_init(struct HWND__ *,char *,char *)" (?pdfview_init@@YAPEAUHWND__@@PEAU1@PEAD1@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_newrenderer referenced in function "struct HWND__ * __cdecl pdfview_init(struct HWND__ *,char *,char *)" (?pdfview_init@@YAPEAUHWND__@@PEAU1@PEAD1@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol fz_rendertree referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_needspassword referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_authenticatepassword referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_newxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_repairxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_loadxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_decryptxref referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_getpagecount referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_getpageobject referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_loadpage referenced in function "void __cdecl worker_render(struct document_s *)" (?worker_render@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2019    unresolved external symbol pdf_droppage referenced in function "void __cdecl drop_document(struct document_s *)" (?drop_document@@YAXPEAUdocument_s@@@Z)    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK2001    unresolved external symbol pdf_devicergb    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\pdfkneeboard\PDFView.obj    1  
Error    LNK1120    27 unresolved externals    pdfkneeboardx    C:\Users\Ksimulations\Desktop\Ksimulations\fscode-master\x64\Release\pdfkneeboard.dll    1


these are my last errors i need to solve... ive been working really hard to resolve all other 300 + errors...
 
Normally caused by declaring a callback function and then not implementing it e.g. if I declared

ICON_UPDATE_CALLBACK switch_icon_cb;

and then had no

FLOAT64 FSAPI switch_icon_cb( PELEMENT_ICON pelement)


body I'd expect to see a similar error. As you've got so many errors of the same type, I'd be checking to see if an #include directive is missing.
 
Back
Top