Author Topic: Wiki, Heads Up  (Read 3877 times)

Slivery

  • Guest
Wiki, Heads Up
« on: November 14, 2009, 04:09:21 pm »
Hi,

First, let me thank the team for this wonderful IDE. It's really easy to setup and use for a noob. :)

Having said that, I'd like to point out a simple but crucial instruction not mentioned in WxWindowsQuickRef. You have to remind the readers that they must reboot their computer prior to trying to compile and/or run any wxWidgets project in CodeBlocks after building wxMSW. Otherwise, they'll get nasty error messages such as this:

http://forums.codeblocks.org/index.php/topic,6645.0.html

I spent over an hour to troubleshoot the problem, but it wasn't until I rebooted my machine it went away.


Thanks.
« Last Edit: November 14, 2009, 04:13:13 pm by Slivery »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6025
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Wiki, Heads Up
« Reply #1 on: November 14, 2009, 04:33:30 pm »
Really?
If I can remember, last month, I have a new notepad(with Win Vista), then, I just compile wxWidgets(wxMsw), and continually build CB without reboot my computer. :D
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 stahta01

  • Lives here!
  • ****
  • Posts: 7670
    • My Best Post
Re: Wiki, Heads Up
« Reply #2 on: November 14, 2009, 04:43:51 pm »
I can see having to close all cmd windows and Code::Blocks might solve a issue if you are using wxpack.
But, I have no idea why re-booting would be needed. Because wxPack defines environmental variables that wont be seen to exiting cmd and Code::Block.

Tim S.
« Last Edit: November 14, 2009, 05:42:35 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Wiki, Heads Up
« Reply #3 on: November 14, 2009, 04:48:10 pm »
You have to remind the readers that they must reboot their computer prior to trying to compile and/or run any wxWidgets project in CodeBlocks after building wxMSW.
Rebooting should never be required; if it was, I would avoid whatever compiler or library forced it on me like the plague! Look elsewhere for the cause of your difficulties.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)