Anyone use Dev-C++ IDE?

Started by Amanda Dearheart, January 14, 2025, 02:22:44

Previous topic - Next topic

Amanda Dearheart

Before I ask my questions, Im checking to see if there are any Dev-C++ users here on the boards.  I"ve checked the internet, and I cannot find any bb's supporting the IDE.  I have some questions about the error messages the IDe is generating. many of them minor but different enough from Embarcadero to make me look stupid.
Prepare to be assimilated !  Resistance is futile!

Qube

Probably a stupid question but have you been through something like ChatGPT with the error messages to see if their data set has gobbled up this kind of error / solution?
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD.
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32GB DDR5 RAM 1T PCIe 4.0 SSD.
Microsoft Surface Pro 11 ( Snapdragon® X Elite ), 16GB RAM, 512GB SDD.
ASUS ROG Swift OLED PG27AQDM OLED 240Hz.

Until the next time.

dawlane

#2
Dev-C++ is not the easiest of IDE's to setup, or the friendliest to use. It requires that you have some knowledge on compiler and linker parameters.

Dev-C++ is practically a dead project. The original was from bloodshed and definitely has been worked on in over a decade. Embarcadero's fork is almost virtually the same. But again hasn't had an update in a while.

I had to talk @Baggy through setting it up. I don't know if he's still using it or C++.

What error are you getting?

bprlhe

Use this instead:

https://github.com/royqh1979/RedPanda-CPP

Download the latest version from Releases.

dawlane

#4
Quote from: bprlhe on January 17, 2025, 05:57:45Use this instead:

https://github.com/royqh1979/RedPanda-CPP

Download the latest version from Releases.
Personally I would use something that is much better supported, well known, such as vscode with cmake, or vscode with the make tool if you are a masochist, or Codelite, which can be used to create windows GUI applications without having to use wxWidgets.

There is also CBuilder, which currently supports the C++17 standard.

Baggey

Quote from: dawlane on January 14, 2025, 03:18:57Dev-C++ is not the easiest of IDE's to setup, or the friendliest to use. It requires that you have some knowledge on compiler and linker parameters.

Dev-C++ is practically a dead project. The original was from bloodshed and definitely has been worked on in over a decade. Embarcadero's fork is almost virtually the same. But again hasn't had an update in a while.

I had to talk @Baggy through setting it up. I don't know if he's still using it or C++.

What error are you getting?
I still have it available to me THANKYOU!  :) But find it much to much effort to get going!

Having said that if you follow that thread/Blog it will work perfectly! 8)

Thanks to @dawlane

Kind Regards Baggey
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

tboy


Baggey

Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

Quote from: Baggey on February 11, 2025, 19:02:28
Quote from: tboy on February 09, 2025, 20:32:55Have you tried GEANY ?
Im giving it a try but no Examples :-X

I'm sure that there are one or two tutorials out there.
But what ever you do. Do not on any account install the TDM compiler. It may not be flagged by any anti-virus software, but the 64 bit binaries it produces do.
Try the ones out at winlibs
 Geany is one of those code editors that expects you to put tools somewhere n the system search path.

Amanda Dearheart

@tboy,

According .to webpage I just read, geany is just a text editor.   Dev-C++ is a full C++ compiler.
Its error message are different than other C++ compillers.
Prepare to be assimilated !  Resistance is futile!

dawlane

#10
Quote from: Amanda Dearheart on February 11, 2025, 21:46:45@tboy,

According .to webpage I just read, geany is just a text editor.  Dev-C++ is a full C++ compiler.
Its error message are different than other C++ compillers.
Dev-C++ is not a full compiler. It is a lightweight Integrated Development Environment geared towards the MinGW compiler. You have two download options from the original Bloodshed site. One with a MinGW compiler and debugger that is so old you are bound to have issues with it on anything newer than Window XP. And the other is just the IDE where the user has to supply the MinGW compiler.
And never try to use the devpac files, they will be broken, and a possible security risk even if they were not broken. Though if you know what you are doing, you can create your own. If I remember, they are just a compressed Unix style directory tree of a prebuilt library binaries, with a description file that's all compressed into a renamed tar.gz file.

The other version of Dev-C++ is from Embarcadero, which comes with a broken compiler. That being TDM's version of MinGW 9.2. The 9/10 builds from any vendor had issues.
Currently MinGW is at version 14.2. You can change it to use another MinGW compiler, but Dev-C++ interface for compiler configuration is a bit weird.
The only big difference between the TDM versions of MinGW and the versions from other vendors is how they link libgcc, libstdc++ and winpthreads. TDM links these into the final executable, which has licence implications, which those from other vendors require that the dynamic link libraries for the three aforementioned libraries have to be supplied with the final executable.

And different versions of MinGW will give different error depending on which of the C/C++ standards are set as the default. That could be anywhere from C++11 to C++17.

Amanda Dearheart

Thanks dawlene.

Btw,  how do you know this?
Prepare to be assimilated !  Resistance is futile!

dawlane

#12
Quote from: Amanda Dearheart on February 12, 2025, 22:56:53Thanks dawlene.

Btw,  how do you know this?

Because I've used all of these in the past. And don't use them these days, because there are much better solutions that are regularly maintained, supported and in some cases. An actual forum for users.

The Embarcadero version of Dev-C++, also has two download versions. One with TDM-GCC-64 9.2, and one without. The main Embarcadero site only links to the version with the TDM compiler, and you have to register. You will find both of these on Embarcadero's github release page.

If you want to know things about the MinGW compiler, just check out the GCC website and the MinGW-w64 site. The MinGW-w64 versioning format usually has the GCC version prefix, followed by the MinGW-w64 version number. The compiler that comes with the bloodshed version of Dev-C++, if I remember, was the original MinGW32 compiler. This is a strictly 32 bit compiler, which is now a dead project with people preferring the MinGW-w64 distribution.