SaltyPaws / route_pi

Route Plotting plugin for OpenCPN. Plots Great Circle routes, Limited Circle Routes and Rhumb lines.
6 stars 8 forks source link

Windows Build #10

Closed rgleason closed 8 years ago

rgleason commented 8 years ago

Walter, I git cloned fresh and tried to build... am I missing some link file or lib?

Build FAILED.

"C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\ALL_BUILD.vcxproj" (default target) (1) -

"C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj" (default target) (3) -> (Link target) -> route_pi.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall PlugInC hartBase::chartpix_to_latlong(double,double,double ,double )" (?chartpix_to_latlong@PlugInChartBa se@@UAEXNNPAN0@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Pl ugInChartBase::chartpix_to_latlong(double,double,double ,double )" (?chartpix_to_latlong@PlugInCh artBase@@UAEXNNPAN0@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2019: unresolved external symbol "public: virtual thiscall opencpn_plug in_112::~opencpn_plugin_112(void)" (??1opencpn_plugin_112@@UAE@XZ) referenced in function "public: virtual void * thiscall opencpn_plugin_112::`vector deleting destructor'(unsigned int)" (??_Eopencpn_plugin_112@@UAEPAXI@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall opencpn _plugin_112::~opencpn_plugin_112(void)" (??1opencpn_plugin_112@@UAE@XZ) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj] route_pi.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall opencpn _plugin_112::MouseEventHook(class wxMouseEvent &)" (?MouseEventHook@opencpn_plugin_112@@UAE_NAAVwxM ouseEvent@@@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall op encpn_plugin_112::MouseEventHook(class wxMouseEvent &)"(?MouseEventHook@opencpn_plugin_112@@UAE_NAAVwxMouseEvent@@@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn _plugin_112::SendVectorChartObjectInfo(class wxString &,class wxString &,class wxString&,double,do uble,double,int)" (?SendVectorChartObjectInfo@opencpn_plugin_112@@UAEXAAVwxString@@00NNNH@Z) [C:\Us ers\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall op encpn_plugin_112::SendVectorChartObjectInfo(class wxString &,class wxString &,class wxString &,double,double,double,int)" (?SendVectorChartObjectInfo@opencpn_plugin_112@@UAEXAAVwxString@@00NNNH@Z) [ C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2019: unresolved external symbol "public: virtual thiscall opencpn_plug in_113::~opencpn_plugin_113(void)" (??1opencpn_plugin_113@@UAE@XZ) referenced in function "public:virtual void * thiscall opencpn_plugin_113::`vector deleting destructor'(unsigned int)" (??_Eopencpn_plugin_113@@UAEPAXI@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall opencpn _plugin_113::~opencpn_plugin_113(void)" (??1opencpn_plugin_113@@UAE@XZ) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall opencpn _plugin_113::KeyboardEventHook(class wxKeyEvent &)"(?KeyboardEventHook@opencpn_plugin_113@@UAE_NAA VwxKeyEvent@@@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall op encpn_plugin_113::KeyboardEventHook(class wxKeyEvent &)"(?KeyboardEventHook@opencpn_plugin_113@@UAE_NAAVwxKeyEvent@@@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn _plugin_113::OnToolbarToolDownCallback(int)"(?OnToolbarToolDownCallback@opencpn_plugin_113@@UAEXH@ Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall op encpn_plugin_113::OnToolbarToolDownCallback(int)"(?OnToolbarToolDownCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall opencpn _plugin_113::OnToolbarToolUpCallback(int)"(?OnToolbarToolUpCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall op encpn_plugin_113::OnToolbarToolUpCallback(int)"(?OnToolbarToolUpCallback@opencpn_plugin_113@@UAEXH@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2019: unresolved external symbol "public: __thiscall OCPN_downloadEvent:: OCPN_downloadEvent(int,int)" (??0OCPN_downloadEvent@@QAE@HH@Z) referenced in function "public: void __thiscall OCPN_downloadEvent::`default constructor closure'(void)" (??_FOCPN_downloadEvent@@QAEXXZ) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: __thiscall OCPN_downloadEv ent::OCPN_downloadEvent(int,int)" (??0OCPN_downloadEvent@@QAE@HH@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall OCPN_downloa dEvent::~OCPN_downloadEvent(void)" (??1OCPN_downloadEvent@@UAE@XZ) referenced in function "public:virtual void * __thiscall OCPN_downloadEvent::`vector deleting destructor'(unsigned int)" (??_EOCPN_downloadEvent@@UAEPAXI@Z) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall OCPN_do wnloadEvent::~OCPN_downloadEvent(void)" (??1OCPN_downloadEvent@@UAE@XZ) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

route_pi.obj : error LNK2001: unresolved external symbol "public: virtual class wxEvent * __thisc all OCPN_downloadEvent::Clone(void)const "(?Clone@OCPN_downloadEvent@@UBEPAVwxEvent@@XZ) [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

routegui_impl.obj : error LNK2001: unresolved external symbol "public: virtual class wxEvent * __ thiscall OCPN_downloadEvent::Clone(void)const "(?Clone@OCPN_downloadEvent@@UBEPAVwxEvent@@XZ) [C:\ Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxproj]

C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\Release\route_pi.dll : fatal error LNK11 20: 11 unresolved externals [C:\Users\Rick\Documents\GitHub\o-plugin\w-route_pi\build\route_pi.vcxp roj]

0 Warning(s)
23 Error(s)

Time Elapsed 00:00:22.42

rgleason commented 8 years ago

greatcircleroute

rgleason commented 8 years ago

Notes: Route_pi-undeclared.txt

rgleason commented 8 years ago

Walter, after you fix the true / false build error, perhaps I should close this one and start using new issues? This is getting pretty long. I really like the right-click "Start.. and "Finish... technique and will be using that mostly!

rgleason commented 8 years ago

Walter, Please note that I changed true to 1 and false to 0 and the plugin built and works. Please see the notes above. Thanks.

SaltyPaws commented 8 years ago

Hi Rick,

Thanks for spotting. I will change True to true, and False to false. This should work, if not let me know.

I will go ahead and remove the internal reference to BearingMercator.

rgleason commented 8 years ago

Walter, built the new version. That works True ---> true Windows MSVC++ is picky. This is closed now. I am going to add a couple of issues/items to Tracker for consideration. --Later. Do you want me to build and put this up on Opencpn Beta File Thingie so people can test it further?