error: 'wxGCDC' has not been declared, buidling for win7

CodeLite installation/troubleshooting forum
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: error: 'wxGCDC' has not been declared, buidling for win7

Post by eranif »

You need to make sure you update wxWidgets' DLLs as well
The best way to do this is to open a CMD.EXE from within codelite Right click on the file ( any file will do ) tab title and select 'Open shell at file path'
and run update.bat from that shell

When codelite opens a shell it applies its internal environment _before_ opening the shell so the shell will inherit them

Eran
Make sure you have read the HOW TO POST thread
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: error: 'wxGCDC' has not been declared, buidling for win7

Post by solewalker »

I rebuild them again and excuted update.exe as you mentioned but still having this error.

Image

Here is my update log

Code: Select all

E:\codelite-5.2\codelitegit\Runtime>update.bat
config\accelerators.conf.default
config\build_settings.xml.default
config\codelite.layout.default
config\codelite.xml.default
config\debuggers.xml.default
config\plugins.xml.default
6 File(s) copied
config\build_settings.xml.default.win
1 File(s) copied
debuggers\DebuggerGDB.dll
1 File(s) copied
images\common_tasks.png
images\cubes.png
images\help_earth.png
images\plugin_not_ok.png
images\plugin_ok.png
images\recent_files.png
images\recent_workspaces.png
images\splashscreen.png
8 File(s) copied
lexers\lexers_black.xml
lexers\lexers_default.xml
lexers\lexers_zmrok.xml
3 File(s) copied
plugins\abbreviation.dll
plugins\CallGraph.dll
plugins\CodeFormatter.dll
plugins\ContinuousBuild.dll
plugins\Copyright.dll
plugins\CppChecker.dll
plugins\Cscope.dll
plugins\DatabaseExplorer.dll
plugins\ExternalTools.dll
plugins\git.dll
plugins\Gizmos.dll
plugins\Outline.dll
plugins\QMakePlugin.dll
plugins\snipwiz.dll
plugins\Subversion2.dll
plugins\UnitTestPP.dll
plugins\wxFormBuilder.dll
plugins\ZoomNavigator.dll
18 File(s) copied
E:libcodeliteu.dll
E:libdatabaselayersqliteu.dll
E:libplugin_sdku.dll
E:libwxshapeframeworku.dll
E:libwxsqlite3u.dll
5 File(s) copied
plugins\resources\abbrev.png
plugins\resources\abbreviation.accelerators
plugins\resources\compfile.png
plugins\resources\connect_no.png
plugins\resources\cppcheck.png
plugins\resources\cscope.accelerators
plugins\resources\external_tools.accelerators
plugins\resources\qt16_new.png
plugins\resources\qt16_preferences.png
plugins\resources\qt24_new.png
plugins\resources\qt24_preferences.png
plugins\resources\svn_diff.png
plugins\resources\svn_settings.png
plugins\resources\svn_ssh.png
plugins\resources\wxfb_conflict.png
plugins\resources\wxfb_modified.png
plugins\resources\wxfb_ok.png
17 File(s) copied
rc\menu.xrc
1 File(s) copied
Invalid path
0 File(s) copied
gdb_printers\qt4.py
gdb_printers\wx.py
gdb_printers\libstdcxx\__init__.py
gdb_printers\libstdcxx\v6\printers.py
gdb_printers\libstdcxx\v6\__init__.py
5 File(s) copied
templates\formbuilder\DialogTemplate.fbp
templates\formbuilder\DialogTemplateWithButtons.fbp
templates\formbuilder\FrameTemplate.fbp
templates\formbuilder\PanelTemplate.fbp
4 File(s) copied
templates\projects\cobra-executableU\build-file
templates\projects\cobra-executableU\cobra-executableU.project
templates\projects\cobra-libraryU\cobra-library.project
templates\projects\cobra-libraryU\lib-build-files
templates\projects\cobra-staticU\build-file
templates\projects\cobra-staticU\cobra-staticU.project
templates\projects\ConsoleClang\ConsoleClang.project
templates\projects\ConsoleClang\main.c
templates\projects\ConsoleClang++\ConsoleClang++.project
templates\projects\ConsoleClang++\main.cpp
templates\projects\cpp_gtkmm24_template\cpp_gtkmm24_template.project
templates\projects\cpp_gtkmm24_template\icon.png
templates\projects\cpp_gtkmm24_template\main.cpp
templates\projects\cpp_gtkmm24_template\mainwindow.cpp
templates\projects\cpp_gtkmm24_template\mainwindow.h
templates\projects\cpp_gtkmm3_template\cpp_gtkmm3_template.project
templates\projects\cpp_gtkmm3_template\icon.png
templates\projects\cpp_gtkmm3_template\main.cpp
templates\projects\cpp_gtkmm3_template\mainwindow.cpp
templates\projects\cpp_gtkmm3_template\mainwindow.h
templates\projects\custom-makefile\custom-makefile.project
templates\projects\custom-makefile\icon.png
templates\projects\c_gtk24_template\c_gtk24_template.project
templates\projects\c_gtk24_template\icon.png
templates\projects\c_gtk24_template\main.c
templates\projects\c_gtk3_template\c_gtk3_template.project
templates\projects\c_gtk3_template\icon.png
templates\projects\c_gtk3_template\main.c
templates\projects\dynamic-library\dynamic-library.project
templates\projects\dynamic-library\icon.png
templates\projects\dynamic-library-wx-enabled\dynamic-library-wx-enabled.project

