News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

The 16 May 2009 build (5602) is out.

Started by killerbot, May 17, 2009, 10:23:03 AM

Previous topic - Next topic

critic

Why project settings are hidden in custom makefile mode and compiler combobox is not.
This way I can change compiler for custom makefile??? :?
But if I can select the compiler why I can't achieve compiler settings pages???

I think that these things are related! 8)

Jenna

Quote from: critic on May 20, 2009, 11:11:49 AM
Why project settings are hidden in custom makefile mode and compiler combobox is not.
This way I can change compiler for custom makefile??? :?
But if I can select the compiler why I can't achieve compiler settings pages???

I think that these things are related! 8)

You are right, chosing a compiler also dos not make sense.
Maybe it was just forgotten to disable ?

Omnipotent Geass

Thanks for the new release fabulous program!. :D

pasgui

Quote from: pingf on May 20, 2009, 04:23:35 AM
Quote from: pasgui on May 17, 2009, 02:11:26 PM
Build for Ubuntu i386 can be found here

The size of the codeblocks-dbg package is about 45MB instead of 12MB previously.

Best regards, pasgui
do you have the deb for ubuntu jaunty?

The deb are built on hardy and so available from hardy to jaunty.

Best regards, pasgui

pingf

Quote from: pasgui on May 20, 2009, 08:06:41 PM
Quote from: pingf on May 20, 2009, 04:23:35 AM
Quote from: pasgui on May 17, 2009, 02:11:26 PM
Build for Ubuntu i386 can be found here

The size of the codeblocks-dbg package is about 45MB instead of 12MB previously.

Best regards, pasgui
do you have the deb for ubuntu jaunty?

The deb are built on hardy and so available from hardy to jaunty.

Best regards, pasgui

but when i double clicked the deb(on jaunty) ,it can't be installed,why?

witton

#20
Removed chinese text.

Only english content allowed !

Dr.Optix

#21
Idk why this dude posted in chinese anyway here is what is said (google translate):

Quote
How to download the most recent period can not be the case? Find a slightly better speed of the server you

[Removed non-english content.]
Occupation: Hobby Programmer
IDE: Code::Blocks Nightly / CodeLite Latest Stable
Compiler: TDM's GCC/mingw32
Blog: [url="//droptix.wordpress.com"]DrOptix.WordPress.Com[/url]

ollydbg

#22
Quote from: Dr.Optix on May 21, 2009, 05:34:00 AM
Idk why this dude posted in chinese anyway here is what is said (google translate):

Quote
How to download the most recent period can not be the case? Find a slightly better speed of the server you

Google translate gives a really wrong translation. :D

He just want to get an alternative faster server to download the nightly build package, since he can't access to the current server for several days.

[Removed non-english content.]
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.

pasgui

Quote from: pingf on May 21, 2009, 04:02:39 AM
but when i double clicked the deb(on jaunty) ,it can't be installed,why?

Which message did you get ? Do you update your source list file (http://lgp203.free.fr/spip/spip.php?article2&lang=en) with the distname equal to jaunty.

Regards, pasgui

critic

Hello  :)

I think that developers can improve functionality of IDE by modification of build system:
make available to choose build steps (not pre- or post-build steps)

For example,

  • native_makefile_gen_build_step or user_build_step (to generate makefile)
  • make_build_step (for_example, to run mingw32_make -f makefile)
  • run_step (to run target executable)

The "user_build_step" can use some funcs from plugins (or simply activate some compiler plugin - it may be qt_plugin, for example)

I seen this in CodeLite IDE. It's great idea, I think. :P

pingf

Quote from: pasgui on May 21, 2009, 08:36:10 AM
Quote from: pingf on May 21, 2009, 04:02:39 AM
but when i double clicked the deb(on jaunty) ,it can't be installed,why?

