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

CodeLite installation/troubleshooting forum
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by solewalker »

My OS is windows7 64 bit. First I have downloaded and installed prebuilt wxWidget from here http://forums.codelite.org/viewtopic.php?f=9&t=2142
Then I followed this link to build codelite http://codelite.org/Developers/Windows#toc1

I have not followed step 1 as I have codelite 5.1 installed from sourceforge and I have replaced older wxwidget (that came with that installer) with newer wxWidget as I mentioned earlier.

So, basically I have done the follows
1. Launch codelite
2. Locate the workspace codelite_utils/codelite_utils.workspce and open it
3. Select the Release build configuration hit F7 and wait for the compilation to end
4. Close the workspace
5. Open the workspace LiteEditor.workspace
6. Select the configuration you wish to build (Win Release Unicode)
7. Build (F7).

I have successfully built codelite_utlis.workspace with error. But after I build codelite, opening LiteEditor.workspace with "Win Release Unicode" I get the following error
http://pastebin.com/DSzCLakN

Any clue what might be the problem :?:
git log -1 says following

Code: Select all

$ git log -1
commit 0c38897d7bff84efe1604bc6c410b6d330dd1d19
Merge: 9a9430c 1bf9ac2
Author: eran <eran.ifrah@gmail.com>
Date:   Mon Jun 10 15:33:51 2013 +0300

    Merge branch 'master' of ssh://git.code.sf.net/p/codelite/codelitegit

    # By Eran
    # Via Eran
    * 'master' of ssh://git.code.sf.net/p/codelite/codelitegit:
      Removed obsolete code of navigating back/forward Added 'Go to forward loca
      Minor UI alignment
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 »

solewalker wrote:First I have downloaded and installed prebuilt wxWidget from here viewtopic.php?f=9&t=2142
I have updated this post (1 min ago... ) as I uploaded an updated version to SF

Here is the updated link:

http://sourceforge.net/projects/codelit ... e/download

Replace the installation with this one and it should work

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 »

The link says "The "/Releases/codelite-5..l-wxGCDC-ENABLED.exe" file could not be found or is not available. Please select another file."
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 »

This looks like a bug in SF - I have rechecked the URL and copied the URL as the browser sees it...
I will upload it to codelite.org and provide a link here

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 »

okay and thanks for the quick reply :)
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 »

If your SourceForge link does not work, use this link instead:

http://downloads.codelite.org/codelite/ ... NABLED.exe

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 »

codelite link works now :)
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 rebuild everything and the error is gone, codelite 5.2 is compiled correctly :) but I had many warnings this type of

Code: Select all

cc1plus.exe: warning: ./../PCH/precompiled_header_release.h.gch: not a PCH file [enabled by default]
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 »

Did you try a full rebuild?
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 »

Its compiled correctly and I opened update.bat and changed set TARGET_DIR=%E:\Program Files% as my codelite installation is in E:\Program Files\codelite. If I try to run codelite.exe I am having this error

Image

edit : ok, I am once again rebuilding everything include utils and lite editor and see what happens.
Post Reply