Re: using MinGW for Gtkmm on windows
- From: José Alburquerque <jaalburquerque cox net>
- To: Martín Vales <martin opengeomap org>
- Cc: gtkmm-list gnome org
- Subject: Re: using MinGW for Gtkmm on windows
- Date: Wed, 21 Jan 2009 13:30:27 -0500
Martín Vales said the following:
Eugene Wee escribió:
Hi,
lovekie wrote:
Thanks, I also don't want install the cygwin, and just use the the
native
mingw. The netbeans only support the cygwin version mingw, and I can
compile
and link it with no error.
That is not true: Netbeans does support MinGW, as described in this
article:
http://www.netbeans.org/community/magazine/html/03/c++/
that´s not true. by default netbeans is ready for cygwin, but cygwin
it´s not a native compiler in windows. In netbeans you can configure
the compiler and debugger you want like code::blocks, dev-cpp,
eclipse, ect.
Mingw have a problem with netbeans because the default make, but if
you use the make of msys you don´t have any problem.
Here explain the make problem:
http://wiki.netbeans.org/MinGWInCCDevelopmentPack
Here are the first few paragraphs of the link you just provided (above):
Is it possible to use MinGW in C/C++ Development?
Yes, you can use MinGW tools with the C/C++ Development pack. Go to
http://www.mingw.org and follow the instructions in the Getting Started
document http://mingw.org/wiki/Getting_Started to install the compiler
suite, the gdb debugger. and the MSYS make.exe program..
Add the paths to the ..programs\msys\<version-number>\bin and
..\programs\MinGW\bin directories at the beginning of your PATH.
Configuring the NetBeans C/C++ pack to use the MinGW Tools:
Note: This is not necessary with NetBeans IDE 6.0, 6.1, and 6.5 (at
least under Windows XP). After logging in again or rebooting the PC,
NetBeans configures itself appropriately.
In NetBeans 5.5.1, compiling works, but the C++ editor is not aware of
the include files and will mark all functions like printf() etc. as
missing by a red line. To cure this, choose Tools > Options, select
C/C++ in the left pane, and click Parser Settings in the Code Assistance
section of the C/C++ Settings page. Choose the appropriate Tab (C or C++
Compiler), click Add, and add all the folders that contain the header
files. NetBeans does not search the folders recursively, you have to add
each folder.
--
José Alburquerque
jaalburquerque cox net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]