Author Topic: The 04 July 2007 build (4219) is out.  (Read 14013 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5188
The 04 July 2007 build (4219) is out.
« on: July 04, 2007, 08:40:30 pm »
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx284.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10.7z

The 04 July 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070704_rev4219_win32.7z
  - Linux :
   http://prdownload.berlios.de/codeblocks/CB_20070704_rev4219_Ubuntu6.10+7.04_wx2.8.4.deb (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070704_rev4219_Debian4.0_wx2.8.4.deb (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070704_rev4219_suse100-102.wx28.i586.rpm (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070704_rev4219_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • Respect projects modification flag when closing workspace and ask to save modified projects
  • Dynamic linker's path is now set correctly again for executing
  • Added EscapeSpaces() global function and exposed it to scripts along with a few other functions from globals.h
  • Updated debugger plugin to correctly set the dynamic linker's path

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)


Offline BCCISProf

  • Multiple posting newcomer
  • *
  • Posts: 60
    • Professor Langsam's Home Page
Re: The 04 July 2007 build (4219) is out.
« Reply #1 on: July 04, 2007, 09:16:02 pm »
Executing: "C:\Program Files\CodeBlocks/cb_console_runner.exe" fails in today's build. It works fine with yesterday's build.

Offline lud2k

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 04 July 2007 build (4219) is out.
« Reply #2 on: July 04, 2007, 10:26:49 pm »
Hi,

Is there any way to use "CTRL+TAB" to swap to the most recently seen file like in Opera and Notepad++ ?

Thanks a lot.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5188
Re: The 04 July 2007 build (4219) is out.
« Reply #3 on: July 04, 2007, 10:32:43 pm »
isn't that there by default ??

otherwise try to look for some setting in environment I think : can't try that now because ...
... Settings -> Environment crashes for me in linux --> anyone else having this problem ??

Offline lud2k

  • Single posting newcomer
  • *
  • Posts: 8
Re: The 04 July 2007 build (4219) is out.
« Reply #4 on: July 04, 2007, 10:42:09 pm »
Hi,

I found it. it was in Environment > Notebooks appearance.

Thanks a lot :-).

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5188
Re: The 04 July 2007 build (4219) is out.
« Reply #5 on: July 04, 2007, 10:47:40 pm »
no problem, now let's see if I can get rid of my crash

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5188
Re: The 04 July 2007 build (4219) is out.
« Reply #6 on: July 04, 2007, 11:20:09 pm »
did a make clean and make clean-zipfiles and ... --> back ok

but when I go to Settings -> Environment,such a nasty error dialog pop's back up : Can not enumerate files in directory /usr/local/share/codeblocks/locale 'error 2 : no such file or directory)

--> seems the trick to create it when not there doesn't work (probably no correct access rights to create it)

could this be correctly fixed ?

btw : OpenSuse 10.2 64-bit

Offline PsYhLo

  • Almost regular
  • **
  • Posts: 157
Re: The 04 July 2007 build (4219) is out.
« Reply #7 on: July 05, 2007, 08:14:18 am »
i create it by my self  8)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 04 July 2007 build (4219) is out.
« Reply #8 on: July 05, 2007, 10:44:55 am »
did a make clean and make clean-zipfiles and ... --> back ok

but when I go to Settings -> Environment,such a nasty error dialog pop's back up : Can not enumerate files in directory /usr/local/share/codeblocks/locale 'error 2 : no such file or directory)

--> seems the trick to create it when not there doesn't work (probably no correct access rights to create it)

could this be correctly fixed ?

btw : OpenSuse 10.2 64-bit
Since there were no objections to a global wxLogNull, we should do that. It's not a fix, but it hides the message :)
Will look into that later today.

Regarding the actual problem, make or update.bat should really copy some .mo files soon (if we had any  8)) or at least create that folder, it's a setup task not an application task.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

stefanos_

  • Guest
Re: The 04 July 2007 build (4219) is out.
« Reply #9 on: July 05, 2007, 12:01:36 pm »
Hello everyone.

I have tried to run a Win32 GUI project, everything compiled fine but while trying run it from Code::Blocks (with debug of course) it wouldn't display the GUI (I forgot to save the error code). I manually went to the location I saved it and run it from there and could display GUI. I removed 4219 version and I replaced it with 4215 it works everything normally. Can you please check it and tell me my mistake?

Best Regards,

Stefanos

Offline armageddon

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 04 July 2007 build (4219) is out.
« Reply #10 on: July 05, 2007, 12:09:12 pm »
Compilation of my console application fails with today's build (4219). Previous build (4215) was OK.

Offline skirby

  • Almost regular
  • **
  • Posts: 137
Re: The 04 July 2007 build (4219) is out.
« Reply #11 on: July 05, 2007, 12:10:41 pm »
Hello,

This is probably the same problem than above.

There is a problem with project path.
Here is the way to reproduce it:
Create a MS Dos project with this path for example : D:\Test - VS2005\
Compile your project and try to execute it by F9

Here is the error message you should have:
Quote
Checking for existence: D:\Test - VS2005\bin\Debug\test.exe
Executing: D:\Test\ -\ VS2005\bin\Debug\test.exe  (in D:\Test - VS2005\.)
Execution of 'D:\Test\ -\ VS2005\bin\Debug\test.exe ' in 'D:\Test - VS2005' failed.
Nothing to be done.

In MS Dos console window, you can see:
Quote
Process returned 4128768 (0x3F0000)   execution time : 0.000 s
Press any key to continue.


I hope you could fix it for the next build.
I have to restore old build for the moment.

