dev-cpp-users Mailing List for Dev-C++ (Page 463)
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: Abhijit S. <mu...@gm...> - 2003-01-01 11:58:47
|
Greets, people. I'm sorry, but I had a virus on my comp some days back. All you guys may have received a message from me (a screensaver named `Love'). Tino, I got it from you (you're infected, buddy). If you have received it and run it, then you're infected too. If you haven't opened it, DON'T! Don't trust anti-virus programs, unless you have the latest updates. Norton 2002 didn't detect it). Here's what I did. NOTE: I have XP. I don't know if this process will work on Win9x. If it doesn't, mail me, I'll try to help. Also, you have to follow these steps in the right order. CLEANING: 1. Delete the message (Not this one, stupid! The one that says `Love screensaver' or something). 1. Try opening task-manager (press Ctrl-Alt-Del). If it disappears immediately, it means you're infected. Regedit, Norton, etc. most probably won't open too. 2. Download any process-viewer/killer application. I used PrcView (which was, fortunately, already installed on my system). Get it at http://www.teamcti.com. 3. Run it, kill the process called `WinServices.exe' or `WinServices'. Confirm that you want to kill it when it asks you. Note that it is `WinServices', not merely `Services', which is a legitimate process. 4. Delete the file c:\windows\system32\WinServices.exe If you don't trust me, just back it up (keep it zipped, and rename it to .tmp, so that there's no chance of accidental re-infection). 5. Go to `Start' > `Run'. Type `regedit', and click OK. 6. Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run. 7. Delete the value on the right that says something like this: c:\windows\system32\WinServices.exe 9. Forward this mail to everyone in your address-book (if you use Outlook Express/Netscape Messenger/Eudora/etc.) Web-mail users are safe (I think). SYMPTOMS OF INFECTION: 1. Task manager closes as soon as it's opened. 2. Regedit, Anti-virus programs don't run. 3. You get mail from people in your people you don't know, saying that you sent them a message. 4. People in you address-book get mail from you, when you haven't sent any. 5. Your hard-disk is thrashing. Sorry for the long (and possibly unnecesary) mail. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: ISHAN <ish...@ya...> - 2003-01-01 11:17:41
|
sir, i want to know that can we compile a project in Dec C++ which has a makefile with it. also, whether X11 graphics are supported by Dev C++ regards, Ishan Bansal __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Andreas S. <and...@we...> - 2003-01-01 11:04:29
|
hello, i just downloaded the dev-cpp file and installed it. included is the c, cpp- compiler and other programs. i thought within the gnu software there ist one c-compiler and once c++-compiler but regarding the directories i find the following programs: dev-cpp\bin: c++.exe, c++filt.exe, cpp.exe, g++.exe, gcc.exe, mingw32-c++.exe, mingw32-g++.exe, mingw32-gcc.exe dev-cpp\lib\gcc-lib\libmingw32\3.2: cc1.exe, cc1obj.exe, cc1plus.exe, cpp0.exe what the hell are all these programs doing? and why are all these necessary ? why there is not one c-compiler, one cpp-compiler and one preprocessor in the bin-directory ? greetings andreas |
|
From: Abhijit S. <mu...@gm...> - 2003-01-01 10:49:32
|
Greets, Thom. > I have just begun using Dev-C++ (the most recent version) and have run > into some peculiar problems. When I try to compile a project with > sufficiently many files (it does not occur for small projects), I get > strange error messages when linking that in the "compiler" folder could > show up as > > line > file > Message > G__~1.EXE D:\PROGRAM\DEV-CPP\G__~1.EXE See if the `Programs' tab is properly set up (`Tools' > `Compiler Options' > `Programs'). While you're at it, check the `Directories' tab also. My guess is that one of these has not been configured properly. Try installing Dev into a `simple' path; one without special characters (hyphens) and long filenames, something like `d:\program\devcpp'. It's weird that it happens only for large projects. How many files do you have in the project? > Is the gcc 2.95 version better? Some options are unavailable (or changed) in 3.2, and therefore corresponding options in Dev generate warnings that they're no longer available. GCC 3.2 is much more ISO-compliant than 2.95, and also creates more efficient (and sometimes smaller) EXEs. However, if you want to use Dev with the project and nothing seems to work, 2.95 is worth a try. And a Happy New Year!!!!! WOOHOO! Sorry. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Per W. <pw...@ia...> - 2003-01-01 00:29:47
|
Just a note. On some systems, the case-insensitive function is named strcasecmp instead of stricmp. That's one of the reasons why people gets compile errors when trying to build wxWindows applications without using a correct project that defines what target to build for. /Per W On Tue, 31 Dec 2002, Abhijit Shylanath wrote: > TELSYS > Greets, Dondolo. > > ----- Original Message ----- > The problem I get is when evaluating my input, I get errors....c++ permits > me to evaluate a single character but not string of characters. > ---------------------------- > > Strings are actually arrays (which are actually pointers). So if you're > comparing these (remember that strings have to be put in quotes): > > char my_name[] = "Abhijit"; > char your_name[] = "Dondolo"; > > you would actually be comparing the pointers. You need to compare each > character. There is already a library function called strcmp(), which > compares them. > > strcmp(first, second) > > returns > 0 if first > second > < 0 if first < second > = 0 if first == second. > > stricmp() is the case-insensitive version. > > They're defined in <cstring>, and to access them, you would use the using > declaration: > > using std::strcmp; > using std::stricmp; // Whichever > > in the scope in which you want to use it (within the function, global, > etc.). > > So I would say, > > if(stricmp(my_name, your_name) == 0) > cout << "Hey, you're me!\n"; > > All this should have been written in the book you use (I assume you use a > book). If you don't have one, I suggest you get yourself a trustworthy book. > Post on this list for more info. Ioannis mentioned http://www.accu.org/ as a > site for reviews. I haven't seen it myself, I'm just recycling posts. Saving > the (integrated development) environment (mailing-list) and stuff... > > PS: It should be cin >> name, not <<. I think that was a typo. > > HTH. > And, yeah... Wish y'all a Happy New Year 2003. > > ___________________________________________________________ > > Abhijit Shylanath > > E-mail: mu...@gm... || ibr...@bi... > Web-site: http://mudeth.tripod.com/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Thomas B. <tho...@te...> - 2002-12-31 22:13:21
|
Hi, first thanks for the tip on SHFOLDER.DLL, Abhijit, now I can start Dev-C++. I have just begun using Dev-C++ (the most recent version) and have run into some peculiar problems. When I try to compile a project with sufficiently many files (it does not occur for small projects), I get strange error messages when linking that in the "compiler" folder could show up as line file Message G__~1.EXE D:\PROGRAM\DEV-CPP\G__~1.EXE Source2D:\Program\Dev-Cpp: No such file or directory or in the "compile log" folder as G__~1.EXE: Source2D:\Program\Dev-Cpp: No such file or directory Here "Source2" is part of the name of a directory where I keep my source code, and for some reason the string "D:\Program\Dev-Cpp" is appended to this. I have no clue as to what to do. I have got other error messages as well but I do not have time or space to list them all, common with them all is that they are difficult to understand and occurs in the context of large projects (that is my feeling at least). Is Dev-C++ known to be unstable for large projects or am I using it in the wrong way. Is the gcc 2.95 version better? I have used the source code for many years on a several Unix platforms (including with GNU g++) so it should compile. If anyone have a cure for this I would be very happy. Oh, by the way...HAPPY NEW YEAR!!! /Thom |
|
From: Colin L. <ha...@bl...> - 2002-12-31 19:40:40
|
Hello, Just to rectify something, you can consider that there is *NO* Dev-C++ for Linux that exists, the only version that is downloadable is *totally* unusable. Greetings, Colin Laplace On Tuesday 31 December 2002 10:25, you wrote: > Greets, Poitr. > > > Somewhere in the documentation author of Dev-C++ is claiming that > > Bloodshed Dev-C++ can be used for developing commercial applications. > > It is very OK :) But... > > > > The documentation for Dev-C++ Linux states that this is a GNU project > > > > and included GNU licence file has a very widely used statement: > > > 1b) You must cause any work that you distribute or publish, that in > > > whole or in part contains or is derived from the Program or any > > > part thereof, to be licensed as a whole at no charge to all third > > > parties under the terms of this License. > > > > That means that Linux version is different ? Why ? > > I guess Mingw32 is not implemented on Linux, am I correct ? > > I fail to understand what the clause in the license has to do with the > Linux version being different. I haven't ever seen it, though, so maybe I'm > missing something. Isn't it free? Isn't it too distributed under the GNU > GPL? > > Or are you talking about the commercial-applications part? If that's the > case, then I don't think there's any conflict. As I understand, when they > talk about works derived from Dev, they mean programs that use, in part or > whole, the source-code or ideas of Dev, not programs that are developed > using the Dev IDE. Also, there is the distinction between IDE and compiler, > and Dev is merely the IDE. The compiler, MinGW32, is an independant > project. It stands for Minimalistic GNU for Win32, and is meant for > developing programs on the Windows32 platform. So, obviously, it is not > available on Linux (except maybe as a cross-compiler, I've never ventured > in that Part Of The World). > > Did I understand wrong? > > Once again, a Happy New Year to everyone (I'm going to keep saying this for > some time... so try not to get irritated :). > > ___________________________________________________________ > > Abhijit Shylanath > > E-mail: mu...@gm... || ibr...@bi... > Web-site: http://mudeth.tripod.com/ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ioannis V. <no...@ho...> - 2002-12-31 19:38:18
|
Best wishes for a Happy New Year!=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys |
|
From: Matthews <dem...@uw...> - 2002-12-31 15:48:24
|
I recently tried to experiment with c++ specific functions, but I got 72 errors in the default generated code when selecting c++ console app as a project. It says I don't have c++config.h, so I tried re-installing 4.9.7.0, and had the same problem. Normal C code works fine though. Where can I find c++config.h? |
|
From: Abhijit S. <mu...@gm...> - 2002-12-31 14:51:03
|
TELSYS
Greets, Dondolo.
----- Original Message -----
The problem I get is when evaluating my input, I get errors....c++ permits
me to evaluate a single character but not string of characters.
----------------------------
Strings are actually arrays (which are actually pointers). So if you're
comparing these (remember that strings have to be put in quotes):
char my_name[] = "Abhijit";
char your_name[] = "Dondolo";
you would actually be comparing the pointers. You need to compare each
character. There is already a library function called strcmp(), which
compares them.
strcmp(first, second)
returns > 0 if first > second
< 0 if first < second
= 0 if first == second.
stricmp() is the case-insensitive version.
They're defined in <cstring>, and to access them, you would use the using
declaration:
using std::strcmp;
using std::stricmp; // Whichever
in the scope in which you want to use it (within the function, global,
etc.).
So I would say,
if(stricmp(my_name, your_name) == 0)
cout << "Hey, you're me!\n";
All this should have been written in the book you use (I assume you use a
book). If you don't have one, I suggest you get yourself a trustworthy book.
Post on this list for more info. Ioannis mentioned http://www.accu.org/ as a
site for reviews. I haven't seen it myself, I'm just recycling posts. Saving
the (integrated development) environment (mailing-list) and stuff...
PS: It should be cin >> name, not <<. I think that was a typo.
HTH.
And, yeah... Wish y'all a Happy New Year 2003.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Abhijit S. <mu...@gm...> - 2002-12-31 14:50:56
|
Greets, Oriszi.
> > As I understand, when they
> > talk about works derived from Dev, they mean programs that use, in part
or
> > whole, the source-code or ideas of Dev, not programs that are developed
> > using the Dev IDE. Also, there is the distinction between IDE and
compiler,
> > and Dev is merely the IDE.
> I suppose the question is, are the libraries under linux GPL or LGPL. If
GPL, it
> means you must release the source, because it contains functions from the
> libraries. If LGPL, then you don't need to release the source.
Are you sure, Oroszi? Because, the license says derivative works. So I
assume that's only derivative libs. Since I'm in feeling very weird today,
I'll use the analogy of derived classes...
class libc
{
};
class my_program
{
protected:
libc lib_interface;
};
class my_lib : public libc
{
};
So I assume here that only my_lib should distribute sources. my_program is
not required to, because I only use the lib, I don't derive from it.
AFAIK, the libraries are a separate project. The web-page for libc++ is
http://gcc.gnu.org/libstdc++/
Also,
http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html,
the documentation page links to a GNU GPL, so I guess the libs are GPL.
Bad news?
Anyway, Have a Happy New Years'.
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Ken B. <ke...@al...> - 2002-12-31 13:58:58
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Piotr > Likus > Sent: Monday, December 30, 2002 3:46 PM > To: dev...@li... > Subject: [Dev-C++] Dev-Cpp for Linux is GNU ? > Importance: High > > > Somewhere in the documentation author of Dev-C++ is claiming that > Bloodshed Dev-C++ can be used for developing commercial applications. > It is very OK :) But... > > The documentation for Dev-C++ Linux states that this is a GNU project > and included GNU licence file has a very widely used statement: > > > 1b) You must cause any work that you distribute or publish, that in > > whole or in part contains or is derived from the Program or any > > part thereof, to be licensed as a whole at no charge to all third > > parties under the terms of this License. > > That means that Linux version is different ? Why ? > I guess Mingw32 is not implemented on Linux, am I correct ? > > Regards, > Piotr > The Windows version is released under the GNU GPL too. I believe you are misinterpreting the above section, 1b. Any program you DERIVE from or that CONTAINS code from Dev-C++ must be released under the GNU GPL too. NOT programs you create with it. (Yes, you are free to change and redistribute GPL'd programs, just credit the original work to the original authors.) Do you see the difference? In one scenerio you are stealing someone else's code, in the other you are using it as a tool to create your own. Ken Bradford Alpha II Service, Inc. (614)868-5033 |
|
From: <or...@vp...> - 2002-12-31 11:33:06
|
Hello! > As I understand, when they > talk about works derived from Dev, they mean programs that use, in part or > whole, the source-code or ideas of Dev, not programs that are developed > using the Dev IDE. Also, there is the distinction between IDE and compiler, > and Dev is merely the IDE. I suppose the question is, are the libraries under linux GPL or LGPL. If GPL, it means you must release the source, because it contains functions from the libraries. If LGPL, then you don't need to release the source. > The compiler, MinGW32, is an independant project. > It stands for Minimalistic GNU for Win32, and is meant for developing > programs on the Windows32 platform. So, obviously, it is not available on > Linux (except maybe as a cross-compiler, I've never ventured in that Part Of > The World). Well, lets just call it MinGW, because it will support 64 bit and higher systems too. And yes, MinGW is available as a cross-compiler under Linux. So you can develop Windows programs under Linux. (And test it with wine (Win Emulator) :) -- Regards Balázs |
|
From: Dondolo M. <MDo...@OL...> - 2002-12-31 10:26:59
|
Hi all,
I am wiggling my way around C++ currently, I am not doing a bad job at all.
(Well at least I think)...I am trying to write a simple telephone directory
system that will store all my buddies contact details. I intend on storing
their info in separate functions. for example:
void
MarkContact(void)
{
//Marks contact details
}
and so on.....
I want to be able to open the program, enter someone's name and get their
stored details. The problem I get is when evaluating my input, I get
errors....c++ permits me to evaluate a single character but not string of
characters.
e.g.
/*
all include files
and declarations
*/
cout<<"Please enter a persons name";
cin<<Name;
switch(Name)
{
case Mark:
MarkContact();
break;
//the rest of the program
can someone please help me or advise me of any other method.........
Thanks guys
|
|
From: Abhijit S. <mu...@gm...> - 2002-12-31 09:30:38
|
Greets, Abhijit :) > > I have many code examples from Turbo C 2.x I want to compile in Dev-C++. > > What must I do to make these compile or what are tips/techniques to port > > the code to some Win32 compilable code? > > For BGI, I remember reading on this list that there's a port for Windows available > called WinBGI or something. WinBGI is available at (unverified link): http://www.ispras.ru/~knizhnik/winbgi.zip HT Works. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Abhijit S. <mu...@gm...> - 2002-12-31 09:30:30
|
Greets, Poitr. > Somewhere in the documentation author of Dev-C++ is claiming that > Bloodshed Dev-C++ can be used for developing commercial applications. > It is very OK :) But... > > The documentation for Dev-C++ Linux states that this is a GNU project > and included GNU licence file has a very widely used statement: > > > 1b) You must cause any work that you distribute or publish, that in > > whole or in part contains or is derived from the Program or any > > part thereof, to be licensed as a whole at no charge to all third > > parties under the terms of this License. > > That means that Linux version is different ? Why ? > I guess Mingw32 is not implemented on Linux, am I correct ? I fail to understand what the clause in the license has to do with the Linux version being different. I haven't ever seen it, though, so maybe I'm missing something. Isn't it free? Isn't it too distributed under the GNU GPL? Or are you talking about the commercial-applications part? If that's the case, then I don't think there's any conflict. As I understand, when they talk about works derived from Dev, they mean programs that use, in part or whole, the source-code or ideas of Dev, not programs that are developed using the Dev IDE. Also, there is the distinction between IDE and compiler, and Dev is merely the IDE. The compiler, MinGW32, is an independant project. It stands for Minimalistic GNU for Win32, and is meant for developing programs on the Windows32 platform. So, obviously, it is not available on Linux (except maybe as a cross-compiler, I've never ventured in that Part Of The World). Did I understand wrong? Once again, a Happy New Year to everyone (I'm going to keep saying this for some time... so try not to get irritated :). ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Piotr L. <vp...@po...> - 2002-12-30 20:42:07
|
Somewhere in the documentation author of Dev-C++ is claiming that Bloodshed Dev-C++ can be used for developing commercial applications. It is very OK :) But... The documentation for Dev-C++ Linux states that this is a GNU project and included GNU licence file has a very widely used statement: > 1b) You must cause any work that you distribute or publish, that in > whole or in part contains or is derived from the Program or any > part thereof, to be licensed as a whole at no charge to all third > parties under the terms of this License. That means that Linux version is different ? Why ? I guess Mingw32 is not implemented on Linux, am I correct ? Regards, Piotr ***************r-e-k-l-a-m-a************** Masz dosc placenia prowizji bankowi ? mBank - zaloz konto http://epieniadze.onet.pl/mbank |
|
From: Abhijit S. <mu...@gm...> - 2002-12-30 18:40:56
|
Greets, Zach. > I have many code examples from Turbo C 2.x I want to compile in Dev-C++. > What must I do to make these compile or what are tips/techniques to port > the code to some Win32 compilable code? There are probably many differences in the standards that Turbo-C implmented and the current C++ standards that GCC 3.2/2.95 use. The <foo.h> headers are also deprecated and GCC might refuse to compile programs using 'em (depending on what version you have and how it's configured). Instead, you'll have to use <cfoo> and the `using' directive. GCC will warn you about main() not returning int, since I remember that many TC programs used simply `main()', in place of `int main()'. Also, there are the differences in memory-management (far-pointers, segments and offsets versus the linear memory model). Furthermore, DOS interrupts are unavailable in Win32. And programs that assume word-length to be equal to integer length will have problems (in Win32, word-length is short-integer length). For BGI, I remember reading on this list that there's a port for Windows available called WinBGI or something. Check the archives. For programs with <conio.h>, there's an entry in the FAQ. That's all I can think of now. Most of the (simple) examples should be pretty straightforward to port. Simply try to compile, and try to rectify one error at at time. HTH. And people, have a safe, but otherwise chaotic, New Years'. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Zachary U. <ne...@st...> - 2002-12-30 17:44:38
|
I have many code examples from Turbo C 2.x I want to compile in Dev-C++. What must I do to make these compile or what are tips/techniques to port the code to some Win32 compilable code? I can post some sample code if you want. Thanks and HAPPY NEW YEAR! Zach Zachary Uram John 3:16 <>< |
|
From: Manoj S. <sha...@ro...> - 2002-12-30 17:03:47
|
That did the trick! Adding -lws2_32 to my command line is just what the doctor ordered. Thanks a lot for your help guys! It is greatly appreciated. Regards, Manoj. http://manoj_sharma0.tripod.com -----Original Message----- From: Abhijit Shylanath [mailto:mu...@gm...] Sent: Monday, December 30, 2002 5:49 AM To: Manoj Sharma; Dev-C++ Subject: Re: [Dev-C++] Trouble compiling winsock programs. > Hi, > > Thanks for your prompt responses! > > I should have mentioned in my earlier that I did try adding the -lwsock32 > option to the linker command line.I tried it once again though and the > result was the same as before.The undefined reference error to WSAStartup > error still shows up. Try linking in the WinSock2 lib, as Charles mentioned. > Also I would like to run this a stand alone file (not a project). Any > suggestions? For this, you might want to use the command-line/make, or else, specify in compiler options that you want the WinSock lib to be linked with all your programs. Remove it once you're done with this project. Bit of a hassle. Command-line would be better. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: <jm...@te...> - 2002-12-30 15:51:28
|
I have tried Dev-c++5(4.9.7.0) with gcc 2.9.5.
and after a compiled version of wxWindows that you can find in:
http://oek-news.mnd.fh-wiesbaden.de/devc++/
and it run.
Regards,
Joan.
----- Original Message -----
From: "Goran Kavrecic" <go...@em...>
To: "DevC++" <dev...@li...>
Sent: Saturday, December 28, 2002 8:46 PM
Subject: [Dev-C++] DevC++ & wxWindows
> As a result of past years experience and current demmands I came to a
> decision to use DevC++ and wxWindows to have a multi platform development
> environment.
>
> I had some problems using DevC++.4 I added some defines(like -D__WXMSW__)
> patched some *.h files (I know it's not the supposed procedure) in order
to
> make some projects run.
> But it become almost imposible when I came to the point of using
wxWindows.
> When if finally mannaged to compiled it failed to link(wx32.lib) It failed
> also with BCC5.5 because was no wx32.lib on the disk.
> After that I tried to recompile wxW but failed on some parser.y file.
Then
> I gave up.
>
> I tried on W2k and later on a plain Win98. I also downloaded
DevC++5(4.9.7.0
> with gcc 3.2), but this doesn't compile even added examples. Another try
was
> Detlev Reymann's page "wxWindows and Dev-C++" - failure again (not
blaimming
> Reymann anyhow). Currently the machine has installed DevC++ 4 and 5,
Borland
> C++ 5.5, mini IDE, small IDE, VIDE, Chimera IDE, Mingw 2.0 with gcc 3.2.
>
> Anyone has some idea or procedure how to install and setup DevC++ 4
> (preferably 5) in order to work with wxW?
>
> Regards,
> Goran
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: <cg...@wo...> - 2002-12-30 12:15:47
|
wxwindows2.3.3 works with gcc3.2 (the official wxwindows from www.wxwindows.org, not the packages, I never achieved to make them work), and using makefiles, search in the mailing list for makeprog.g95. (in the message body) Marshall Brewton wrote: > "Goran Kavrecic" <go...@em...> wrote: > >> Anyone has some idea or procedure how to install and setup DevC++ >> 4(preferably 5) in order to work with wxW? >> > Hi Goran, > > After many hours of frustration I've come to the conclusion that the > default wxWindows 2.2.9 package will not work with Dev-C++ 4.7.9.x/gcc > 3.2. I believe you have two choices: > > 1) Use Dev-C++ 4.7.9.x/gcc 2.9.5. A fresh installation will allow > for a build of the provided example. Should you install the upgrade > for v4.7.9.1, be sure to copy and paste the "Compiler" flags to the > "C++ compiler" list box (under Project Options->Compiler->Compiler > Options). > > 2) If you want to use the gcc 3.2 version, I could find only one > solution: build a new wxWindows lib from the source provided at the > official wxWindows web site (located at > http://www.wxwindows.org/dl_msw2.htm). This was actually a > frighteningly straight-forward procedure, except that that a debug > build of the library will not work -- an executable linked against > such will report a library mismatch. I used the 2.3.4 snapshot and > built a Unicode release-level static lib and all appears well. Be > sure to remove the existing wxWindows package and perhaps even the > "Image Library" package as the wxWindows source includes that for > libpng, libjpeg, libtiff, and libzlib. Otherwise, watch out for lib > conflicts... In addition, you'll have to perform the aforementioned > compiler flag copy. > > Good luck to you. If you need any further help, I'll be happy to > provide it. > > Regards, > Marshall > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Abhijit S. <mu...@gm...> - 2002-12-30 10:49:51
|
> Hi, > > Thanks for your prompt responses! > > I should have mentioned in my earlier that I did try adding the -lwsock32 > option to the linker command line.I tried it once again though and the > result was the same as before.The undefined reference error to WSAStartup > error still shows up. Try linking in the WinSock2 lib, as Charles mentioned. > Also I would like to run this a stand alone file (not a project). Any > suggestions? For this, you might want to use the command-line/make, or else, specify in compiler options that you want the WinSock lib to be linked with all your programs. Remove it once you're done with this project. Bit of a hassle. Command-line would be better. ___________________________________________________________ Abhijit Shylanath E-mail: mu...@gm... || ibr...@bi... Web-site: http://mudeth.tripod.com/ |
|
From: Goran K. <go...@vo...> - 2002-12-30 10:37:09
|
Thanks, I decided for the first option because I have no preferrence regarding the compiler. I also thank Yeoh for his help in a direct mail. I made it to compile an empty project. It stopped again when I tried to compile thewxWindows samples. I imported the MS VC Realease project of some of them but failed to link "libz". I've got a "libzlib.a" from DevC++4(just for a try), but got unlninked functions (part follows): C:/IDE/DEVCPP5/lib/libwx.a(app.o)(.text+0x447): undefined reference to `InitCommonControls@0' C:/IDE/DEVCPP5/lib/libwx.a(app.o)(.text+0x451): undefined reference to `OleInitialize@4' C:/IDE/DEVCPP5/lib/libwx.a(app.o)(.text+0x102a): undefined reference to `OleUninitialize@0' C:/IDE/DEVCPP5/lib/libwx.a(statbr95.o)(.text+0x3ee): undefined reference to `CreateStatusWindowA@16' C:/IDE/DEVCPP5/lib/libwx.a(utils.o)(.text+0x31e): undefined reference to `WSAStartup@8' C:/IDE/DEVCPP5/lib/libwx.a(utils.o)(.text+0x348): undefined reference to `gethostname@8' etc... I probably have to link some windows specific lib. Which? I found it strange that didn't found resources defined in wx/msw/wx.rc I defined an prolog to absolute folder location for every resource and now it works. Shouldn't it get it from the include folders list? I also upgraded to 4.7.9.1 and found some new GUI bugs there. Does it have some side effects on compiling/linking, too? Regards, Goran ----- Original Message ----- From: Marshall Brewton <mlb...@ho...> To: <dev...@li...> Sent: Monday, December 30, 2002 12:53 AM Subject: [Dev-C++] Re: DevC++ & wxWindows > "Goran Kavrecic" <go...@em...> wrote: > > >Anyone has some idea or procedure how to install and setup DevC++ 4(preferably 5) in order to work with wxW? > > > Hi Goran, > > After many hours of frustration I've come to the conclusion that the > default wxWindows 2.2.9 package will not work with Dev-C++ 4.7.9.x/gcc > 3.2. I believe you have two choices: > > 1) Use Dev-C++ 4.7.9.x/gcc 2.9.5. A fresh installation will allow for > a build of the provided example. Should you install the upgrade for > v4.7.9.1, be sure to copy and paste the "Compiler" flags to the "C++ > compiler" list box (under Project Options->Compiler->Compiler Options). > > 2) If you want to use the gcc 3.2 version, I could find only one > solution: build a new wxWindows lib from the source provided at the > official wxWindows web site (located at > http://www.wxwindows.org/dl_msw2.htm). This was actually a > frighteningly straight-forward procedure, except that that a debug build > of the library will not work -- an executable linked against such will > report a library mismatch. I used the 2.3.4 snapshot and built a > Unicode release-level static lib and all appears well. Be sure to > remove the existing wxWindows package and perhaps even the "Image > Library" package as the wxWindows source includes that for libpng, > libjpeg, libtiff, and libzlib. Otherwise, watch out for lib > conflicts... In addition, you'll have to perform the aforementioned > compiler flag copy. > > Good luck to you. If you need any further help, I'll be happy to > provide it. > > Regards, > Marshall > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Marshall B. <mlb...@ho...> - 2002-12-30 01:47:45
|
My apologies. I wrote: >> a debug build of the library will not work -- an executable linked against such will report a library mismatch.. Adding the compiler option "-D__WXDEBUG__" to the application solves the problem when linking to a debug build of the wxWindows lib. Regards, Marshall |