Thursday, February 14, 2013

Dev-C++ 5.4.0, 5.4.1 RC1 released

A newer version is available!

It's time for a new series, 5.4 this time. The biggest changes are the inclusion of TDM-GCC 4.7.1 (you can still download the old 4.6.1 one from SourceForge), drastically reduced startup time, and improved code completion. Oh, and F3 is back.




Changes - Version 5.4.0 - 14 Februari 2013
  • The console pauser will now provide more detailed information when it decides not to work.
  • Startup time has been reduced by an order of magnitude.
  • The class browser now redraws at least numvisibleitems times faster.
  • "Search Again" (F3) is back from the dead.
  • The toolbars now do not get cut off on restart after about the 800th horizontal pixel.
  • The tip of the day form now does not show up anymore when opening files (again).
  • Gutter auto sizing now takes folding into account.
  • Files that aren't highlighted are now loaded much faster.
  • Added a few hardcoded labels to the lang tables.
  • Reworked the Window List form.
  • Fixed some set management issues in the Compiler Options form.
  • Slightly reduced compilation overhead of the IDE shell around GCC.
  • Reduced memory usage.
  • Exporting editors to HTML now provides a perfect copy of the color scheme.
  • Fixed a memory leak in the Tools window.
  • Updated Chinese, Chinese (TW) and Japanese translations.
  • Added an example save file name to Editor Options >> Autosave.
  • More bug fixes and feature additions here and there.
  • One can now refresh the current cache contents.
  • Improved array evaluating under mouse when debugging.
  • Fixed a bug that emerged in code folding and improved its performance thanks to that.
  • Redesigned the code tooltip and code completion: they now support (M)I and multiple levels of parent->member structures.
  • The class browser now supports multiple inheritance.
  • Many more bugfixes here and there.



Important notices
  • For ultimate portable programming, please keep using devcppPortable.exe located in the installation folder of the portable version. This launcher will tell Dev-C++ to save its configuration files in the same folder as the executable.
  • If you're getting 'Unsupported compression method' errors when extracting the portable version, please update your archiving program. The archive uses LMZA2 compression, which was added to WinRAR 3.91 and 7zip 9.04 somwhere in 2009. The latter is just as free as Dev-C++, so nothing is holding you back to extract it.



Download
  • The setup which includes MinGW32 4.7.2 can be downloaded here (25MB).
  • The setup which includes TDM-GCC x64 4.7.1 can be downloaded here (44MB).
  • The setup which does not include a compiler can be downloaded here (2MB).
  • The portable version which includes MinGW32 4.7.2 can be downloaded here (17MB).
  • The portable version which includes TDM-GCC x64 4.7.1 can be downloaded here (32MB).
  • The portable version which does not include a compiler can be downloaded here (2MB).
  • Separate compilers can be downloaded here.
  • Lastly, the source code can be found here (1MB).

All editions can run on 32-bit Windows.

All Dev-C++ editions can be updated using the No Compiler setups/zips.



Release Candidate 1 of the next version

The 5.4.1 RC1 update can be found here. Its source code can be found here.

Changes - Version 5.4.1 RC1 - 23 Februari 2013
  • When accidentally clearing the code completion list, one is now given a second wind before the list is hidden.
  • Fixed an out of bounds error in the code completion code.
  • Fixed an error that caused crashes in Compiler Options >> Settings under Windows 2000 (and older).
  • Typedef structs now get formatted as "struct Foo" instead of "structFoo" in mouseover hints.
  • The debugger now preserves the current working directory when running programs.
  • Redesigned the compiler output formatter code, which now uses half the amount of code.
  • The mouseover tooltip now shows scope information too.



Choosing between 32bit and 64bit
  • The 64bit compiler will fully work op 32bit computers.
  • The 64bit compiler can do everything the 32bit compiler can, including creating 32bit executables.
  • The 64bit compiler can do stuff the 32bit compiler can't, like creating 64bit executables. It also comes with a lot more headers and libraries.
  • There is no single reason to download the 32bit version except for maybe file size, marginally longer compiling time, or in case you have to use that specific compiler for any reason (regression problems for example).
Compiling for 32bit using TDM-GCC x64
  • To force 32bit on all new projects and non-project compiles, go to Tools >> Compiler Options and select the 'TDM-GCC 32bit' profile. This profile will use the -m32 flag and use lib32 by default.
  • To force 32bit on already created projects, go to Project >> Project Options >> Compiler and select the 'TDM-GCC 32bit' compiler profile.

