Menu

Pb in compiling npp insert plugin

2007-07-16
2012-11-14
  • steakhacher

    steakhacher - 2007-07-16

    Hi

    I am not a software designer and I have got some problem in compilation of npp insert plug-in.
    I use Visual C++ express on vista and I have installe the SDK nevertheless but when I try to generate npp insert I have got thes error messages
    1>GoToLineDlg1.obj : error LNK2019: unresolved external symbol __imp__SetDlgItemTextA@12 referenced in function "private: void __thiscall GoToLineDlg::cleanLineEdit(void)const " (?cleanLineEdit@GoToLineDlg@@ABEXXZ)
    1>GoToLineDlg1.obj : error LNK2019: unresolved external symbol __imp__GetDlgItemInt@16 referenced in function "private: int __thiscall GoToLineDlg::getLine(void)const " (?getLine@GoToLineDlg@@ABEHXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "public: virtual void __thiscall Window::display(bool)const " (?display@Window@@UBEX_N@Z)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__MoveWindow@24 referenced in function "public: virtual void __thiscall Window::reSizeTo(struct tagRECT &)" (?reSizeTo@Window@@UAEXAAUtagRECT@@@Z)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function "public: virtual void __thiscall Window::redraw(void)const " (?redraw@Window@@UBEXXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__InvalidateRect@12 referenced in function "public: virtual void __thiscall Window::redraw(void)const " (?redraw@Window@@UBEXXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "public: virtual void __thiscall Window::getClientRect(struct tagRECT &)const " (?getClientRect@Window@@UBEXAAUtagRECT@@@Z)
    1>StaticDialog.obj : error LNK2001: unresolved external symbol __imp__GetClientRect@8
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: virtual void __thiscall Window::getWindowRect(struct tagRECT &)const " (?getWindowRect@Window@@UBEXAAUtagRECT@@@Z)
    1>StaticDialog.obj : error LNK2001: unresolved external symbol __imp__GetWindowRect@8
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__IsWindowVisible@4 referenced in function "public: virtual bool __thiscall Window::isVisible(void)const " (?isVisible@Window@@UBE_NXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__IsWindow@4 referenced in function "public: virtual bool __thiscall Window::isVisible(void)const " (?isVisible@Window@@UBE_NXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "public: virtual void __thiscall StaticDialog::destroy(void)" (?destroy@StaticDialog@@UAEXXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__SendMessageA@16 referenced in function "public: virtual void __thiscall StaticDialog::destroy(void)" (?destroy@StaticDialog@@UAEXXZ)
    1>StaticDialog.obj : error LNK2001: unresolved external symbol __imp__SendMessageA@16
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__GetWindowTextA@12 referenced in function "public: void __thiscall DockingDlgInterface::create(struct tTbData *,bool)" (?create@DockingDlgInterface@@QAEXPAUtTbData@@_N@Z)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__SetFocus@4 referenced in function "public: virtual void __thiscall GoToLineDlg::display(bool)const " (?display@GoToLineDlg@@UBEX_N@Z)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__GetDlgItem@8 referenced in function "public: virtual void __thiscall GoToLineDlg::display(bool)const " (?display@GoToLineDlg@@UBEX_N@Z)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__IsCharAlphaNumericA@4 referenced in function _beNotified
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function "void __cdecl insertDateTime(bool)" (?insertDateTime@@YAX_N@Z)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__CheckMenuItem@12 referenced in function "void __cdecl insertHtmlCloseTag(void)" (?insertHtmlCloseTag@@YAXXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__GetMenu@4 referenced in function "void __cdecl insertHtmlCloseTag(void)" (?insertHtmlCloseTag@@YAXXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "void __cdecl getFileNamesDemo(void)" (?getFileNamesDemo@@YAXXZ)
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__SHGetPathFromIDListA@8 referenced in function _DllMain@12
    1>NppInsertPlugin.obj : error LNK2019: unresolved external symbol __imp__SHGetSpecialFolderLocation@12 referenced in function _DllMain@12
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__SetWindowPos@28 referenced in function "public: void __thiscall StaticDialog::goToCenter(void)" (?goToCenter@StaticDialog@@QAEXXZ)
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__ClientToScreen@8 referenced in function "public: void __thiscall StaticDialog::goToCenter(void)" (?goToCenter@StaticDialog@@QAEXXZ)
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__SetWindowLongA@12 referenced in function "protected: static int __stdcall StaticDialog::dlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?dlgProc@StaticDialog@@KGHPAUHWND__@@IIJ@Z)
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__GetWindowLongA@8 referenced in function "protected: static int __stdcall StaticDialog::dlgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?dlgProc@StaticDialog@@KGHPAUHWND__@@IIJ@Z)
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__ScreenToClient@8 referenced in function "protected: void __thiscall StaticDialog::alignWith(struct HWND__ *,struct HWND__ *,enum PosAlign,struct tagPOINT &)" (?alignWith@StaticDialog@@IAEXPAUHWND__@@0W4PosAlign@@AAUtagPOINT@@@Z)
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__CreateDialogParamA@20 referenced in function "public: virtual void __thiscall StaticDialog::create(int,bool)" (?create@StaticDialog@@UAEXH_N@Z)
    1>StaticDialog.obj : error LNK2019: unresolved external symbol __imp__CreateDialogIndirectParamA@20 referenced in function "public: virtual void __thiscall StaticDialog::create(int,bool)" (?create@StaticDialog@@UAEXH_N@Z)
    1>Release/NppInsertPlugin.dll : fatal error LNK1120: 29 unresolved externals
    1>Le journal de génération a été enregistré à l'emplacement "file://d:\developement\notepad++\plugin\NppInsertPlugin\Release\BuildLog.htm"
    1>NppInsertPlugin - 33 erreur(s), 0 avertissement(s)

    Has someone a solution for my problem.

    Thanks a lot

     
    • MJG

      MJG - 2007-07-22

      I don't have a solution, but it looks like you don't have one or more libraries specified for your linker.  You may need to update the library search path or linker search path, or you may need to get the type of library that the module needs (like a release version, if it worked with a debug version) before you can link successfully. --Joel