Author Topic: Compiled C::B Ok, but code editor is blank  (Read 4668 times)

Offline Greatwolf

  • Multiple posting newcomer
  • *
  • Posts: 48
Compiled C::B Ok, but code editor is blank
« on: February 24, 2010, 01:31:43 am »
I was able to build the latest trunk svn revision but when I run the new compiled C::B, the code editor doesn't seem to repaint correctly for some reason -- everything is just blank. The file tab is visible and if I press left and right arrows to move the cursor, I see the line and column on the bottom changes appropriately. Below is the screenshot to show what I mean:

Here's a quick outline of how I built the c::b svn trunk:

  • downloaded wxwidgets 2.8.10
  • compiled wxwidgets w/ settings monolithic, shared, release, use_xrc
  • downloaded latest c::b svn trunk
  • opened codeblocks.cbp with codeblocks 8.02 and built with target all
  • ran update.bat in the codeblock svn \src directory

Toolchain used:
MinGW gcc 3.4.5
zip.exe from http://stahlworks.com/dev/index.php?tool=zipunzip
CodeBlocks 8.02

[attachment deleted by admin]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Compiled C::B Ok, but code editor is blank
« Reply #1 on: February 24, 2010, 01:52:52 am »
I have build Cb_SVN many times, but didn't experience this behavior.
the only difference is I'm building CB under CB_nightly...
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Compiled C::B Ok, but code editor is blank
« Reply #2 on: February 25, 2010, 04:37:27 am »
Not sure what could be wrong as I have built a recent SVN builds using 8.02 base but i used TDMs  MinGW 4.4.1 not the ancient official 3.4.5.   Could always be worth upgrading your gcc and see if it helps.

http://www.tdragon.net/recentgcc/

Offline Greatwolf

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Compiled C::B Ok, but code editor is blank
« Reply #3 on: February 25, 2010, 09:26:18 pm »
thanks, I'll get gcc 4.4.1 and start everything fresh again. Will report back my results after I try that.