55 comments:

  1. Thanks for your hard work and the 5.4.0 version :)

    ReplyDelete
  2. Thank you again Orwell

    ReplyDelete
  3. Thank you, dude !!! Keep up the good work !

    ReplyDelete
  4. Nice work!
    One thing I noticed, though, is that in the first-time configuration setup, if you try to add a folder to the list of header files to be cached, it'll only let you select a folder within the directory Dev-C++ is installed in. (so I can't select a folder outside of my Dev-C++ installation folder).
    Other than that, thanks for the new release!!

    ReplyDelete
  5. Thanks for this hard work.
    But works Dev C++ now on Windows 8??

    ReplyDelete
    Replies
    1. Hi,

      Orwell Dev-C++ has, for as far as I know, always worked on Windows 8 (or at least the beta versions which I tested on). Can you tell why it doesn't/didn't in your case?

      Delete
    2. In my case... i tested on nine different windows 8. they were work very good. but sometimes the compile time was slow cause it on first time compiling

      Delete
  6. However, when I go in a finished program on Compile to Compile, the status message is done. But when I go to run, theres the message source file is'nt compiled

    ReplyDelete
  7. Hello,
    now it works. I had only a really old version.
    I see I needn't buy some Compiler as Visual Studio.
    Thanks

    ReplyDelete
  8. I updated Japanese translation file for 5.4.0
    It can be downloaded at here:
    http://www.gigauploader.com/file/0443557108976924

    By the way, I keep getting access violation when I try to open project option.
    It occurs in both English and Japanese UI.
    Here is the bug report text:
    http://ideone.com/uCmWzO

    ReplyDelete
  9. I updated Japanese translation file for 5.4.0
    It can be downloaded at here:
    http://www.gigauploader.com/file/0443557108976924

    By the way, I keep getting access violation when I try to open project option.
    It occurs in both English and Japanese UI.
    Here is the bug report text:
    http://ideone.com/uCmWzO

    ReplyDelete
  10. class bowser doesnot work in windows 8 and can you add ctrl + space functionality as that of code:block. thankx for ur effort.

    ReplyDelete
  11. ¡Thanks! It's my favourite IDE for C language.

    ReplyDelete
  12. I use 5.4.0, under win7. It has still problem "Permission denied". Here is the message shown in the "compiler" message card sometimes when I compile the program:

    Permission denied
    C:\...\collect2.exe [Error] ld returned 1 exit status
    C:\...\Makefile.win [Error] [test-progs.exe] Error 1

    When I close Dev-C++, reopen it, and compile the same program again, sometimes I succeed (sometimes not). It is very strange.

    ReplyDelete
    Replies
    1. It happens when you try to compile the code and the executable is still running, the compiler cannot rwrite the executable file. Open Task manager and terminate it to be able to compile normally.

      Delete
  13. Thanks for continuing the Dev-C++ compiler. One request: would you please add support for programming style? My programming style is a little bit different than most as it is like this:

    #include
    using namespace std;

    int main()
    {
    int i = 0;

    if(i == 0)
    { //position is one space after if statement, other statements continue on same line
    cout << "i is 0!" << endl;
    if(i == 1)
    cout << "That's not right." << endl;
    }

    getchar();
    return 0;
    }

    ReplyDelete
    Replies
    1. Whoops, that didn't format correctly. Pretend the .'s are spaces. ;)

      #include
      using namespace std;

      int main()
      .{
      .int i = 0;
      .
      .if(i == 0)
      ..{ //position is one space after if statement, other statements continue on same line
      ..cout << "i is 0!" << endl;
      ..if(i == 1)
      ...cout << "That's not right." << endl;
      ..}
      .
      .getchar();
      .return 0;
      .}

      Delete
    2. Hmmm, can you try this:

      - Open Tools >> Editor Options.
      - Untick "Use tab character" (this will insert spaces instead) and set tab width to one.

      Delete
  14. I beg you Orwell! Please change the color picker box in Editor Options > Colors ! We cannot choose a color using RBG and are forced to choose one of those colors in the 'hexagons'. I wanna set a warm and bright color as my background, but i can't find one that is good for me.

    ReplyDelete
    Replies
    1. Would you like a color picker similar to the one provided by MS Paint? I can implement that.

      Delete
    2. Not original "Anonymous" here, but I think that it would be great, since it can go from #000000 to #ffffff :D

      Delete
    3. Added fancier color options to 5.4.1 RC2 (to be released soon).

      Delete
  15. First of all, thank you very much for your tremendous effort to keep this project alive. The whole communities, and the Web itself for that matter, depend on the people like you.

    Now, I just wanted to ask you if you could fix "Auto Open" functionality (Tools->Environment Options->Auto Open), because none of the options work (please fix at least "Opened files at previous closing" option). Everything else works for me perfectly, so I am BEGGING YOU for this one.

    I am using Orwell Dev-C++ 5.4.0 (default installation with TDM-GCC 4.7.1) on Windows 7 Ultimate 64bit system. If you need more information feel free to ask.

    Regards,
    Nenad

    ReplyDelete
    Replies
    1. This is definitely the first time I've heard about this feature not working.

      You are aware that this feature is about reopening project files when opening up the project itself, right? It doesn't affect anything on startup of Dev-C++.

      The only bug/weird behaviour that I know of is that "Opened files at previous closing" opens nothing, when nothing was left open during project closing. This is considered a bug by some. ;)

      Delete
    2. Oh, I see. I thought that "Auto Open" feature does affect file opening on Dev-C++ startup. Well, thank you for your explanation on the subject.

      Now, is there any way you can add a feature like that: to open all single files or project files that were opened when the Dev-C++ was closed, upon Dev-C++ startup?

      Regards,
      Nenad

      Delete
  16. I save test.c under C:\Documents and Settings,"Compile" work, but "Run" doesn't work. I can run test.exe with double-click.
    It works well when I save test.c under another folder.
    Windows XP, Dev-C++ 5.4.0

    ReplyDelete
  17. Hi there,
    first I want to thank you for this great IDE (it's my favourite one).
    Now I have a request - would it be possible if you can implement following: If you open a project file, every from the project will be openend, which is kind of annoying to close them, because you don't want to work with most of them at the time.

    Well then, have an excellent time!

    ReplyDelete
  18. Great job,
    If you help with translation, you can try here:
    http://translationproject.org/html/welcome.html

    thanks for you time, make dev-c++ live again! :)

    ReplyDelete
  19. Hi. It seems there is a bug.
    When the compiler is compiling "cpb_main.c", Dev-C++ says "Compiling main.c ..."

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. Yessssss!!!!! My most favorite IDE ever has been reborn!

    (This system should allow edits...)

    ReplyDelete
  22. QUESTION: what GUI devpak should i install to my Orwell DevC++? im trying to make a calculator designed to calculate grades base on our school's grading system.

    ReplyDelete
  23. Please fix the issue with libs
    i converted mysqlclient.lib to mysqlclient.a using ar command ( ar rcs mysqlclient.a mysqlclient.lib )
    after that when i add library to project and compile project i get error: Archive has no index; run ranlib to add one
    i run ranlib ( ranlib libmysqlclient.a) but same error : Archive has no index; run ranlib to add one

    so please play with compiler and make it advance/smart so that it not look for index or symbols etc

    ReplyDelete
  24. Win 7(64); Dev-CPP 5.4.1 RC1; console win32 project.

    When pressing Alt-P (Project options), getting a message:
    "Oops! Unexpected error has occurred...
    Address: 0x00D7F917
    Access violation at 0x00D7F917; Write of address 0x00D7F917.

    (BTW having similar problem with Alt-P with all makes of Dev-CPP and Win7(64)).

    ReplyDelete
    Replies
    1. Can I have the complete stack trace please? This bug is being reported way too often lately.

      Delete
    2. Same problem on Win8

      Application version: 5.3.0.4

      Machine info
      ------------
      Platform : Windows NT
      OS version : version 5.1 (build 2600)
      Additional info: Service Pack 3
      Computer name : HANSW


      The following error occured in version 5.3.0.4:
      Access violation at address 00D9FA73. Write of address 00D9FA73 (at address 0x00D9FA73)


      Please include a description of what you were doing before the error occured:


      Stack trace:
      ------------
      0027BAC9 (0017AAC9): TEAnalyzer.EHandler (ExceptionsAnalyzerFrm - 228)
      0025E477 (0015D477): TfrmProjectOptions.InitVersionInfo (ProjectOptionsFrm - 1022)
      0025C174 (0015B174): TfrmProjectOptions.SetInterface (ProjectOptionsFrm - 533)
      00266330 (00165330): TProject.ShowOptions (project - 1544)
      00244E12 (00143E12): TMainForm.actProjectOptionsExecute (main - 2835)
      0027E9C8 (0017D9C8): (devcpp - 167)
      0027E9E3 (0017D9E3): (devcpp - 167)
      0027E638 (0017D638): (devcpp - 107)

      Delete
    3. also with latest release
      Application version: 5.4.1.0

      Machine info
      ------------
      Platform : Windows NT
      OS version : version 5.1 (build 2600)
      Additional info: Service Pack 3
      Computer name : HANSW


      The following error occured in version 5.4.1:
      Access violation at address 00C1FA6B. Write of address 00C1FA6B (at address 0x00C1FA6B)


      Please include a description of what you were doing before the error occured:


      Stack trace:
      ------------
      00274FF9 (00173FF9): TEAnalyzer.EHandler (ExceptionsAnalyzerFrm - 228)
      00258FD8 (00157FD8): TfrmProjectOptions.InitVersionInfo (ProjectOptionsFrm - 1024)
      00256CA0 (00155CA0): TfrmProjectOptions.SetInterface (ProjectOptionsFrm - 533)
      00260C38 (0015FC38): TProject.ShowOptions (project - 1485)
      0023FCCA (0013ECCA): TMainForm.actProjectOptionsExecute (main - 2709)
      00277EB5 (00176EB5): (devcpp - 163)
      00277ED0 (00176ED0): (devcpp - 163)
      00277B18 (00176B18): (devcpp - 102)

      Delete
  25. I neeeeed help!!!!V 5.4.0 with TDM-GCC 4.7.1 64bit compiler gives cout as not declared in scope when compiling. Am I missing something?

    ReplyDelete
  26. Hi, Is it possible to change the class browser's background colour to match the editor's background? Having a dark editor window against the white of the class browser produces some glare that can be tough on the eyes.

    Kind regards,
    Pawel.

    ReplyDelete
  27. Thanks for good releases

    ReplyDelete
  28. Stable versions are better or RC version is better??

    ReplyDelete
  29. It does not use the compilers bin path => 'g++.exe: Fehler: CreateProcess: No such file or directory', using windows 8 here

    ReplyDelete
  30. Dev C++ 5.4.1

    1. When adding files to a project, it is only possible to add files one by one. It would be convenient to select and add multiple files at once.

    2. Bug: closed tabs remain visible until IDE is restarted.

    ReplyDelete
  31. Hi!

    Where i can find function for string: stoi(), stol()...?

    http://cplusplus.com/reference/string/stoi/
    http://cplusplus.com/reference/string/stol/

    #include - can't help me.

    I have error: 'stoi' was not declarated in this scope.

    ReplyDelete
  32. gcc.exe: error: CreateProcess: No such file or directory

    mingw32-make.exe: *** [Ftest.o] Error 1

    Execution terminated


    please help me to solve this issue.

    ReplyDelete
  33. regarding devcpproot\devcpp.exe.manifest

    Contrary to indications I found on this page:
    http://orwelldevcpp.blogspot.com/2012/04/dev-c-5201-released.html

    devcpp.exe.manifest does not seem to exist in any of the source archives (checked 5.4.2rc6, 5.2.0.1 (around time of that release/post), 4.9.9.3.

    Where can devcpp.exe.manifest as used to build a release, be found?

    Thanks.

    ReplyDelete
  34. gracias el programa es uno de mis favoritos en este tema, buen trabajo. :)

    ReplyDelete
  35. an unexpected error has occurred in the application dev c++?????? hic,,,,,help

    ReplyDelete
  36. g++.exe: error: CreateProcess: No such file or directory
    please help!!!!!!!!!!

    ReplyDelete
  37. To create your programing assignments and learn programing just visit this website. http://clanguageprogrames.blogspot.com/

    ReplyDelete
  38. I want to use graphics in dev c++ , how can i use it??
    please help me

    ReplyDelete
  39. Joaquim.
    i'm trying use the GetCurrentConsoleFont()(and others) but isn't declared in Header files or libraries.
    can anyone tell me how can i use that function?

    ReplyDelete
  40. Joaquim

    thanks

    #ifdef __cplusplus
    extern "C" {
    #endif
    //here you can declare the functions(like in msdn)
    BOOL WINAPI GetCurrentConsoleFont(HANDLE hConsoleOutput,BOOL bMaximumWindow,PCONSOLE_FONT_INFO lpConsoleCurrentFont);
    COORD WINAPI GetConsoleFontSize(HANDLE hConsoleOutput,DWORD nFont);
    HWND WINAPI GetConsoleWindow();
    #ifdef __cplusplus
    }
    #endif

    ReplyDelete