Page 1 of 2

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

Posted: Mon Jun 10, 2013 8:38 pm
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

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

Posted: Mon Jun 10, 2013 8:42 pm
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

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

Posted: Mon Jun 10, 2013 8:46 pm
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."

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

Posted: Mon Jun 10, 2013 8:50 pm
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

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

Posted: Mon Jun 10, 2013 8:52 pm
by solewalker
okay and thanks for the quick reply :)

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

Posted: Mon Jun 10, 2013 9:10 pm
by eranif
If your SourceForge link does not work, use this link instead:

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

Eran

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

Posted: Mon Jun 10, 2013 9:13 pm
by solewalker
codelite link works now :)

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

Posted: Mon Jun 10, 2013 10:01 pm
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]

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

Posted: Mon Jun 10, 2013 10:09 pm
by eranif
Did you try a full rebuild?
Eran

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

Posted: Mon Jun 10, 2013 10:11 pm
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.