What IDE is used to compile any of the individual MingW code?

Other General Resources like icon sets, sound files etc.,

Moderator: Rathinagiri

Post Reply
HGAutomator
Posts: 188
Joined: Thu Jul 16, 2020 5:42 pm
DBs Used: DBF

What IDE is used to compile any of the individual MingW code?

Post by HGAutomator »

Hi,

I tried downloading Code:Blocks which is supposed to work with MingW GCC, but I can't figure out how to point it to the compiler. I played with it for more than a day.

Is there another IDE that is either bundled with MingW, or is easy to configure?

I've tried Code:Blocks and Dev-C++, so far.
User avatar
gfilatov
Posts: 1068
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: What IDE is used to compile any of the individual MingW code?

Post by gfilatov »

HGAutomator wrote: Mon Jan 30, 2023 4:26 pm Hi,
...
Is there another IDE that is either bundled with MingW, or is easy to configure?
Hi,

Please take a look at the following useful URL: :arrow:

https://code.visualstudio.com/docs/cpp/config-mingw

Hope that helps. :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
HGAutomator
Posts: 188
Joined: Thu Jul 16, 2020 5:42 pm
DBs Used: DBF

Re: What IDE is used to compile any of the individual MingW code?

Post by HGAutomator »

Thanks Grigory,

But I'm trying to stay away from VC.

I was able to try to compile this morning, in Dev-C. Looks like I just have to configure the compiler to send some command line parameters to gcc, and possibly point it to a different Mingw version.

I think we're good, just need to spend some time on it.


Thanks and Regards,
User avatar
Anand
Posts: 595
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF

Re: What IDE is used to compile any of the individual MingW code?

Post by Anand »

HGAutomator wrote: Mon Jan 30, 2023 5:45 pm But I'm trying to stay away from VC.
Any particular reason ? Or just stay away from M$.

Actually I found VC when I had to install the same for my son's college project. It is good, if not best, code syntax highlighter for different language, I found, with compiling capability.

So want to know the cons.
Regards,

Anand

Image
HGAutomator
Posts: 188
Joined: Thu Jul 16, 2020 5:42 pm
DBs Used: DBF

Re: What IDE is used to compile any of the individual MingW code?

Post by HGAutomator »

I tried it about a year ago, and sometime before that, and just don't like it.

I recall the configuration was difficult and time-consuming, and I tend to prefer text-mode editors.

I looked into code:blocks and dev-c because it seemed like the path of least resistance to debugging a specific c module. But I definitely don't want to travel down the Visual Code rabbit hole again.
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: What IDE is used to compile any of the individual MingW code?

Post by AUGE_OHR »

hi

MinGW was made to get a "free" C-Compiler
BCC 5.x was also give to Community as "free"
MSVC Express is also "free" so why not use it :?:

the "Problem" of different Compiler are LIB which are need so same CODE will not run with other Compiler if not have "same" LIB
now when look for Sample you 1st find CODE for MSVC and later perhaps for BCC or MinGW ( e.g. WebView2 )

---

under Fivewin i can use BCC7 or MSVC Express (64 Bit).
Fivewin LIB "seems" to be "compabtible" to both

for BCC7 i use *.MAK File while MSVC use *.HBP

---

i do not use MSVC Express IDE "just" Compiler and LIB
it need to use MSVC Environment

Code: Select all

call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
if would be great to make HMG and Extendet Version more "compatible" when can use MSVC Express too
have fun
Jimmy
User avatar
gfilatov
Posts: 1068
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: What IDE is used to compile any of the individual MingW code?

Post by gfilatov »

AUGE_OHR wrote: Thu Feb 02, 2023 12:11 am ...
if would be great to make HMG and Extendet Version more "compatible" when can use MSVC Express too
Hi Jimmy,

Please note that MiniGUI Extended is fully compatible with MS Visual C++ 2022 Community Edition.

The corresponding Harbour builds are below:
Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2301151017)
Compiler: Microsoft Visual C++ 19.34.31937 (32-bit)
Platform: Windows 10 10.0
PCode version: 0.3
ChangeLog last entry: 2023-01-15 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
and
Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2301151017)
Compiler: Microsoft Visual C++ 19.34.31937 (64-bit)
Platform: Windows 10 10.0
PCode version: 0.3
ChangeLog last entry: 2023-01-15 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
So there is not problem with using MiniGUI with MSVC. :arrow:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: What IDE is used to compile any of the individual MingW code?

Post by AUGE_OHR »

hi Grigory
gfilatov wrote: Thu Feb 02, 2023 8:35 am Please note that MiniGUI Extended is fully compatible with MS Visual C++ 2022 Community Edition.

So there is not problem with using MiniGUI with MSVC. :arrow:
WOW
i did not note this, sorry
have fun
Jimmy
HGAutomator
Posts: 188
Joined: Thu Jul 16, 2020 5:42 pm
DBs Used: DBF

Re: What IDE is used to compile any of the individual MingW code?

Post by HGAutomator »

'MSVC Express is also "free" so why not use it'


Hi Auge_Ohr,

I already tried it, and I don't like it. Again, from memory, I found it too cumbersome to configure. There were other discomforts as well, just don't remember what they were.

It doesn't matter to me, whether something is free ; I often donate to software developers who offer free software, and have many commercial tools.

I just like tools that I'm comfortable with, and that sometimes lead to a Flow State when coding.

I'm not interested in VC, thanks anyway.
Post Reply