User forums > Nightly builds

The 31 January 2007 build is out.

<< < (5/7) > >>

wxLearner:
Hello,
I think, I've found a small bug in wxSmith: wxStdDialogButtonSizer doesn't work anymore.
(seen on WinXP SP2)

Thank you for the best IDE! :D

stahta01:

--- Quote from: user_mv on February 01, 2007, 08:15:12 am ---Greetings,

   I'm a new user to the Code::Blocks IDE. I'm using Windows XP and minGW and the latest Codeblocks nightly build.  I've set the global variables in Codeblocks as cb = c:\codeblocks\src and wx = c:\wxwidgets-2.6.3. I have installed wxWidgets-2.6.3 and added the latest 2.6.3 patch. The SVN version of the code I'm using is 3558.

   When I load CodeBlocks.cbp and try to build it (using minGW as the compiler), it begins compiling and completes all targets up until src and then fails. It fails because the linker does not find resources.res. In fact, it appears that the resource compiler (windres) never gets called, and thus resource.res never gets built.

   And BTW, there are NO spaces in the names of my directories.

   To get around this problem, I manually called windres by typing

           C:\codeblocks\src>windres -i "C:\codeblocks\src\src\resources\resources.rc" -J rc -o .objs\2.6\src\resources\resources.res -O coff -IC:\wxWidgets-2.6.3\include -IC:\mingw\include

   and then compile again inside Codeblocks. This time the linker finds resources.res and links succefully, but I do get the warning:

           Info: resolving SquirrelVM::_VM       by linking to __imp___ZN10SquirrelVM3_VME (auto-import)

   Is this warning normal ??

   I am able to build the plugins without problems and when I run update.bat everything goes well. The newly generated Codeblocks seems to work fine. However, this temporary "fix" (assuming that's what it is) is clearly not an acceptable long term solution.

   I don't know if the problem is something I'm doing wrong, or an incorrect project file (CodeBlocks.cbp), or a bug in the Codebocks code.

   I hope you can fix this issue or point out what I'm missing. Thank you in advance.


--- End quote ---

What version of GCC are you using?
3.3.x or 3.4.x?

Please verify that the file "c:\wxwidgets-2.6.3\lib\gcc_dll\mswu\wx\msw\rcdefs.h" exists?

Tim S

Right click on src\resources\resources.rc in the "Projects" viewer.
On the advanced tab try changing compiler Variable to CPP instead and see if that works.
Also, remove the check mark by link file under general tab.

Note: I had the problem for me on testing C::B link against wxWidgets 2.8.1.1 with WX_PRECOMP turned off (By that I mean WX_PRECOMP was not defined.) Note, if you are using GCC 3.3.x you will be doing something like having WX_PRECOMP turned off.


--- Code: --- <Unit filename="src\resources\resources.rc">
<Option compilerVar="WINDRES" />
<Option target="src" />
</Unit>

--- End code ---

stardust:

--- Quote from: rjmyst3 on February 01, 2007, 01:32:03 pm ---this sounds like a well know bug in wxGTK 2.6.x - it doesn't handle drag'n'drop properly, so it's possible to get stuck "dragging" if you move the mouse while clicking on a tab.

If you feel like compiling code::blocks yourself, you could modify the sources to disable dragging in the notebook - see nzoltan's question in this thread:
http://forums.codeblocks.org/index.php?topic=4442.msg35221#msg35221

--- End quote ---

Yepp, thanks for the link. It works now.


--- Quote from: rjmyst3 on February 01, 2007, 01:32:03 pm ---If you feel like compiling code::blocks yourself
--- End quote ---
As far as I can see there is no alternative to that. I want to add support for some more compilers etc...

ironhead:

--- Quote from: user_mv on February 01, 2007, 08:15:12 am ---When I load CodeBlocks.cbp and try to build it (using minGW as the compiler), it begins compiling and completes all targets up until src and then fails. It fails because the linker does not find resources.res. In fact, it appears that the resource compiler (windres) never gets called, and thus resource.res never gets built.

--- End quote ---

I've got a similar problem, in that all the C::B projects I have that have a resource file are no longer being compiled, and as was pointed out, windres is never being called.  Could it be that compiler variable 'WINDRES' is no longer set or had no action?

stahta01:

--- Quote from: ironhead on February 01, 2007, 07:01:12 pm ---
--- Quote from: user_mv on February 01, 2007, 08:15:12 am ---When I load CodeBlocks.cbp and try to build it (using minGW as the compiler), it begins compiling and completes all targets up until src and then fails. It fails because the linker does not find resources.res. In fact, it appears that the resource compiler (windres) never gets called, and thus resource.res never gets built.

--- End quote ---

I've got a similar problem, in that all the C::B projects I have that have a resource file are no longer being compiled, and as was pointed out, windres is never being called.  Could it be that compiler variable 'WINDRES' is no longer set or had no action?

--- End quote ---

I deleted the compiler variable value of windres and it automaically put in CPP and it worked for me after I removed the link file check mark.

Tim S

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version