templates\projects\dynamic-library-wx-enabled\icon.png
templates\projects\executable\executable.project
templates\projects\executable\icon.png
templates\projects\executable\main.cpp
templates\projects\executable-cobra\executable-cobra.project
templates\projects\executable-cobra\main.cobra
templates\projects\executable-console-wx-enabled\executable-console-wx-enabled.p
roject
templates\projects\executable-console-wx-enabled\icon.png
templates\projects\executable-console-wx-enabled\main.cpp
templates\projects\executable-gcc\executable-gcc.project
templates\projects\executable-gcc\icon.png
templates\projects\executable-gcc\main.c
templates\projects\executable-qt-enabled\executable-qt-enabled.project
templates\projects\executable-qt-enabled\icon.png
templates\projects\executable-qt-enabled\main.cpp
templates\projects\executable-qt-qmake-enabled\executable-qt-qmake-enabled.proje
ct
templates\projects\executable-qt-qmake-enabled\icon.png
templates\projects\executable-qt-qmake-enabled\main.cpp
templates\projects\executable-wx-dialog\executable-wx-dialog.project
templates\projects\executable-wx-dialog\gui.cpp
templates\projects\executable-wx-dialog\gui.fbp
templates\projects\executable-wx-dialog\gui.h
templates\projects\executable-wx-dialog\icon.png
templates\projects\executable-wx-dialog\main.cpp
templates\projects\executable-wx-dialog\main.h
templates\projects\executable-wx-enabled\executable-wx-enabled.project
templates\projects\executable-wx-enabled\icon.png
templates\projects\executable-wx-enabled\main.cpp
templates\projects\executable-wx-frame\executable-wx-frame.project
templates\projects\executable-wx-frame\gui.cpp
templates\projects\executable-wx-frame\gui.fbp
templates\projects\executable-wx-frame\gui.h
templates\projects\executable-wx-frame\icon.png
templates\projects\executable-wx-frame\main.cpp
templates\projects\executable-wx-frame\main.h
templates\projects\executable-wxcrafter-dialog\icon.png
templates\projects\executable-wxcrafter-dialog\main.cpp
templates\projects\executable-wxcrafter-dialog\MainDialog.cpp
templates\projects\executable-wxcrafter-dialog\MainDialog.h
templates\projects\executable-wxcrafter-dialog\win_resources.rc
templates\projects\executable-wxcrafter-dialog\wxcrafter.cpp
templates\projects\executable-wxcrafter-dialog\wxcrafter.h
templates\projects\executable-wxcrafter-dialog\wxcrafter.wxcp
templates\projects\executable-wxcrafter-dialog\wxcrafter_bitmaps.cpp
templates\projects\executable-wxcrafter-dialog\wxCrafter_MainDialog.project
templates\projects\executable-wxcrafter-frame\icon.png
templates\projects\executable-wxcrafter-frame\main.cpp
templates\projects\executable-wxcrafter-frame\MainFrame.cpp
templates\projects\executable-wxcrafter-frame\MainFrame.h
templates\projects\executable-wxcrafter-frame\win_resources.rc
templates\projects\executable-wxcrafter-frame\wxcrafter.cpp
templates\projects\executable-wxcrafter-frame\wxcrafter.h
templates\projects\executable-wxcrafter-frame\wxcrafter.wxcp
templates\projects\executable-wxcrafter-frame\wxcrafter_bitmaps.cpp
templates\projects\executable-wxcrafter-frame\wxCrafter_MainFrame.project
templates\projects\non-code-project\icon.png
templates\projects\non-code-project\non-code.project
templates\projects\static-library\icon.png
templates\projects\static-library\static-library.project
templates\projects\static-library-wx-enabled\icon.png
templates\projects\static-library-wx-enabled\main.cpp
templates\projects\static-library-wx-enabled\static-library-wx-enabled.project
templates\projects\UnitTest++\icon.png
templates\projects\UnitTest++\main.cpp
templates\projects\UnitTest++\UnitTest++.project
templates\projects\vc-dynamic-library\icon.png
templates\projects\vc-dynamic-library\vc-dynamic-library.project
templates\projects\vc-executable\icon.png
templates\projects\vc-executable\vc-executable.project
templates\projects\vc-static-lib\icon.png
templates\projects\vc-static-lib\vc-static-lib.project
102 File(s) copied
templates\gizmos\app.cpp.wizard
templates\gizmos\app.h.wizard
templates\gizmos\gui-dialog.cpp.wizard
templates\gizmos\gui-dialog.fbp.wizard
templates\gizmos\gui-dialog.h.wizard
templates\gizmos\gui-frame.cpp.wizard
templates\gizmos\gui-frame.fbp.wizard
templates\gizmos\gui-frame.h.wizard
templates\gizmos\liteeditor-plugin.project.wizard
templates\gizmos\main-dialog.cpp.wizard
templates\gizmos\main-dialog.h.wizard
templates\gizmos\main-frame.cpp.wizard
templates\gizmos\main-frame.h.wizard
templates\gizmos\main.cpp.wizard
templates\gizmos\mainframe.cpp.wizard
templates\gizmos\mainframe.h.wizard
templates\gizmos\plugin.cpp.wizard
templates\gizmos\plugin.h.wizard
templates\gizmos\resources.rc.wizard
templates\gizmos\wxmain.project.wizard
templates\gizmos\wxproject-fb.project.wizard
templates\gizmos\wxproject.project.wizard
templates\gizmos\wx_pch.h.wizard
23 File(s) copied
templates\codedesigner\CDTemplate.cdp
templates\codedesigner\HSCHTemplate.cdp
templates\codedesigner\HSCHTemplateWithMain.cdp
templates\codedesigner\SCHTemplate.cdp
templates\codedesigner\SCHTemplateWithMain.cdp
5 File(s) copied
templates\databaselayer\dataClass.ctmp
templates\databaselayer\dataClass.htmp
templates\databaselayer\dataClass_dba.ctmp
templates\databaselayer\dataClass_dba.htmp
templates\databaselayer\dataClass_dbl.ctmp
templates\databaselayer\dataClass_dbl.htmp
templates\databaselayer\dataClass_wxdba.ctmp
templates\databaselayer\dataClass_wxdba.htmp
templates\databaselayer\viewClass.ctmp
templates\databaselayer\viewClass.htmp
templates\databaselayer\viewClass_dba.ctmp
templates\databaselayer\viewClass_dba.htmp
templates\databaselayer\viewClass_dbl.ctmp
templates\databaselayer\viewClass_dbl.htmp
templates\databaselayer\viewClass_wxdba.ctmp
templates\databaselayer\viewClass_wxdba.htmp
16 File(s) copied
templates\qmake\qmake.project
1 File(s) copied
E:index.html
E:svnreport.html
2 File(s) copied
E:codelite-icons.zip
1 File(s) copied
E:codelite-icons-dark.zip
1 File(s) copied
E:codelite-icons-fresh-farm.zip
1 File(s) copied
locale\README
1 File(s) copied
..\lib\gcc_lib\libdatabaselayersqliteu.dll
1 File(s) copied
..\lib\gcc_lib\libwxshapeframeworku.dll
1 File(s) copied
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_adv_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_aui_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_core_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_gl_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_html_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_media_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_propgrid_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_ribbon_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_richtext_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_stc_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_webview_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxmsw294u_xrc_gcc_cl.dll
12 File(s) copied
E:\wxWidgets-2.9.4\lib\gcc_dll\wxbase294u_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxbase294u_net_gcc_cl.dll
E:\wxWidgets-2.9.4\lib\gcc_dll\wxbase294u_xml_gcc_cl.dll
3 File(s) copied
E:\wxWidgets-2.9.4\lib\gcc_dll\wxrc.exe
1 File(s) copied
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
codelite was updated into \Program Files\CodeLite
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: error: 'wxGCDC' has not been declared, buidling for win7

Post by solewalker »

Okay, I know whats the problem, I had built wxWidget few days ago with wxGCDC enabled and I realized now, so I replaced your gcc_dll folder with mine and run update.exe again and it worked :D
Post Reply