Which message did you get ? Do you update your source list file (http://lgp203.free.fr/spip/spip.php?article2&lang=en) with the distname equal to jaunty.

Regards, pasgui
THX a lot,
now it works,
but when i download the wx-2.8 header in the shell mode ,it always show that the size doesn't match,
i have down it directly from the website.

blockn102

At revision 5607. Ubuntu 9.04. wxWidgets 2.8 from Synaptic Package Manager.

./configure --with-wxdir=/usr/include/wx-2.8 --with-wx-config=/usr/bin/wx-config --enable-contrib
make


make[3]: *** [tinywxuni.lo] Error 1


In file included from ../../../src/include/sdk_common.h:120,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/pipedprocess.h:31: error: 'wxTimerEvent' has not been declared
../../../src/include/pipedprocess.h:32: error: 'wxIdleEvent' has not been declared
../../../src/include/pipedprocess.h:36: error: 'wxTimer' does not name a type
In file included from ../../../src/include/sdk_common.h:125,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/editormanager.h:126: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:131: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:132: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:133: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:134: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:135: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:136: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:137: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:138: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:139: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:140: error: 'wxCommandEvent' has not been declared
../../../src/include/editormanager.h:141: error: 'wxUpdateUIEvent' has not been declared
../../../src/include/editormanager.h:142: error: 'wxTreeEvent' has not been declared
../../../src/include/editormanager.h:143: error: 'wxTreeEvent' has not been declared
../../../src/include/editormanager.h:144: error: 'wxTreeEvent' has not been declared
../../../src/include/editormanager.h:166: error: 'wxCommandEvent' has not been declared
In file included from ../../../src/include/sdk_common.h:127,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/projectmanager.h:375: error: ISO C++ forbids declaration of 'wxTreeCtrl' with no type
../../../src/include/projectmanager.h:375: error: expected ';' before '*' token
../../../src/include/projectmanager.h:380: error: expected `;' before 'wxMenu'
../../../src/include/projectmanager.h:442: error: 'wxTreeItemId' has not been declared
../../../src/include/projectmanager.h:443: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:444: error: 'wxTreeEvent' has not been declared
../../../src/include/projectmanager.h:445: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:446: error: 'wxTreeEvent' has not been declared
../../../src/include/projectmanager.h:447: error: 'wxTreeEvent' has not been declared
../../../src/include/projectmanager.h:448: error: 'wxTreeEvent' has not been declared
../../../src/include/projectmanager.h:449: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:450: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:451: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:452: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:453: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:454: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:455: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:456: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:457: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:458: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:459: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:460: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:461: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:462: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:463: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:464: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:465: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:466: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:467: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:468: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:469: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:470: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:471: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:472: error: 'wxTreeItemId' does not name a type
../../../src/include/projectmanager.h:473: error: 'wxTreeEvent' has not been declared
../../../src/include/projectmanager.h:474: error: 'wxTreeEvent' has not been declared
../../../src/include/projectmanager.h:475: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:476: error: 'wxCommandEvent' has not been declared
../../../src/include/projectmanager.h:477: error: 'wxUpdateUIEvent' has not been declared
../../../src/include/projectmanager.h:478: error: 'wxIdleEvent' has not been declared
../../../src/include/projectmanager.h:484: error: 'wxTreeItemId' has not been declared
../../../src/include/projectmanager.h:487: error: ISO C++ forbids declaration of 'wxTreeCtrl' with no type
../../../src/include/projectmanager.h:487: error: expected ';' before '*' token
../../../src/include/projectmanager.h:488: error: 'wxTreeItemId' does not name a type
../../../src/include/projectmanager.h:503: error: 'wxTreeItemId' does not name a type
In file included from ../../../src/include/sdk_common.h:128,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/menuitemsmanager.h:12: error: expected initializer before '*' token
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' was not declared in this scope
../../../src/include/menuitemsmanager.h:12: error: typedef 'CMPFUNC_wxArrayMenuItemsList' is initialized (use __typeof__ instead)
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' was not declared in this scope
../../../src/include/menuitemsmanager.h:12: error: 'pItem1' was not declared in this scope
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' was not declared in this scope
../../../src/include/menuitemsmanager.h:12: error: 'pItem2' was not declared in this scope
../../../src/include/menuitemsmanager.h:12: error: ISO C++ forbids declaration of '_wxArrayMenuItemsList' with no type
../../../src/include/menuitemsmanager.h:12: error: expected ';' before '&' token
../../../src/include/menuitemsmanager.h:12: error: expected `;' before '_wxArrayMenuItemsList'
../../../src/include/menuitemsmanager.h:12: error: ISO C++ forbids declaration of '_wxArrayMenuItemsList' with no type
../../../src/include/menuitemsmanager.h:12: error: expected ';' before '&' token
../../../src/include/menuitemsmanager.h:12: error: expected `;' before '_wxArrayMenuItemsList'
../../../src/include/menuitemsmanager.h:12: error: ISO C++ forbids declaration of '_wxArrayMenuItemsList' with no type
../../../src/include/menuitemsmanager.h:12: error: expected ';' before '&' token
../../../src/include/menuitemsmanager.h:12: error: expected `;' before 'int'
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' has not been declared
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' has not been declared
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' has not been declared
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' has not been declared
../../../src/include/menuitemsmanager.h:12: error: 'CMPFUNC_wxArrayMenuItemsList' has not been declared
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' does not name a type
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' does not name a type
../../../src/include/menuitemsmanager.h:12: error: '_wxArrayMenuItemsList' does not name a type
../../../src/include/menuitemsmanager.h:34: error: ISO C++ forbids declaration of 'wxMenuItem' with no type
../../../src/include/menuitemsmanager.h:34: error: 'wxMenuItem' declared as a 'virtual' field
../../../src/include/menuitemsmanager.h:34: error: expected ';' before '*' token
../../../src/include/menuitemsmanager.h:36: error: ISO C++ forbids declaration of 'wxMenuItem' with no type
../../../src/include/menuitemsmanager.h:36: error: 'wxMenuItem' declared as a 'virtual' field
../../../src/include/menuitemsmanager.h:36: error: expected ';' before '*' token
../../../src/include/menuitemsmanager.h:37: error: ISO C++ forbids declaration of 'wxMenuItem' with no type
../../../src/include/menuitemsmanager.h:37: error: 'wxMenuItem' declared as a 'virtual' field
../../../src/include/menuitemsmanager.h:37: error: expected ';' before '*' token
In file included from ../../../src/include/sdk_common.h:129,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/scriptingmanager.h:222: error: 'wxCommandEvent' has not been declared
../../../src/include/scriptingmanager.h:223: error: 'wxCommandEvent' has not been declared
In file included from ../../../src/include/sdk_common.h:130,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/toolsmanager.h:37: error: 'wxCommandEvent' has not been declared
../../../src/include/toolsmanager.h:38: error: 'wxIdleEvent' has not been declared
../../../src/include/toolsmanager.h:42: error: 'wxCommandEvent' has not been declared
In file included from ../../../src/include/sdk_common.h:139,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/xtra_res.h:21: error: invalid use of incomplete type 'struct wxXmlResourceHandler'
../../../src/include/xtra_res.h:18: error: forward declaration of 'struct wxXmlResourceHandler'
../../../src/include/xtra_res.h:25: error: 'wxXmlNode' has not been declared
../../../src/include/xtra_res.h:33: error: expected ',' or '...' before '&' token
../../../src/include/xtra_res.h:34: error: ISO C++ forbids declaration of 'wxArtClient' with no type
../../../src/include/xtra_res.h:34: error: default argument missing for parameter 2 of 'wxBitmap wxToolBarAddOnXmlHandler::GetCenteredBitmap(const wxString&, int)'
In file included from ../../../src/include/sdk_common.h:141,
                 from ../../../src/include/sdk_precomp.h:13,
                 from tinywxuni.cpp:1:
../../../src/include/infowindow.h:29: error: 'wxDialog' does not name a type
../../../src/include/infowindow.h:64: error: expected class-name before '{' token
../../../src/include/infowindow.h:65: error: ISO C++ forbids declaration of 'wxTimer' with no type
../../../src/include/infowindow.h:65: error: expected ';' before '*' token
../../../src/include/infowindow.h:81: error: 'wxTimerEvent' has not been declared
../../../src/include/infowindow.h:82: error: 'wxMouseEvent' has not been declared
../../../src/include/infowindow.h:83: error: 'wxMouseEvent' has not been declared
make[3]: *** [tinywxuni.lo] Error 1

critic

I think that using intermediate makefile in building is more universal (but, is slower).
And this concept allows to change engine that generates makefile.
I understand that it is not easy to do this, and can be another way to decide this problem (this problem only with Qt) - this only thoughts.

Good luck!

Jenna

Quote from: critic on May 21, 2009, 10:43:31 AM
Hello  :)

I think that developers can improve functionality of IDE by modification of build system:
make available to choose build steps (not pre- or post-build steps)

For example,

  • native_makefile_gen_build_step or user_build_step (to generate makefile)
  • make_build_step (for_example, to run mingw32_make -f makefile)
  • run_step (to run target executable)

The "user_build_step" can use some funcs from plugins (or simply activate some compiler plugin - it may be qt_plugin, for example)

I seen this in CodeLite IDE. It's great idea, I think. :P
Quote from: critic on May 22, 2009, 09:19:29 AM
I think that using intermediate makefile in building is more universal (but, is slower).
And this concept allows to change engine that generates makefile.
I understand that it is not easy to do this, and can be another way to decide this problem (this problem only with Qt) - this only thoughts.

Good luck!

Do I understand correctly, that you want the C::B build management be changed to use makefiles instead of our own build-system ?

I think this will not happen.

Nevertheless, feel free to provide any patches.

geiermeier

Quote from: jens on May 20, 2009, 01:24:14 PM
Quote from: critic on May 20, 2009, 11:11:49 AM
Why project settings are hidden in custom makefile mode and compiler combobox is not.
This way I can change compiler for custom makefile??? :?
But if I can select the compiler why I can't achieve compiler settings pages???

I think that these things are related! 8)

You are right, chosing a compiler also dos not make sense.
Maybe it was just forgotten to disable ?

The compiler settings also specify the make executable.