Author Topic: The 28 March 2009 build (5489) is out.  (Read 67608 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 28 March 2009 build (5489) is out.
« on: March 28, 2009, 08:07:46 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_wx2810.7z

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

The 28 March 2009 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20090328_rev5489_win32.7z
  - Linux :
   none

Resolved Fixed:

  • custom-makefiles: - changed clean-process, to show output, if full commandline logging is turned on
  • don't run postbuild-steps if we only clean the project
  • todo plugin: actually make the plugin really (!) remember new users/types (case sensitive)
  • todo plugin: make plugin handle #warning and #error correctly
  • all plugins that use flatnotebook, have to be compiled after wxsmith-contrib-items or depend on it, because fnb was moved to this project
  • enhanced handling of adding, deleting, duplicating and renaming build targets in debugger-plugin, fixes a crash that occurs if extra-commands or remote-debugging parameters are used in a target, that should be deleted
  • enhanced handling of adding, deleting, duplicating and renaming build targets in debugger-plugin, fixes a crash that occurs if extra-commands or remote-debugging parameters are used in a target, that should be deleted
  • project options: autoext. does not work correctly (fixes bug #15341)
  • IncrementalSearch-plugin and HighlightOccurences: fixed a bug when highlighting non-ASCII characters, like german umlauts or chinese chars (both) or auto-selecting text found by IncSearch when leaving toolbar with ESC (IncSearch)
  • updated app.xpm to make C::B on linux use the same (3d-)icon in titlebar as on windows
  • ThreadSearch: use icons search, options, searchdir for ThreadSearch settings

Regressions/Confirmed/Annoying/Common bugs:



    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 28 March 2009 build (5489) is out.
    « Reply #1 on: March 28, 2009, 08:08:11 pm »
    to stress it explicitly : build with wx 2.8.10 !!!!!!!!!!!!!!

    Offline Baluarte

    • Multiple posting newcomer
    • *
    • Posts: 16
    Re: The 28 March 2009 build (5489) is out.
    « Reply #2 on: March 28, 2009, 11:28:15 pm »
    Hallelujah!!! Congratulations for all!

    The apparently eternal "toolbar-images-not-changing-state (is a wx problem/Win XP problem)" trouble is DEAD. Long life to Codeblocks!

    Baluarte
    « Last Edit: March 29, 2009, 03:23:04 am by Baluarte »

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 28 March 2009 build (5489) is out.
    « Reply #3 on: March 28, 2009, 11:57:32 pm »
    Just uploaded the debian-build on my server (see signature).

    They are still build against wxWidgets 2.8.9 , because debian packages for 2.8.10 are not (yet) available.

    boyumeow

    • Guest
    Re: The 28 March 2009 build (5489) is out.
    « Reply #4 on: March 29, 2009, 04:08:56 am »
    Sorry if I ask a question that may have been answered before, what is the different between using wxwidget-2.8.10 and wxwidget source from SVN? It seems that if I compile cb using wxwidget source from SVN, I would get errors although I have change all link libraries reading from 28 to 29 (I might have miss out some). The first few was compiling until it reaches wxFlatNotebook which start to give me errors. Unless U all require more details about it, then I would upload the errors. Btw, I dun get errors if I compile cb using wxwidget-2.8.10 (Vista32).

    Sorry if I am asking irrelevant question, pls forgive me. Thanks.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 28 March 2009 build (5489) is out.
    « Reply #5 on: March 29, 2009, 04:09:18 am »
    Great! I'm waiting for several days!
    I will download and test it! :D
    Thanks!

    Edit:
    Oh my God!
    Drag the toolbar vertically will make cb crash. This problem happened several months ago. Did I still need to use the DLL of wxWidgets 2.8.8 to replace the DLL of 2.8.10?

    Thanks.
    « Last Edit: March 29, 2009, 04:18:47 am by ollydbg »
    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.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7582
      • My Best Post
    Re: The 28 March 2009 build (5489) is out.
    « Reply #6 on: March 29, 2009, 05:16:11 am »
    Sorry if I ask a question that may have been answered before, what is the different between using wxwidget-2.8.10 and wxwidget source from SVN? It seems that if I compile cb using wxwidget source from SVN, I would get errors although I have change all link libraries reading from 28 to 29 (I might have miss out some). The first few was compiling until it reaches wxFlatNotebook which start to give me errors. Unless U all require more details about it, then I would upload the errors. Btw, I dun get errors if I compile cb using wxwidget-2.8.10 (Vista32).

    Sorry if I am asking irrelevant question, pls forgive me. Thanks.

    wxWidgets SVN trunk is wxWidgets 2.9; which is an development release which changes the wxWidgets API in many different ways. Code::Blocks has issues went built against wxWidgets 2.9; I have not been able to get past the event design changed that took place in SVN 58911 or near there.

    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 Xaviou

    • Regular
    • ***
    • Posts: 402
      • X@v's wxStuff
    Re: The 28 March 2009 build (5489) is out.
    « Reply #7 on: March 29, 2009, 11:24:44 am »
    Ubuntu 7.04 to 8.10 Amd64 tar.gz archive (containing '.deb' installers builds with wx289) can be found  here (direct link).
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline SharkCZ

    • Almost regular
    • **
    • Posts: 131
    Re: The 28 March 2009 build (5489) is out.
    « Reply #8 on: March 29, 2009, 12:49:16 pm »
    Fedora packages (10 + Rawhide) for nightly C::B builds are usually available in my personal repository - http://fedora.danny.cz/danny/
    Code::Blocks package maintainer for Fedora and EPEL

    Offline pasgui

    • Almost regular
    • **
    • Posts: 165
      • LGP
    Re: The 28 March 2009 build (5489) is out.
    « Reply #9 on: March 29, 2009, 01:31:03 pm »
    Build for Ubuntu i386/amd64 can be found here

    Best regards, pasgui

    Offline Xaviou

    • Regular
    • ***
    • Posts: 402
      • X@v's wxStuff
    Re: The 28 March 2009 build (5489) is out.
    « Reply #10 on: March 29, 2009, 09:21:42 pm »
    Hi
    Attached is a patch for i18n improvements.

    Regards
    Xav'

    [attachment deleted by admin]
    The french wxWidgets site : http://www.wxdev.fr
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline Loaden

    • Lives here!
    • ****
    • Posts: 1014
    Re: The 28 March 2009 build (5489) is out.
    « Reply #11 on: March 30, 2009, 04:32:54 am »
    debug plugin for cdb don't work!
    when press F7, it's not update the editor window.

    Offline Outis

    • Multiple posting newcomer
    • *
    • Posts: 26
    Re: The 28 March 2009 build (5489) is out.
    « Reply #12 on: March 30, 2009, 05:12:08 pm »
    Codeblocks crashed 2 times while saving files, but i cannot provoke it till now.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 28 March 2009 build (5489) is out.
    « Reply #13 on: March 30, 2009, 05:27:28 pm »
    Codeblocks crashed 2 times while saving files, but i cannot provoke it till now.
    I can't reproduce this crashing. Which OS? Windows? If possible, can you upload the "saved files" for testing?
    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.

    Offline Outis

    • Multiple posting newcomer
    • *
    • Posts: 26
    Re: The 28 March 2009 build (5489) is out.
    « Reply #14 on: March 30, 2009, 06:58:58 pm »
    I'm running Windows XP. As I said before, I don't know which file under which circumstances caused the crash. There were two crashes within two hours, one after I closed a single file (no I don't know which on of a dozen, damn :( ) and one after closing the whole project. Perhaps I can tell you more after the next crash  :|

    [EDIT] Here we go:
    1. Compile project
    2. while the compiler (in my case: mingw 4.3) is running, change the currently open file (for example, delete a whitespace/newline or whatever)
    3. Save or recompile, doing the latter cb will crash, but the compiler will keep on working.
    [/EDIT]
    « Last Edit: March 30, 2009, 07:30:19 pm by Outis »

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 28 March 2009 build (5489) is out.
    « Reply #15 on: March 30, 2009, 07:19:56 pm »
    I'm running Windows XP. As I said before, I don't know which file under which circumstances caused the crash. There were two crashes within two hours, one after I closed a single file (no I don't know which on of a dozen, damn :( ) and one after closing the whole project. Perhaps I can tell you more after the next crash  :|

    There might be (it's not sure) a crashlog in the directory, where C::B's executable is.

    If I remember right, it's called "codeblocks.rpt" on windows (not 100% sure about the name) and its timestamp should be the time of the last crash.

    If it's not too big, you can attach it to a post, if it's too big, yu can send it to me via mail (my nickname at codeblocks dot org).

    "my nickname" is not meant literally, of course.

    Offline Outis

    • Multiple posting newcomer
    • *
    • Posts: 26
    Re: The 28 March 2009 build (5489) is out.
    « Reply #16 on: March 30, 2009, 07:35:39 pm »
    The file exists, but the timestamp is NOT the time of the last crash. (Not the change of my last post)

    Offline Loaden

    • Lives here!
    • ****
    • Posts: 1014

    Offline geiermeier

    • Multiple posting newcomer
    • *
    • Posts: 19
    Re: The 28 March 2009 build (5489) is out.
    « Reply #18 on: April 01, 2009, 02:18:21 pm »
    When loading files with very long lines, the horizontal scroll bar doesn't reflect the true length of the line(s). Using the scroll bar, one can only scroll for, say some hundred columns. But then it is possible to go further to the right with the cursor keys or [END]. When doing so, the scroll bar adjusts it self to the reached length.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 28 March 2009 build (5489) is out.
    « Reply #19 on: April 01, 2009, 02:59:11 pm »
    When loading files with very long lines, the horizontal scroll bar doesn't reflect the true length of the line(s). Using the scroll bar, one can only scroll for, say some hundred columns. But then it is possible to go further to the right with the cursor keys or [END]. When doing so, the scroll bar adjusts it self to the reached length.
    How many lines in your source code? very long lines? Could you add this file as an attachment for testing?
    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.

    vchavezp

    • Guest
    Re: The 28 March 2009 build (5489) is out.
    « Reply #20 on: April 01, 2009, 10:18:56 pm »
    Please Help..
    I've installed this Nightly Build and wxPack...

    I try to generate a wxWidget Project
    but when i try to build i get this message:

    #include "wx/msw/wx.rc"

    No such file or directory.



    I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.

    I tried to create it there and put an wx.rc text file in there and it didn't work.


    Where should this file wx.rc be located and what has to be in it?


    thank you for your help.


    V.Chavez


    Offline Seronis

    • Almost regular
    • **
    • Posts: 197
    Re: The 28 March 2009 build (5489) is out.
    « Reply #21 on: April 02, 2009, 04:06:18 am »
    C:\dev\wxMSW\wxWidgets-2.8.7\include\wx\msw

    I believe you are just assigning the wrong include path. My path layout for example is listed above.  'wx' is an explicite folder inside the wxwidgets heirarchy.  In my case i have set

    C:\dev\wxMSW\wxWidgets-2.8.7\include

    as an entry in the compiler include paths and i find the given file without issue.  HTH


    Please Help..
    I've installed this Nightly Build and wxPack...

    I try to generate a wxWidget Project
    but when i try to build i get this message:

    #include "wx/msw/wx.rc"

    No such file or directory.

    I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.
    I tried to create it there and put an wx.rc text file in there and it didn't work.
    Where should this file wx.rc be located and what has to be in it?
    thank you for your help.

    V.Chavez

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 28 March 2009 build (5489) is out.
    « Reply #22 on: April 02, 2009, 04:10:20 am »
    Please Help..
    I've installed this Nightly Build and wxPack...

    I try to generate a wxWidget Project
    but when i try to build i get this message:

    #include "wx/msw/wx.rc"

    No such file or directory.



    I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.

    I tried to create it there and put an wx.rc text file in there and it didn't work.


    Where should this file wx.rc be located and what has to be in it?


    thank you for your help.


    V.Chavez



    In my 2.8.9, it was located in D:\wxWidgets-2.8.9\include\wx\msw
    But I'm not using a wxPack, I build this library my self. It is simple. see here:

    http://wiki.codeblocks.org/index.php?title=Using_wxWidgets
    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.

    Offline geiermeier

    • Multiple posting newcomer
    • *
    • Posts: 19
    Re: The 28 March 2009 build (5489) is out.
    « Reply #23 on: April 02, 2009, 09:17:00 am »
    How many lines in your source code? very long lines? Could you add this file as an attachment for testing?

    I use CB for editing some (partly) binary files, too. I like the way Scintilla displays the unprintable ascii characters.

    It's the same length as the horizontal scrollbar is initialized to with a blank file. It's about 280 characters.
    That's long enough for editing (the usual) source code. But I think the scrollbar should initialize correctly for all files.

    To reproduce: just create a new file with more than 300 characters in one line; that worked for me.

    I'm using CB on XP, btw. The current nightly.
    « Last Edit: April 02, 2009, 09:19:10 am by geiermeier »

    Offline rhf

    • Multiple posting newcomer
    • *
    • Posts: 123
    Re: The 28 March 2009 build (5489) is out.
    « Reply #24 on: April 02, 2009, 12:48:09 pm »
    @ geiermeier

    Just a thought. I occasionally use SciTE (Scintilla Text Editor) and had the same problem with line lengths.
    The fix was to edit the SciTEGlobal.properties file. Specifically, to change the property
    horizontal.scroll.width=2200 to say horizontal.scroll.width=10000.
    I don't know if this is the same in the Scintilla editor used in CB, but one of the developers can probably help out.

    Offline lobby

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 28 March 2009 build (5489) is out.
    « Reply #25 on: April 02, 2009, 02:23:21 pm »
    i already had this problem with the horizontal scrollbar, sometimes it is not large enought to go to the end of the line
    (easy to reproduce as geiermeier said)
    « Last Edit: April 02, 2009, 02:28:02 pm by lobby »

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 28 March 2009 build (5489) is out.
    « Reply #26 on: April 02, 2009, 02:53:36 pm »
    Scrollbar width:

    I prepare a patch to use the ScrollWidthTracking feature of (wx)Scintilla.

    This feature sets the ScrollWidth automatically according to the longest line seen.

    I will make this feature optional (and disabled by default), because the scintilla-devs have disabled it for performance reasons:

    Quote from: wxSintilla docu
    For performance, Scintilla does not measure the width of the document to determine the properties of the horizontal scroll bar. Instead, an assumed width (2000 pixels) is used.

    I hope I find the time this afternoon or evening (UTC +02:00).

    EDIT:

    committed (svn r5496)
    « Last Edit: April 03, 2009, 12:19:43 am by jens »

    my522198969

    • Guest
    Re: The 28 March 2009 build (5489) is out.
    « Reply #27 on: April 03, 2009, 09:13:21 am »
    How to turn the language simplified Chinese? Who can give me a sinicizing document?

     - replaced non-english content by translation with babelfish.altavista.com -

    Jens
    « Last Edit: April 03, 2009, 09:56:23 am by jens »

    Offline killerbot

    • Administrator
    • Lives here!
    • *****
    • Posts: 5490
    Re: The 28 March 2009 build (5489) is out.
    « Reply #28 on: April 03, 2009, 09:15:39 am »
    only English language. In case this would happen again, we will have to close your account.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 28 March 2009 build (5489) is out.
    « Reply #29 on: April 03, 2009, 09:46:40 am »
    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.

    Offline lobby

    • Multiple posting newcomer
    • *
    • Posts: 10
    Re: The 28 March 2009 build (5489) is out.
    « Reply #30 on: April 03, 2009, 01:39:45 pm »
    i think the option about the scrollbar width calculation should be set by default.

    Ergonomy should be prefered over the performance, it will be harder to deduce that there is an option to fix the scrollbar width instead of another one to improve performance (if needed)

    Anyway that's a pity that the scrollbar width have to be completely recalculated, while it could be done when lines are printed.

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 28 March 2009 build (5489) is out.
    « Reply #31 on: April 03, 2009, 01:52:28 pm »
    i think the option about the scrollbar width calculation should be set by default.

    Ergonomy should be prefered over the performance, it will be harder to deduce that there is an option to fix the scrollbar width instead of another one to improve performance (if needed)

    Anyway that's a pity that the scrollbar width have to be completely recalculated, while it could be done when lines are printed.

    You are right, that ergonomy should be prefered over the performance.
    But there have been reasosns to have the option switched off by default:
    • it only matters for very (in source code unusual) long lines,
    • it changes the default-behaviour,
    • there have been more posts, because of editor performace issues, than about the scrollbarwidth-issue

    The scrollbar-width will be recalculated according to the longest visible line, seen by the editor, not always and not for the complete file.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7582
      • My Best Post
    Re: The 28 March 2009 build (5489) is out.
    « Reply #32 on: April 04, 2009, 08:18:24 am »
    Patch Needed for NON-PCH Windows Build.

    Tim S

    Code
    Index: src/plugins/contrib/ThreadSearch/TextFileSearcherRegEx.cpp
    ===================================================================
    --- src/plugins/contrib/ThreadSearch/TextFileSearcherRegEx.cpp (revision 5518)
    +++ src/plugins/contrib/ThreadSearch/TextFileSearcherRegEx.cpp (working copy)
    @@ -11,6 +11,7 @@
     #include "sdk.h"
     #ifndef CB_PRECOMP
      // Required extra includes
    + #include <wx/intl.h>
      #include <wx/string.h>
     #endif
     
    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 Biplab

    • Developer
    • Lives here!
    • *****
    • Posts: 1874
      • Biplab's Blog
    Re: The 28 March 2009 build (5489) is out.
    « Reply #33 on: April 04, 2009, 08:31:02 am »
    Patch Needed for NON-PCH Windows Build.

    Applied. Thanks Tim. :)
    Be a part of the solution, not a part of the problem.

    Offline critic

    • Multiple posting newcomer
    • *
    • Posts: 93
    Re: The 28 March 2009 build (5489) is out.
    « Reply #34 on: April 07, 2009, 07:48:55 am »
    Who knows when codecompletion plugin will work properly, especially with template classes?
    It work fast, but with errors.
    I think that developers of C::B will notice this, because this engine in IDEs is very important for users today.

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 28 March 2009 build (5489) is out.
    « Reply #35 on: April 07, 2009, 07:51:16 am »
    Who knows when codecompletion plugin will work properly, especially with template classes?
    It work fast, but with errors.
    I think that developers of C::B will notice this, because this engine in IDEs is very important for users today.

    An update for code-completion is currently in the test phase.
    But there is no exact timline, when it will be applied.

    Please be patient.

    Offline critic

    • Multiple posting newcomer
    • *
    • Posts: 93
    Re: The 28 March 2009 build (5489) is out.
    « Reply #36 on: April 07, 2009, 08:50:17 am »
    Thanks for information!

    Offline Digited

    • Multiple posting newcomer
    • *
    • Posts: 20
    Re: The 28 March 2009 build (5489) is out.
    « Reply #37 on: April 07, 2009, 05:41:27 pm »
    Thanks for implementing open/close of project tree folders on double click and saving sizes of management and log&others!
    Maybe you could also add side moving of editor's tabs with mouse wheel, like in Firefox?

    Offline nanyu

    • Almost regular
    • **
    • Posts: 188
    • nanyu
    windows xp
    cb svn5489

    step1 : run c::b, and it auto open the last workspace with 4 project. (since the opt "open default workspace" is setted)
    step2 : I close the workspace (main menu : file->close space) or "close  all projects".
    step3 : everything ok now ... but after I move the mouse cursor to main menu item (etc: view, edit), aft 0.5 sec,
                  the area of mainmenu bar turn white, and then the whole cb windows turn white, at the end, cb crashed.(see the codeblocks.RPT)

    ----------------------------------------
    edit1:
    1. I try to uninstall the codecompletion plugin(0.7), cb crash again, and i got a new rpt with context:
      Error occured on Wednesday, April 8, 2009 at 16:49:29.
    Quote
    E:\CodeBlocks\codeblocks.exe caused an Access Violation at location 65eb0de8 Reading from location 65eb0de8.

    Registers:
    eax=00000000 ebx=00000000 ecx=77bfc2e3 edx=46c4003c esi=00bab238 edi=0023feb8
    eip=65eb0de8 esp=0023f8c0 ebp=0023f978 iopl=0         nv up ei pl nz na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

    Call stack:
    65EB0DE8
    2. I  restart the cb (now the cc plugin was uninstalled), and i repeat the steps(1~3) which list about,  cb _will_not_ crash.
    3. at last, I reinstall the cc plugin(which exported before i uninstalled it), and redo the steps, cb crash again.

    ----------------------------------------
    edit2:

    1. I rollback the cb to svn5456, and repeat steps(1-3), c::b didn't crash.
    2. export the cc plugin
    3. update the c::b to svn 5489
    4. uninstall the cc plugin
    5. install the cc plugin which export from svn5456.
    6. repeat steps(1~3), c::b crash again.

    [attachment deleted by admin]
    « Last Edit: April 08, 2009, 11:25:18 am by nanyu »

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5910
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 28 March 2009 build (5489) is out.
    « Reply #39 on: April 08, 2009, 03:34:51 pm »
    @nanyu
    I can't reproduce the crash in biplab's portable c::B (maybe svn 5519). I reopen a workplace with 2 projects.
    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.

    FlyingMonkey

    • Guest
    Re: The 28 March 2009 build (5489) is out.
    « Reply #40 on: April 12, 2009, 04:03:30 pm »
    I'm new to CB, trying it for the first time.  Instructions I read said to run the latest nightly (it seems actually monthly) build.  I've downloaded the correct wxWidgets and mingw files fine.  I can't seem to get the download for this CB build to work.  Is that mirrored somewhere?  Are instructions to set all this up included somewhere?

    Thanks in advance,
    Ed

    Offline critic

    • Multiple posting newcomer
    • *
    • Posts: 93
    Re: The 28 March 2009 build (5489) is out.
    « Reply #41 on: April 13, 2009, 06:03:12 am »
    Hello, everybody!
    I develop projects using Qt Trolltech 4 on C::B. But to do this I need a plugin. For this purpose QtWorkbench already exists, but it has bugs and it's updates are very rare.
    I created my own plugin - QtHelper - that is easier in use and it creates .pro file and Makefile using C::B project's settings.
    But now in C::B I can't access some pages in project options dialog (search directories ant etc) when using custom makefile
    In this case I need to switch off custom makefile option and apply settings, after this I change project settings (they mentioned above) and then I need to switch on custom Makefile option and apply settings again.

    I think it is not nice.
    It will be better to work with Qt projects as with other C++ project (without additional movements)

    How to do?
    For what developers of C::B close access to project settings when using custom makefile in project?

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 28 March 2009 build (5489) is out.
    « Reply #42 on: April 14, 2009, 10:09:32 am »
    For what developers of C::B close access to project settings when using custom makefile in project?

    The access is removed, because it does not really make sense to add anything there, because the content is used to create the commands C::B passes to the compiler.
    But if you use a custom makefile all this is done by the makefile, C::B only runs the commands for make, make clean etc. as the user defined them on the "Make" commands tab. For the same purposes the content of this tab is disabled, when you do not use a custom makefile.

    Offline Joel

    • Single posting newcomer
    • *
    • Posts: 6
      • http://joelito.net
    Re: The 28 March 2009 build (5489) is out.
    « Reply #43 on: April 19, 2009, 04:25:10 pm »
    Is it possible to choose either C or C++ project in Win32?
    I running this C::B nightly with Visual C++ 2003 toolkit and I'll be a nice feature...
    Thanks.

    My Source Code, plugins, skin & forum sites.