Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on April 06, 2006, 04:42:29 pm

Title: The 06 april 2006 build is out.
Post by: killerbot on April 06, 2006, 04:42:29 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml
A link to the unicode windows wxWidget dll for Code::Blocks : http://download.berlios.de/codeblocks/wxmsw26u_gcc_cb.7z
For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://download.berlios.de/codeblocks/mingwm10.7z

For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://download.berlios.de/codeblocks/wxmsw26_gcc_cb.7z

The 06 April 2006 build is out.
  - Windows : http://download.berlios.de/codeblocks/CB_20060406_rev2317_win32.7z
  - Linux :
         http://download.berlios.de/codeblocks/CB_20060406_rev2317_ubuntu.deb
         http://download.berlios.de/codeblocks/CB_20060406_rev2317_fc4.rpm

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 06 april 2006 build is out.
Post by: dllmain on April 06, 2006, 06:10:44 pm
No more crash-on-exit. Thank you!
Title: Re: The 06 april 2006 build is out.
Post by: penguino on April 06, 2006, 07:57:14 pm
I noticed that the C++ color scheme is not saved properly now upon exit.
The default color scheme is applied upon next startup.

Also, user keywords don't appear to be highlighted properly.

Am I the only one with these problems?
Title: Re: The 06 april 2006 build is out.
Post by: Pecan on April 06, 2006, 08:51:30 pm
I noticed that the C++ color scheme is not saved properly now upon exit.
The default color scheme is applied upon next startup.

Also, user keywords don't appear to be highlighted properly.

Am I the only one with these problems?

I have the same problem..
Title: Re: The 06 april 2006 build is out.
Post by: takeshimiya on April 06, 2006, 09:28:40 pm
Same here.
Title: Re: The 06 april 2006 build is out.
Post by: kkez on April 06, 2006, 10:54:46 pm
Are these two bugs, or it's by design?
1) Create a new project (with files, any project), the "project file format changed" dialog pops up (but there aren't old settings!)
2) Delete the file(s) inside "sources" virtual directory, this directory isn't deleted. Only on save it disappears.
Title: Re: The 06 april 2006 build is out.
Post by: alanwong on April 07, 2006, 03:42:45 am
After I install code::blocks (The 06 april 2006 build)
), and New project--->wxWidgets application(using uncode wxWidgets dll ,and no header file)---->build.

-------------- Build: default in test ---------------
Precompiling header: wx_pch.h
Compiling: main.cpp
Linking executable: wxwidgets_u.exe
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw26u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 25 seconds)
1 errors, 0 warnings
 

why?
Title: Re: The 06 april 2006 build is out.
Post by: TheNullinator on April 07, 2006, 04:13:44 am
You might want to check the build options of your project and make sure that the linker directories are correct.  If that doesn't help, could you turn on full compiler logging and post the result again, please?  To do this, go to "Settings" -> "Compiler and debugger" -> "Other" tab -> "Compiler logging" and select "Full command line".
Title: Re: The 06 april 2006 build is out.
Post by: alanwong on April 07, 2006, 04:32:52 am
Many thank you, I have To do this, go to "Settings" -> "Compiler and debugger" -> "Other" tab -> "Compiler logging" and select "Full command line".

the result of compiler logging:

-------------- Build: default in test ---------------
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH  -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\include" -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib"\gcc_dll\mswu -I"C:\Documents and Settings\Administrator\桌面\新建文件夹"\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include  -c wx_pch.h -o wx_pch.h.gch\default_wx_pch.h.gch
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH  -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\include" -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib"\gcc_dll\mswu -I"C:\Documents and Settings\Administrator\桌面\新建文件夹"\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include  -c main.cpp -o .objs\main.o
mingw32-g++.exe -L"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib" -L"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib"\gcc_dll -L"C:\Program Files\CodeBlocks\lib" -LE:\wxWidgets-2.6.2\lib  -o wxwidgets_u.exe .objs\main.o    -lwxmsw26u  -mwindows
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw26u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 21 seconds)
1 errors, 0 warnings
 
 
Title: Re: The 06 april 2006 build is out.
Post by: TheNullinator on April 07, 2006, 04:54:14 am
Try adding E:\wxWidgets-2.6.2\lib\gcc_dll to your project's linker directories.

EDIT:

Why do you have two installations ("C:\Documents and Settings\Administrator\桌面\新建文件夹" and "E:\wxWidgets-2.6.2") of wxWidgets?  Which one are you actually trying to use?

I'm guessing "C:\Documents and Settings\Administrator\桌面\新建文件夹" is the wxWidgets install the the global variable WX points to since all of it's directories are passed on the command line (as opposed to "E:\wxWidgets-2.6.2" which is missing lib\gcc_dll).
Title: Re: The 06 april 2006 build is out.
Post by: alanwong on April 07, 2006, 06:11:47 am
Now I have add 'E:\wxWidgets-2.6.2\lib\gcc_dll to  project's linker directories,I have create new project again,  directory of project is 'E:\TEST\wxtest',and set the global variable WX to 'E:\TEST\wxtest' ,but after Compile, it still report error messages:


(http://C:\Documents and Settings\Administrator\桌面\未命名.jpg)


-------------- Build: default in wxtest ---------------
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH  -IE:\TEST\wxtest\include -IE:\TEST\wxtest\lib\gcc_dll\mswu -IE:\TEST\wxtest\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include  -c wx_pch.h -o wx_pch.h.gch\default_wx_pch.h.gch
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH  -IE:\TEST\wxtest\include -IE:\TEST\wxtest\lib\gcc_dll\mswu -IE:\TEST\wxtest\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include  -c main.cpp -o .objs\main.o
mingw32-g++.exe -LE:\TEST\wxtest\lib -LE:\TEST\wxtest\lib\gcc_dll -L"C:\Program Files\CodeBlocks\lib" -LE:\wxWidgets-2.6.2\lib\gcc_dll  -o wxwidgets_u.exe .objs\main.o    -lwxmsw26u  -mwindows
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw26u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 31 seconds)
1 errors, 0 warnings
 



(http://)
Title: Re: The 06 april 2006 build is out.
Post by: TheNullinator on April 07, 2006, 06:22:30 am
You want WX to be set to "E:\wxWidgets-2.6.2".

Have you checked in "E:\wxWidgets-2.6.2\lib\gcc_dll" for libwxmsw26u.a?  It should be there.
Title: Re: The 06 april 2006 build is out.
Post by: alanwong on April 07, 2006, 08:54:17 am


I can not find libwxmsw26u.a in "E:\wxWidgets-2.6.2\lib\gcc_dll",why?
all files in "E:\wxWidgets-2.6.2\lib\gcc_dll"  as follows:

mswunivu\  -------------> it is a folder.
libwxbase26u.a
libwxbase26u_net.a
libwxbase26u_odbc.a
libwxbase26u_xml.a
libwxexpat.a
libwxjpeg.a
libwxmswuniv26u_adv.a
libwxmswuniv26u_core.a
libwxmswuniv26u_dbgrid.a
libwxmswuniv26u_gl.a
libwxmswuniv26u_html.a
libwxmswuniv26u_media.a
libwxmswuniv26u_xrc.a
libwxpng.a
libwxregexu.a
libwxtiff.a
libwxzlib.a
wxbase26u_gcc_custom.dll
wxbase26u_net_gcc_custom.dll
wxbase26u_odbc_gcc_custom.dll
wxbase26u_xml_gcc_custom.dll
wxmswuniv26u_adv_gcc_custom.dll
wxmswuniv26u_core_gcc_custom.dll
wxmswuniv26u_dbgrid_gcc_custom.dll
wxmswuniv26u_gl_gcc_custom.dll
wxmswuniv26u_html_gcc_custom.dll
wxmswuniv26u_media_gcc_custom.dll
wxmswuniv26u_xrc_gcc_custom.dll


NOW  I have set wx to "E:\wxWidgets-2.6.2",and Compile again,but it still report message:

-------------- Build: default in wxtest ---------------
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH  -IE:\wxWidgets-2.6.2\include -IE:\wxWidgets-2.6.2\lib\gcc_dll\mswu -IE:\wxWidgets-2.6.2\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include  -c wx_pch.h -o wx_pch.h.gch\default_wx_pch.h.gch
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH  -IE:\wxWidgets-2.6.2\include -IE:\wxWidgets-2.6.2\lib\gcc_dll\mswu -IE:\wxWidgets-2.6.2\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include  -c main.cpp -o .objs\main.o
mingw32-g++.exe -LE:\wxWidgets-2.6.2\lib -LE:\wxWidgets-2.6.2\lib\gcc_dll -L"C:\Program Files\CodeBlocks\lib" -LE:\wxWidgets-2.6.2\lib\gcc_dll  -o wxwidgets_u.exe .objs\main.o    -lwxmsw26u  -mwindows
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw26u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 41 seconds)
1 errors, 0 warnings
 
Title: Re: The 06 april 2006 build is out.
Post by: TheNullinator on April 07, 2006, 09:02:31 am
Hmm.  In my lib\gcc_dll directory I've got:

mswu
libwxregexu.a
libwxzlib.a
libwxpng.a
libwxjpeg.a
libwxtiff.a
libwxexpat.a
wxmsw26u_gcc_custom.dll
libwxmsw26u.a

How did you compile wxWidgets?  I did it like this: http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_%28MSW%29 (http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_%28MSW%29)
Title: Re: The 06 april 2006 build is out.
Post by: thomas on April 07, 2006, 09:05:38 am
Quote
I can not find libwxmsw26u.a in "E:\wxWidgets-2.6.2\lib\gcc_dll",why?
all files in "E:\wxWidgets-2.6.2\lib\gcc_dll"  as follows:
This is a non-monolithic build ( = many smaller libraries), but the template you used assumes a monolithic build. You'll have to replace the single library with several of the ones you listed (depends on which ones you need, if in doubt, take all), or you have to build wxWidgets with MONOLITHIC=1, in which case you get the library you need (and can build your project as it is).

Sidenote: if you have changed the wx variable according to what the Nullinator said, adding the E:\wxWidgets-2.6.2\lib\gcc_dll path is not necessary - that is what this variable is good for.
Title: Re: The 06 april 2006 build is out.
Post by: alanwong on April 07, 2006, 10:25:45 am
thanked you for all your help ,TheNullinator and thomas.
Now project enable to run. I  take great pleasure or joy.

many thank  again.