943,907 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1586
  • C++ RSS
Aug 4th, 2009
0

CYGWIN or MiniGW

Expand Post »
I'm trying to set up NetBeans IDE on my Vista Home, and have a choice between those two compilers. Which one would you choose? I also want to have Code::Blocks.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,953 posts
since Aug 2005
Aug 4th, 2009
0

Re: CYGWIN or MiniGW

A full install of code::blocks would have installed a version of MinGW.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Aug 4th, 2009
0

Re: CYGWIN or MiniGW

Hello,
In my opinion you can install MinGW and install Eclipse, but if you want to use NetBeans or other IDE you need to have MinGW.
Reputation Points: 33
Solved Threads: 6
Junior Poster
Nathan Campos is offline Offline
190 posts
since Jul 2009
Aug 5th, 2009
0

Re: CYGWIN or MiniGW

I had already installed cygwin, but based on your recommendations I deleted it and installed Code::Blocks with MiniGW. Code::Blocks appears to be working now. Then I tried to configure NetBeans to work with the MiniGW that's in Code::Blocks directory. The problem now is that there is no make.exe in that directory. So being the smart ass that I am I downloaded GNU Make for Windows, configured NetBeans to use that program. Apparently that version of make doesn't like the makefiles that NetBeans generates because it produced some sort of error.
Quote ...
make: *** [.validate-impl] Error 255
Anyone have a solution to this problem? Or know why a make.exe program was not installed with MiniGW?
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,953 posts
since Aug 2005
Aug 5th, 2009
0

Re: CYGWIN or MiniGW

There is a make.exe in the msys directory which is installed alongside the mingw directory.

That's where I found a make.exe anyway, though I'm not clear on what the installation steps were to get it.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Aug 6th, 2009
0

Re: CYGWIN or MiniGW

There are differences in the make between POSIX and Windows, as well as some problems with the MSYS make (which is POSIX, AFAIK).

You should be using your ~MinGW\bin\mingw32-make.exe program when compiling in the non-POSIX (Windows native) environment, and the ~MSYS\...\bin\make.exe program when compiling under the MSYS POSIX environment.

Hope this helps.
Featured Poster
Reputation Points: 1140
Solved Threads: 229
Postaholic
Duoas is offline Offline
2,039 posts
since Oct 2007
Jan 9th, 2011
0
Re: CYGWIN or MiniGW
Netbeans does require the "make.exe" from MSYS! It's not possible to use the make from the MinGW ("mingw32-make.exe"). If you have renamed the file "mingw32-make.exe" to "make.exe" then u'll get the error "... make: *** [.validate-impl] Error 255 ..."

Use insteed the make from the directory

=>[MinGW]\msys\1.0\bin\make.exe

If the "make.exe" is not this directory then reinstall MinGW with the MSYS option and correct your path in your Netbeans configuration.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
marantis is offline Offline
1 posts
since Jan 2011

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Using C++ MD5 hash for software verification & licence files
Next Thread in C++ Forum Timeline: How to extract .cab files with C++?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC