Author Topic: The 31 January 2007 build is out.  (Read 36856 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: The 31 January 2007 build is out.
« Reply #15 on: February 01, 2007, 10:11:57 am »
I confirm the bug with windres mentioned by user_mv but in my case with Windows 2000. So I came back to yesterday build (3553) which has not this problem.
And the bug described by once_upon_user looks similar to the one I described in http://forums.codeblocks.org/index.php?topic=5044.msg39535#msg39535.

gd_on

PS: Full logs : With 3553 works OK. With 3558 : windres is not invoked.

[attachment deleted by admin]
« Last Edit: February 01, 2007, 10:48:11 am by gd_on »
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline stardust

  • Multiple posting newcomer
  • *
  • Posts: 55
    • http://www.hightec-rt.com
Re: The 31 January 2007 build is out.
« Reply #16 on: February 01, 2007, 11:57:17 am »
C::B grabs the mouse! I cannot use the mouse in any application, entering text via keyboard is still possible. The mouse pointer looks like a "plus inupper left corner".

Last action was:
(Resources tab is active)
Project->Built options -> Change compiler default for all projects -> Confirm

Click on 'Project view in Manager' (formerly was the resources tab).

SVN: 3558
OS: SuSE 10.0, KDE, wx2.6.1

I tried to make a snapshot (blame me), but get in the snapshot tool:

Code
Grabbing the mouse failed with "AlreadyGrabbed"

Killing C::B releases the mouse.

----

I just reproduced the bug.
I now cound not even use the keyboard and ALT+TAB to switch to a console and had to kill C::B from remote...


« Last Edit: February 01, 2007, 02:12:16 pm by stardust »
Own SVN builds (quite new) • SuSE Linux 10.0 • Linux kernel 2.6.13-15-default
gcc 4.0.2 (20050901)
wxGTK-2.6.1.0-4 • KDE 3.4.2b • gtk2 2.8.3-4

Offline rjmyst3

  • Multiple posting newcomer
  • *
  • Posts: 117
    • wxFormBuilder
Re: The 31 January 2007 build is out.
« Reply #17 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

This bug is fixed in wxGTK 2.8, and there has been significant work by the Code::Blocks team to build with wx2.8, so hopefully soon we'll see a nightly built against wx2.8.

warlock24

  • Guest
Re: The 31 January 2007 build is out.
« Reply #18 on: February 01, 2007, 02:23:00 pm »
Hi,

Could someone can explain me why actualy theres no precompiled version of SDK included with nightly builds?

Is this such big problem to add one more link and provide "sdk.zip" to each topic?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5519
Re: The 31 January 2007 build is out.
« Reply #19 on: February 01, 2007, 02:25:28 pm »
the sources structures are different, we need to refactor those

wxLearner

  • Guest
Re: The 31 January 2007 build is out.
« Reply #20 on: February 01, 2007, 02:53:24 pm »
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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: The 31 January 2007 build is out.
« Reply #21 on: February 01, 2007, 03:20:32 pm »
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.


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>
« Last Edit: February 01, 2007, 04:56:39 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 stardust

  • Multiple posting newcomer
  • *
  • Posts: 55
    • http://www.hightec-rt.com
Re: The 31 January 2007 build is out.
« Reply #22 on: February 01, 2007, 04:54:49 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

Yepp, thanks for the link. It works now.

If you feel like compiling code::blocks yourself
As far as I can see there is no alternative to that. I want to add support for some more compilers etc...
Own SVN builds (quite new) • SuSE Linux 10.0 • Linux kernel 2.6.13-15-default
gcc 4.0.2 (20050901)
wxGTK-2.6.1.0-4 • KDE 3.4.2b • gtk2 2.8.3-4

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: The 31 January 2007 build is out.
« Reply #23 on: February 01, 2007, 07:01:12 pm »
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.

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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: The 31 January 2007 build is out.
« Reply #24 on: February 01, 2007, 07:14:48 pm »
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.

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?

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
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 gd_on

  • Lives here!
  • ****
  • Posts: 800
Re: The 31 January 2007 build is out.
« Reply #25 on: February 01, 2007, 08:28:06 pm »

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

Works also for me, but it's just a workaround because rc file is not compiled nor linked. So, as if there were not any resource file. Again came back to 3553 build.  :(

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: The 31 January 2007 build is out.
« Reply #26 on: February 01, 2007, 08:33:23 pm »

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

Works also for me, but it's just a workaround because rc file is not compiled nor linked. So, as if there were not any resource file. Again came back to 3553 build.  :(

gd_on

No, the .res file was created when I rebuild the project so I do NOT think the resource file was left out.
Note, I left it checked so it was compiled. I have no idea are resource files supposed to be linked?

Tim S
« Last Edit: February 01, 2007, 08:39:04 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 Marenz

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: The 31 January 2007 build is out.
« Reply #27 on: February 01, 2007, 08:43:06 pm »
C::B grabs the mouse! I cannot use the mouse in any application, entering text via keyboard is still possible. The mouse pointer looks like a "plus inupper left corner".

Last action was:
(Resources tab is active)
Project->Built options -> Change compiler default for all projects -> Confirm

Click on 'Project view in Manager' (formerly was the resources tab).

SVN: 3558
OS: SuSE 10.0, KDE, wx2.6.1

I tried to make a snapshot (blame me), but get in the snapshot tool:

Code
Grabbing the mouse failed with "AlreadyGrabbed"

Killing C::B releases the mouse.

----

I just reproduced the bug.
I now cound not even use the keyboard and ALT+TAB to switch to a console and had to kill C::B from remote...





I can confirm this bug. i always thought it was my window-managers fault. i got Ion3, debian etch, wx2.6 .
I don't need to open some menu'S for that, well i never actually see when it happens, i just programm as normal and suddendly i realize that i can't click anything. after trying to close CB, it refuses to close, but the problem was also gone.

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: The 31 January 2007 build is out.
« Reply #28 on: February 01, 2007, 08:58:57 pm »
No, the .res file was created when I rebuild the project so I do NOT think the resource file was left out.
Note, I left it checked so it was compiled. I have no idea are resource files supposed to be linked?

Yes, they should be linked, if not they will not be included as part of the resulting binary.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: The 31 January 2007 build is out.
« Reply #29 on: February 01, 2007, 10:44:57 pm »
No, the .res file was created when I rebuild the project so I do NOT think the resource file was left out.
Note, I left it checked so it was compiled. I have no idea are resource files supposed to be linked?

Yes, they should be linked, if not they will not be included as part of the resulting binary.

I am using a custom command to build the res file.

$rescomp -i $file -J rc -o .objs\2.6\src\resources\resources.res -O coff $res_includes

It appeared to work and then it stopped working.

Tim S
« Last Edit: February 01, 2007, 11:32:54 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