← Back to team overview

kicad-developers team mailing list archive

Re: Error on Compiling kicad program

 

--- In kicad-devel@xxxxxxxxxxxxxxx, "ramboanahenry" 
<ramboanahenry@...> wrote:
>
> 
> When compiling kicad applications using the wxWidgets and VC2005,
> I encounter an error message that looks something like the 
following:
> 
> 1>Linking...
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * info_xpm" (?info_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * help_xpm" (?help_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2019: unresolved external symbol "public:
> class wxMenu * __thiscall WinEDA_App::SetLanguageList(class wxMenu 
*)" 
> 
> (?SetLanguageList@WinEDA_App@@QAEPAVwxMenu@@PAV2@@Z) referenced in
> function "public: virtual void __thiscall
> WinEDA_MainFrame::ReCreateMenuBar(void)" 
> 
> (?ReCreateMenuBar@WinEDA_MainFrame@@UAEXXZ)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * preference_xpm" (?preference_xpm@@3PAPBDA)
> 1>prjconfig.obj : error LNK2001: unresolved external symbol "class
> WinEDA_App * g_EDA_Appl" (?g_EDA_Appl@@3PAVWinEDA_App@@A)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "class
> WinEDA_App * g_EDA_Appl" (?g_EDA_Appl@@3PAVWinEDA_App@@A)
> 1>files-io.obj : error LNK2001: unresolved external symbol "class
> WinEDA_App * g_EDA_Appl" (?g_EDA_Appl@@3PAVWinEDA_App@@A)
> 1>kicad.obj : error LNK2001: unresolved external symbol "class
> WinEDA_App * g_EDA_Appl" (?g_EDA_Appl@@3PAVWinEDA_App@@A)
> 1>preferences.obj : error LNK2001: unresolved external symbol "class
> WinEDA_App * g_EDA_Appl" (?g_EDA_Appl@@3PAVWinEDA_App@@A)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * apply_xpm" (?apply_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * datasheet_xpm" (?datasheet_xpm@@3PAPBDA)
> 1>treeprj_datas.obj : error LNK2001: unresolved external 
symbol "char
> const * * datasheet_xpm" (?datasheet_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * fonts_xpm" (?fonts_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * editor_xpm" (?editor_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2019: unresolved external symbol "public:
> class wxString __thiscall WinEDA_BasicFrame::GetLastProject(int)" 
> 
> (?GetLastProject@WinEDA_BasicFrame@@QAE?AVwxString@@H@Z) referenced 
in
> function "public: virtual void __thiscall
> WinEDA_MainFrame::ReCreateMenuBar(void)" 
> 
> (?ReCreateMenuBar@WinEDA_MainFrame@@UAEXXZ)
> 1>files-io.obj : error LNK2001: unresolved external symbol "public:
> class wxString __thiscall WinEDA_BasicFrame::GetLastProject(int)" 
> 
> (?GetLastProject@WinEDA_BasicFrame@@QAE?AVwxString@@H@Z)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * exit_xpm" (?exit_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * save_project_xpm" (?save_project_xpm@@3PAPBDA)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "class
> wxFont * g_ItalicFont" (?g_ItalicFont@@3PAVwxFont@@A)
> 1>buildmnu.obj : error LNK2001: unresolved external symbol "char 
const
> * * reload_xpm" (?reload_xpm@@3PAPBDA)
> 
> ...
> 
> 1>Debug\kicad04.exe : fatal error LNK1120: 66 unresolved externals
> 
> 
> Please can you reply as to how I can sort this error
>
If you could include the kicad.vcproj file it would help identify 
where the problem is.







References