Offline tvaster

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: The 04 July 2007 build (4219) is out.
« Reply #12 on: July 05, 2007, 03:25:50 pm »
Using Suse 10.2, wxWidgets 2.8 or 2.9 checked out SVN, updated SVN (4228).
I get the following error when compiling with GCC:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/local/lib/wx/include/x11univ-unicode-release-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/bindings -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_wxtypes.lo -MD -MP -MF .deps/sc_wxtypes.Tpo -c sc_wxtypes.cpp  -fPIC -DPIC -o .libs/sc_wxtypes.o
sc_plugin.cpp: In function 'SQInteger ScriptBindings::ScriptPluginWrapper::RegisterPlugin(SQVM*)':
sc_plugin.cpp:216: warning: cannot pass objects of non-POD type 'class wxCStrData' through '...'; call will abort at runtime
sc_plugin.cpp:221: warning: cannot pass objects of non-POD type 'class wxCStrData' through '...'; call will abort at runtime
sc_io.cpp: In function 'wxString ScriptBindings::IOLib::ChooseFile(const wxString&, const wxString&, const wxString&)':
sc_io.cpp:148: error: 'wxOPEN' was not declared in this scope

Compiling --with-X11 --enable-contrib

Any suggetions?

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: The 04 July 2007 build (4219) is out.
« Reply #13 on: July 05, 2007, 03:32:18 pm »
berli's down...surprised?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6663
    • My Best Post
Re: The 04 July 2007 build (4219) is out.
« Reply #14 on: July 05, 2007, 04:35:03 pm »
Using Suse 10.2, wxWidgets 2.8 or 2.9 checked out SVN, updated SVN (4228).
I get the following error when compiling with GCC:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/local/lib/wx/include/x11univ-unicode-release-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/scripting/include -I../../../../src/include/scripting/bindings -I../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_wxtypes.lo -MD -MP -MF .deps/sc_wxtypes.Tpo -c sc_wxtypes.cpp  -fPIC -DPIC -o .libs/sc_wxtypes.o
sc_plugin.cpp: In function 'SQInteger ScriptBindings::ScriptPluginWrapper::RegisterPlugin(SQVM*)':
sc_plugin.cpp:216: warning: cannot pass objects of non-POD type 'class wxCStrData' through '...'; call will abort at runtime
sc_plugin.cpp:221: warning: cannot pass objects of non-POD type 'class wxCStrData' through '...'; call will abort at runtime
sc_io.cpp: In function 'wxString ScriptBindings::IOLib::ChooseFile(const wxString&, const wxString&, const wxString&)':
sc_io.cpp:148: error: 'wxOPEN' was not declared in this scope

Compiling --with-X11 --enable-contrib

Any suggetions?


Try 2.8 with 2.6 comparability enabled. wxOPEN not declared is because of 2.6 comparability being disabled. 2.9 does not work with code::blocks without patches that needs someone to write them.

--enable-compat26 is the option to turn on 2.6 comparability

Tim S
« Last Edit: July 05, 2007, 04:39:51 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: The 04 July 2007 build (4219) is out.
« Reply #15 on: July 05, 2007, 04:48:17 pm »
I went back to July 3rd build.  It seems to be counting the spaces as separate directories so "\Documents and settings" is seen as "\documents \and \settings"

it doesn't execute the code.

Offline tvaster

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: The 04 July 2007 build (4219) is out.
« Reply #16 on: July 06, 2007, 06:18:47 am »
Ok, that got me a bunch further.   (SVN 4229)

Now I have:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/local/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT popup_dlg.lo -MD -MP -MF .deps/popup_dlg.Tpo -c src/wxFlatNotebook/popup_dlg.cpp  -fPIC -DPIC -o .libs/popup_dlg.o
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:75: error: invalid use of undefined type ‘struct wxDropTarget’
/usr/local/include/wx-2.8/wx/window.h:60: error: forward declaration of ‘struct wxDropTarget’
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:78: error: expected identifier before ‘*’ token


wxWidgets-2.8.4     --with-X11 --enable-compat26
codeblocks             --with-X11 --enable-contrib

Thanks Tim S for help on the last one.                             

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6663
    • My Best Post
Re: The 04 July 2007 build (4219) is out.
« Reply #17 on: July 06, 2007, 06:49:07 am »
Ok, that got me a bunch further.   (SVN 4229)

Now I have:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/local/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT popup_dlg.lo -MD -MP -MF .deps/popup_dlg.Tpo -c src/wxFlatNotebook/popup_dlg.cpp  -fPIC -DPIC -o .libs/popup_dlg.o
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:75: error: invalid use of undefined type ‘struct wxDropTarget’
/usr/local/include/wx-2.8/wx/window.h:60: error: forward declaration of ‘struct wxDropTarget’
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:78: error: expected identifier before ‘*’ token


wxWidgets-2.8.4     --with-X11 --enable-compat26
codeblocks             --with-X11 --enable-contrib

Thanks Tim S for help on the last one.                             

I think Code::Blocks requires wxMSW or wxGTK version of wxWidgets; in other words it does not work with "--with-X11" to my knowledge. But, I am a windows person so I might be mistaken.

Per http://www.wxwidgets.org/docs/supported.htm wxX11 does not support wxDropTarget you might check the dnd.h/dnd.cpp file to confirm it.

This most likely needs to be a new thread in another group. If you wish to ask if Code::Blocks supports using wxX11 to build Code::Blocks try "Help" Group at http://forums.codeblocks.org/index.php/board,1.0.html

After you confirm it does not support using wxX11 to build C::B and you wish to work on patches for Code::Blocks I suggest posting a new thread in the "Development" at http://forums.codeblocks.org/index.php/board,7.0.html

Tim S
« Last Edit: July 06, 2007, 07:07:35 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org