Thread: [Dev-C++] Questions I should have asked
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alf C S. <al...@st...> - 2004-05-28 18:10:33
|
Some questions I should have asked before starting my current project. Is anyone on either of these lists using gtk+ to develop applications to run on Microsoft Windows? In C ? If yes are you using Dev-C++? If no what are you using? --- Regards, Alf Stockton www.stockton.co.za The world is coming to an end ... SAVE YOUR BUFFERS!!! |
|
From: Tor L. <tm...@ik...> - 2004-05-28 20:29:58
|
Alf C Stockton writes: > Is anyone on either of these lists using gtk+ to develop applications to run > on Microsoft Windows? In C ? Sure. > If yes are you using Dev-C++? No. > If no what are you using? XEmacs, mingw, autotools, Cygwin. --tml |
|
From: Daniel K. O. <dan...@ya...> - 2004-05-28 21:40:33
|
Alf C Stockton wrote: >Is anyone on either of these lists using gtk+ to develop applications to run >on Microsoft Windows? In C ? > > I'm one of the maintainers of a port of Lopster (a Napster/IRC client). http://winlop.sourceforge.net >If yes are you using Dev-C++? > > Yes. And I also have installed all the MinGW toys (MinGW, MSYS, MSYS Developer Tool Kit, MinGW utils, binutils, gdb, etc). PS1: By the way, you guys were discussing a while ago about the flags to use in GTK+ apps... why don't just use `pkg-config gtk+-2.0 --cflags` in the compiler flags and `pkg-config gtk+-2.0 --libs` in the linker flags, as it says in the docs? (and obviously the -mms-bitfields and -mno-cygwin options) Of course, considering you have pkg-config. PS2: by the way, Tor, is it really needed to use -mno-cygwin (as you always tell everybody) when compiling with MinGW? Isn't it the default for MinGW? Daniel K. O. |
|
From: Per W. <pw...@ia...> - 2004-05-28 22:05:03
|
`pkg-config gtk+-2.0 --libs` is nice if you have a shell that may expand the command. For normal windows use, you have to hard-code the parameters on the command line. If pkg-config itself is runnable, it is possible to run it and use the printed output as parameters. /Per W On Fri, 28 May 2004, Daniel K. O. wrote: > Alf C Stockton wrote: > > >Is anyone on either of these lists using gtk+ to develop applications to run > >on Microsoft Windows? In C ? > > > > > > I'm one of the maintainers of a port of Lopster (a Napster/IRC client). > http://winlop.sourceforge.net > > > >If yes are you using Dev-C++? > > > > > Yes. And I also have installed all the MinGW toys (MinGW, MSYS, MSYS > Developer Tool Kit, MinGW utils, binutils, gdb, etc). > > > > PS1: By the way, you guys were discussing a while ago about the flags to > use in GTK+ apps... why don't just use `pkg-config gtk+-2.0 --cflags` in > the compiler flags and `pkg-config gtk+-2.0 --libs` in the linker flags, > as it says in the docs? (and obviously the -mms-bitfields and > -mno-cygwin options) Of course, considering you have pkg-config. > > PS2: by the way, Tor, is it really needed to use -mno-cygwin (as you > always tell everybody) when compiling with MinGW? Isn't it the default > for MinGW? > > > Daniel K. O. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Daniel K. O. <dan...@ya...> - 2004-05-28 22:33:34
|
Per Westermark wrote: >`pkg-config gtk+-2.0 --libs` is nice if you have a shell that may expand >the command. > >For normal windows use, you have to hard-code the parameters on the >command line. If pkg-config itself is runnable, it is possible to run it >and use the printed output as parameters. > > Fortunately, GNU Make expands the command exactly like a shell. :) Daniel K. O. |
|
From: Alf C S. <al...@st...> - 2004-05-29 16:38:36
|
On Fri, 28 May 2004, Daniel K. O. wrote: > Alf C Stockton wrote: > > >Is anyone on either of these lists using gtk+ to develop applications to run > >on Microsoft Windows? In C ? > > > > > > I'm one of the maintainers of a port of Lopster (a Napster/IRC client). > http://winlop.sourceforge.net > > > >If yes are you using Dev-C++? > > > > > Yes. And I also have installed all the MinGW toys (MinGW, MSYS, MSYS > Developer Tool Kit, MinGW utils, binutils, gdb, etc). > > > > PS1: By the way, you guys were discussing a while ago about the flags to > use in GTK+ apps... why don't just use `pkg-config gtk+-2.0 --cflags` in > the compiler flags and `pkg-config gtk+-2.0 --libs` in the linker flags, > as it says in the docs? (and obviously the -mms-bitfields and > -mno-cygwin options) Of course, considering you have pkg-config. > Thank you all. I have added `pkg-config gtk+-2.0 --cflags` to compile options and now gcc tells me "cannot specify -o with -c or -S and multiple compilation" and yes I have 4 different .c source files in my project. Do I need to put these source files together into one file? --- Regards, Alf Stockton www.stockton.co.za When the speaker and he to whom he is speaks do not understand, that is metaphysics. -- Voltaire |
|
From: THAMAE <m_t...@ya...> - 2004-05-31 07:15:07
|
Hi! guys I am trying to interface betwbeen C++ (on Dev-C++) and Ms Access and I can't establish a connection through a system DSN, has any one achieved this? --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger |
|
From: Tim S. <ti...@we...> - 2004-05-31 08:28:56
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 HI Thamae, you wrote: | Hi! guys I am trying to interface betwbeen C++ (on Dev-C++) and Ms | Access and I can't establish a connection through a system DSN, has any | one achieved this? You could check the wxWidget lib, it has an ODBC class for accessing Access and other dbs. For more information have a look at http://www.wxwidgets.org/ HTH Tim - -- http://we-are-teh-b.org/~tim/borg.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAuuxDsMXChvH2qP0RAtNBAKC+BUsflKBSjYjEKLuvh6fYGZmDtACfQfYf t/sHiBDTwlPS20y41VP3W7Y= =Z8UF -----END PGP SIGNATURE----- |
|
From: Yeoh HS <ye...@ye...> - 2004-05-31 12:32:15
|
THAMAE wrote: > Hi! guys I am trying to interface betwbeen C++ (on Dev-C++) and Ms > Access and I can't establish a connection through a system DSN, has any > one achieved this? > Hello, I have an example C++ program that does this. It was written using Dev-C++, NoDSNCpp-V1.0.zip: ODBC DSNless connection in C++. The download URL is: http://www.yeohhs.com/downloads.htm Best Regards, Yeoh -- http://www.yeohhs.com |
|
From: Toni W. <to...@ik...> - 2004-05-31 03:19:57
|
On Fri, 2004-05-28 at 21:10, Alf C Stockton wrote: > Some questions I should have asked before starting my current project. > > Is anyone on either of these lists using gtk+ to develop applications to run > on Microsoft Windows? In C ? > If yes are you using Dev-C++? > If no what are you using? Sure. I use Emacs as an editor. The binaries for Win32 version of Silky are built on Linux using MinGW (a cross compilation toolchain). -- Toni Willberg - to...@ik... - http://toniw.iki.fi/ Silky - A Gtk2 client for SILC - http://silky.sourceforge.net/ SILC - Secure Internet Live Conferencing - http://www.silcnet.org/ |