dev-cpp-users Mailing List for Dev-C++ (Page 218)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: John D A. L. S. I. <joh...@le...> - 2004-05-17 16:32:28
|
might benefit the group. thanks guys Regards John. John D Allen. CEO & President. Leveridge Systems INC. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Stanley Sent: Sunday, May 16, 2004 3:50 PM To: DE...@pa...; dev...@li... Subject: RE: [Dev-C++] newbie function_struct_array problem > --- On Fri 05/14, Dane Ensign < DE...@pa... > wrote: > From: Dane Ensign [mailto: DE...@pa...] > Subject: [Dev-C++] newbie function_struct_array problem > <skip> > Im having trouble getting my assignment program to compile. There > is something incorrect between the function prototype, > function call, and function headerline. But I cant figure it out. > <skip> > void CreateEmployee (struct [], int); //prototype That line should be: void CreateEmployee( struct Employee[], int); //prototype A struct keyword by itself doesn't mean anything to the compiler. You have to follow it with an already defined struct name. Another problem is that you use the name struct Employee in your function, but you never define a struct Employee. You define a struct Emp, perhaps that should be struct Employee? Also, you'll need to move the definition of the struct before the definition of the prototype in order for the prototype to work. Some rules of thumb: Your prototype and function definition should be nearly identical. Usual order of program files: #include's constant defintions (#defin or const) Structure declarations/typedefs Function prototypes Code Hope this helps. Stanley _______________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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: <gen...@ya...> - 2004-05-17 16:17:59
|
it seems the prblem is with directx 9. when only the allegro devpak was installed (all directx devpaks were deleted), it could not find the directinput library. reinstalling the directx 9 devpak from webupdate gave the same directsound errors. removing the allegro, directx 9 devpaks, and the command to link in the directinput library, and reinstalling just the allegro devpak caused another set of linker errors. the linker couldn't find the directdraw lib. thanks in advance again for any help --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now |
|
From: <gen...@ya...> - 2004-05-17 16:07:27
|
hi everyone, i have a few problems with dev-c++. okay, i was using the templates to create a few sample programs, and tried compiling the static Allegro template as-is. it kept giving linker errors, mainly about directsound function calls being undefined. i changed the order of the libraries, leaving the '-lalleg_s' for last. more link errors. the dll version worked okay. --- i downloaded the openal devpak using webupdate, and whenever i tried compiling the example program, it always passed a parameter to the compiler: "-fmessage-length=0", which kept the compiler screaming bloody murder (okay, it was screaming 'invalid option'). the same thing happened with a program i wrote, and i had to manually edit the makefile, remove the parameters to the compiler (it's okay for the linker), and make the makefile read-only to get it to work. --- which directx9 devpak is 'official'? there's one you can get from http://gproductions.dazart.de, and another you can get from webupdate. it seems none of them actually work for me. --- the eFLTK devpak template complains about undefined references, mainly to operator delete(void *). my dev version is 4.9.8.9, gcc 3.2 advTHANKSance for any help --------------------------------- Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now |
|
From: Stanley <sms...@iw...> - 2004-05-16 23:50:26
|
> --- On Fri 05/14, Dane Ensign < DE...@pa... > wrote: > From: Dane Ensign [mailto: DE...@pa...] > Subject: [Dev-C++] newbie function_struct_array problem > <skip> > Im having trouble getting my assignment program to compile. There > is something incorrect between the function prototype, > function call, and function headerline. But I cant figure it out. > <skip> > void CreateEmployee (struct [], int); //prototype That line should be: void CreateEmployee( struct Employee[], int); //prototype A struct keyword by itself doesn't mean anything to the compiler. You have to follow it with an already defined struct name. Another problem is that you use the name struct Employee in your function, but you never define a struct Employee. You define a struct Emp, perhaps that should be struct Employee? Also, you'll need to move the definition of the struct before the definition of the prototype in order for the prototype to work. Some rules of thumb: Your prototype and function definition should be nearly identical. Usual order of program files: #include's constant defintions (#defin or const) Structure declarations/typedefs Function prototypes Code Hope this helps. Stanley _______________________________________________ |
|
From: Johan H. <joh...@ed...> - 2004-05-16 07:31:42
|
On Fri, 14 May 2004 21:47:18 -0400, dan moradi wrote > Does anyone know how to turn on the Console window to see the=20 > program output as it is running? I use Dev-C++/mingw/Win98 and when I start a simple console project from = the=20 template, all output (cout) goes straight to the console window at runtim= e.=20 This line: cout << "This text is shown while running"; appears immediately, not only after next endl or '\n' that is output, not= =20 after any console on/off commands. I get the black console window at prog= ram=20 launch, not only at the first cout command. -- Johan Halm=E9n |
|
From: Amit K. S. <ams...@qu...> - 2004-05-15 16:08:33
|
Give the correct type of the first parameter in following function.
void CreateEmployee (struct Emp[], int); //prototype
And you cann't pass the non const value to size of array.
thanks.
-amit
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Dane Ensign
Sent: Saturday, May 15, 2004 3:01 AM
To: dev...@li...
Subject: [Dev-C++] newbie function_struct_array problem
Hi,
Dane here. Im having trouble getting my assignment program to compile. There
is something incorrect between the
function prototype, function call, and function headerline. But I cant
figure it out. Please can someone help me to understand
where I am going wrong?
Thank you in advance for any help you can offer me. Im sorry if Im not
supposed to include my code. SHould I attach it next time?
Here is my source:
______________________________________________
#include <iostream>
#include <stdlib.h>
#include <string.h>
using namespace std;
void CreateEmployee (struct [], int); //prototype
struct Emp
{
char fname[20];
char lname[20];
int age, id;
};
int qty;
int main()
{
cout << "How many Employees do you want?" << endl;
cin >> qty;
cout << "You chose to create " << qty << "employees" << endl;
Emp Employee[qty];
CreateEmployee(Employee, qty);
//DisplayTeam(qty);
cout << "Nice Job Chap! Peaceout";
system("PAUSE");
return 0;
}
void CreateEmployee(struct Employee[], int qty)
{
int b, qtyLocal;
qtyLocal = qty;
for (b = 0; b < qtyLocal; b++)
{
Employee.id = 0;
cout << "Employee Form" << endl;
cout << "First name: " << endl;
cin >> Employee[b].fname;
cout << "Last name: " << endl;
cin >> Employee[b].lname;
cout << "Age: " << endl;
cin >> Employee[b].age;
cout << "Your Employee Summary is: " << endl;
cout << Employee[b].id << endl << Employee[b].fname << endl <<
Employee[b].lname << endl << Employee[b].age;
}
}
_______________________________________________
|
|
From: Amit K. S. <ams...@qu...> - 2004-05-15 15:59:44
|
Amit Kumar Srivastava would like to recall the message, "[Dev-C++] newbie function_struct_array problem". |
|
From: <wa...@wa...> - 2004-05-15 05:04:33
|
On 14 May 2004 at 21:47, dan moradi wrote:
> Does anyone know how to turn on the Console window to see the program
> output as it is running?
Put a system("pause") or a cin or something so that the window waits
for your approval to close.
Watson (the pencil neck) Davis
|
|
From: dan m. <dan...@co...> - 2004-05-15 01:47:21
|
Does anyone know how to turn on the Console window to see the program = output as it is running? thanks, dm |
|
From: <wa...@wa...> - 2004-05-14 22:24:13
|
On 14 May 2004 at 15:31, Dane Ensign wrote: > Hi, > Dane here. Im having trouble getting my assignment program to compile. > There is something incorrect between the function prototype, function > call, and function headerline. But I cant figure it out. Please can > someone help me to understand where I am going wrong? 1. Don't use ".h" files in a C++ program. Change those to cstdlib and cstring. Assuming, of course, that you really want to use C strings. 2. Your prototype for CreateEmployee needs to be after you define what a "struct Emp" is so that you can put "struct Emp" in your parameter list. 3. Your parameter list needs a pointer to a "struct Emp" not just a "struct []". 4. You're not setting the employee id based on the subscript into the array. 5. You're setting the employee id to 0 for all employees. There are probably other things that I'm not seeing in a cursory glance. I made these mods and the code ran correctly. > > Thank you in advance for any help you can offer me. Im sorry if Im not > supposed to include my code. SHould I attach it next time? It would be really hard to determine what your problems were without the code to look at. :) Watson (the pencil neck) Davis |
|
From: Joanna F. <jf...@ve...> - 2004-05-14 22:07:27
|
I have Dev-C++ Version 4 (build on 9/10/2000, Mingw compiler 2.95.2-1 MSVCRT, GNU Debugger 4.18), and it was working just fine (on a Dell Dimension 4600 PC w/ Pentium 4, running Windows XP Pro), until I messed it up by trying to add Corona-1.0.2-vc6 Image I/O to it. I think I should I uninstall and upgrade Dev-C++ and get Redhat's Insight GUI to go with the GDB. Can you direct me to instructions for uninstalling properly? There is no uninstall program in my Dev-C++ for some reason. Can you tell me what version of Dev-C++ to download and install so I can use Insight? Can you tell me how to include Corona properly? Or should I get different image I/O software? My aim is to write a program that will import an RGB image file, manipulate it pixel by pixel, and export a changed image. Joanna Fancy Email: j....@ie... |
|
From: Dane E. <DE...@pa...> - 2004-05-14 21:31:42
|
Hi,
Dane here. Im having trouble getting my assignment program to compile.
There is something incorrect between the=20
function prototype, function call, and function headerline. But I cant
figure it out. Please can someone help me to understand
where I am going wrong?
=20
Thank you in advance for any help you can offer me. Im sorry if Im not
supposed to include my code. SHould I attach it next time?
=20
Here is my source:
______________________________________________
#include <iostream>
#include <stdlib.h>
#include <string.h>
using namespace std;
void CreateEmployee (struct [], int); //prototype
struct Emp
{
char fname[20];
char lname[20];
int age, id;
};
=20
int qty;
=20
int main()
{
cout << "How many Employees do you want?" << endl;
cin >> qty;
cout << "You chose to create " << qty << "employees" << endl;
=20
Emp Employee[qty];
CreateEmployee(Employee, qty);
//DisplayTeam(qty);
=20
cout << "Nice Job Chap! Peaceout";
=20
system("PAUSE");=20
=20
return 0;
}
=20
void CreateEmployee(struct Employee[], int qty)
{
int b, qtyLocal;
qtyLocal =3D qty;
for (b =3D 0; b < qtyLocal; b++)
{
Employee.id =3D 0;
cout << "Employee Form" << endl;
cout << "First name: " << endl;
cin >> Employee[b].fname;
cout << "Last name: " << endl; =20
cin >> Employee[b].lname;
cout << "Age: " << endl; =20
cin >> Employee[b].age;
cout << "Your Employee Summary is: " << endl;=20
cout << Employee[b].id << endl << Employee[b].fname << endl <<
Employee[b].lname << endl << Employee[b].age; =20
=20
}
=20
}
_______________________________________________
=20
|
|
From: michele <mic...@li...> - 2004-05-14 08:36:07
|
Hello all, if someone has some good example about octrees, or good site/page, ..... I'm searching for them. http://www.gametutorials.com/Tutorials/OpenGL/Octree.htm ...from which "An octree is a way of subdividing 3D space, otherwise known as space partitioning. " with also code: http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg5.htm#Octrees (glaux is needed, ...even if I read somewhere that it isn't good: "...glaux is decrepid. it has 15+ known memory leaks..." ?) |
|
From: THAMAE <m_t...@ya...> - 2004-05-14 05:57:44
|
Dear All Can anyone help me, I am trying to connect to Ms Access on Dev-C++ platform. Can u show me how I can archieve this. Kind regards Thamae --------------------------------- Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. |
|
From: <gen...@ya...> - 2004-05-13 15:42:12
|
AFAIK - A Far A I Know. lol you can make it protected in the parent class, and use an accessor method to call it. if you inherit as public, it remains protected in the child class. (protected is much like private, except derived classes can access them. derived classes cannot access private members). if you inherit as private, everything inherited (public and protected members) become private to the derived class. have phun ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: michele <mic...@li...> - 2004-05-13 15:22:05
|
Hi, I have just controlled: in Parent class the pointer is public, and the child class is defined as: class ChildClass: public ParentClass etc... (It'isn't very elegant, but what I'm doing now is to call an inline function that contains only that pointer, so I can use it.) Bye (afaik?) ----- Original Message ----- From: "Oladipo Odumosu" <gen...@ya...> To: <dev...@li...> Sent: Thursday, May 13, 2004 1:44 PM Subject: Re: [Dev-C++] pointers to member functions > AFAIK, you're probably trying to access a private > variable from within main. i guess 'p' is private in > the child class. > > > > > > ____________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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: <gen...@ya...> - 2004-05-13 11:44:50
|
AFAIK, you're probably trying to access a private variable from within main. i guess 'p' is private in the child class. ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: michele <mic...@li...> - 2004-05-13 10:08:33
|
Question about pointers:
// A class named 'MyClass' inherits from its parent class a pointer of this
type:
void (ParentClass::*p)(int variable);
// inside a member function this is right:
(this->*p)(variable);
// outside (es. in main function):
ChildClass *MyClass=new ChildClass;
(MyClass->*p)(variable) // doesn't work (compiler: "p undeclared")
Is It possible to call this type of pointers outside member functions?
Bye
|
|
From: <gen...@ya...> - 2004-05-13 06:46:28
|
...because someday your main site will go down like the main bloodshed site today (that includes Andreas' server). i found out that PlanetMirror up till yesterday only had the 4.9.8.7 update to dev-c++. when i tried downloading the 4.9.8.9 update from the main site, i found out it had gone down, and of course, Andreas' site. that left only the PlanetMirror site. to my suprise, the update had been added there, to replace the old one. can we have a unified devpak repository? devpaks.org, planetmirror.com, etc? can we have somewhere where it's all sync'd? so we don't wonder which is the latest, etc, etc. ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html |
|
From: Guillermo G. <ggu...@ma...> - 2004-05-12 23:51:13
|
I have just created two interesting devpaks, one with the latest FLTK = libraries (version 1.1.5) and one with the latest Win API (2.5) for = mingw. Is there a way to get them to the server(s) where the other = devpaks reside (the ones that the updater looks for; PlanetMirror.com, = Andreas Aberg's server.com)? Guillermo Gutierrez Market Scan Information Systems Software Q.A. Supervisor (818) 575-2000 x2427 ggu...@ma... |
|
From: <sp...@po...> - 2004-05-12 21:19:54
|
OROSZI Balázs wrote: [..] > Due to the stupid layout of Dev-C++'s MinGW "bundle", paths have to be > adjusted, otherwise the compiler will not find it's headers and libraries. dev-cpp doesn't have a layout any other than standar mingw bins. The .tar.gz's provided by them were just untarred to c:\dev-cpp directory. No paths were changed. [..] > Those are separate packages, not needed to be upgraded to use gcc 3.4 > Besides, the right way of upgrading is unzipping. If you ever took a > look at the inner layout of the .tar.gz archives of the MinGW > packages, you would have noticed, that they all have the same > directory layout, which is the same, that is created by the installer, > so unzipping will not create any mess anywhere. It will make > everything get to the right place. > yes. but some c++ programs will require paths like: lib\gcc\mingw32\3.4.0\include (this one is in gcc-core-3.4) which contains mingw version - currently in dev-cpp it's by default hard set to: lib\gcc-lib\mingw32\3.2\include For more details look at bug 910098 reported by kidkat and links to mingw from there. -- Marek Januszewski |
|
From: <or...@vp...> - 2004-05-12 20:29:56
|
sp...@po... wrote: > I think it would be good to start testing those and see the what's=20 > happening. mingw gcc 3.4.0 is still a cadidate. > I think it would be fairly easy to create a packman entries and then=20 > devpaks for with mingw components and then just upgrade them. This=20 > wouldn't make > as big of a mess than just unzipping the components. Due to the stupid layout of Dev-C++'s MinGW "bundle", paths have to be=20 adjusted, otherwise the compiler will not find it's headers and=20 libraries. If you just do as I posted before, everything will work=20 correctly, without adjusting anything. The compiler is packaged to find=20 it's own (standard C and C++) headers and libraries automatically if=20 everything is put in the right place: that is, where the installer puts=20 them. gcc 3.4 has nothing to do with gdb w32api mingw-runtime make binutils Those are separate packages, not needed to be upgraded to use gcc 3.4 Besides, the right way of upgrading is unzipping. If you ever took a=20 look at the inner layout of the .tar.gz archives of the MinGW packages,=20 you would have noticed, that they all have the same directory layout,=20 which is the same, that is created by the installer, so unzipping will=20 not create any mess anywhere. It will make everything get to the right=20 place. gcc 3.4 works like a charm for me, and it took less than 20 seconds to=20 upgrade after download. -- Greetings, Bal=E1zs |
|
From: <sp...@po...> - 2004-05-12 18:32:47
|
OROSZI Balázs wrote: > Guillermo Gutierrez wrote: > >> is there any thing else that would need to be updated for mingw to work? > > > No. > > Here's what you can do, as a last resort: > Completely delete everything from > Dev-Cpp/bin > Dev-Cpp/lib > Dev-Cpp/include there's also Dev-Cpp\mingw > > Download the latest installer version of MinGW. Install it. > Add <MinGW installation path>/bin to you PATH environment variable. > > Now, unpack the two gcc 3.4 upgrades (gcc-g++-3.4.0-*** and > gcc-core-3.4.0-***) into the MinGW install, overwriting everything. > I also recommend to download the latest W32Api (2.5 is the latest, as > I remember), and also unpack it (though it is not needed for gcc 3.4 > to work). > > That's it. Now you don't even any compilers to be set up in Dev-C++, > as it will be automatically found, because <MinGW>/bin is added to the > path, and gcc will find it's own includes and libs automatically. AFAIK when you create a c++ project you have to adjust your include paths to match mingw version (currently it's 3.2) According to this page: http://www.bloodshed.net/dev/devcpp.html this is the mingw that was used: ftp://ftp.nanotech.wisc.edu/pub/khan/gnu-win32/mingw32/snapshots/gcc-3.0-1/ AFAIK those components were used in current dev-cpp 5: gdb-5.1.1-1-mingw.tar.gz w32api-2.2.tar.gz mingw-runtime-2.4.tar.gz make-3.79.1-20010722.tar.gz one of gcc-3.2 releases (with patches?) one of binutils-2.13.90 releases (with patches?) so basicly you would need to update those. I think it would be good to start testing those and see the what's happening. mingw gcc 3.4.0 is still a cadidate. I think it would be fairly easy to create a packman entries and then devpaks for with mingw components and then just upgrade them. This wouldn't make as big of a mess than just unzipping the components. Maybe I'll spend some thime on that and post the results later here.... -- Marek Januszewski |
|
From: <or...@vp...> - 2004-05-12 18:09:00
|
Guillermo Gutierrez wrote: > is there any thing else that would need to be updated for mingw to work= ? No. Here's what you can do, as a last resort: Completely delete everything from Dev-Cpp/bin Dev-Cpp/lib Dev-Cpp/include Download the latest installer version of MinGW. Install it. Add <MinGW installation path>/bin to you PATH environment variable. Now, unpack the two gcc 3.4 upgrades (gcc-g++-3.4.0-*** and=20 gcc-core-3.4.0-***) into the MinGW install, overwriting everything. I also recommend to download the latest W32Api (2.5 is the latest, as I=20 remember), and also unpack it (though it is not needed for gcc 3.4 to wor= k). That's it. Now you don't even any compilers to be set up in Dev-C++, as=20 it will be automatically found, because <MinGW>/bin is added to the=20 path, and gcc will find it's own includes and libs automatically. -- Greetings, Bal=E1zs |
|
From: Malcolm N. <m.n...@wa...> - 2004-05-12 17:44:11
|
Hello Claudio, Wednesday, May 12, 2004, 5:07:14 PM, you wrote: CMV> Sorry I couldnt the option you were talking about, is CMV> it because maybe a I have an older version of Dev c++ CMV> here I send a image with the problem CMV> Thanks CMV> Claudio looking at the image you provided I can see that you are using Dev-C++ version 4. I would strongly suggest upgrading to vesion 5, available from the Bloodshed website, you can then use the update manager as I previously wrote. I believe you have to uninstall your version 4 before installing version 5. If you choose not to update your devcpp then point your browser to http://public.planetmirror.com/pub/devcpp/ and download the MySQL devpak. I am not sure if this works correctly with version 4, then use the package manager (ctrl+F12) to install the pak. Best Mal |