dev-cpp-users Mailing List for Dev-C++ (Page 429)
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: Per W. <pw...@ia...> - 2003-03-03 13:30:57
|
I've never been happy with the built-in debugger, but the Insigt debugger has worked very well under Windows XP Professional. /Per W On Mon, 3 Mar 2003, Adam Malinowski wrote: > Hi Asko. > > I have the same problem. Debuger's behavior is really strange. > But as i see you are using WinXP. And i think this is the problem. > I also work under XP and have the same symptoms. > But this is not DevC++ error. GDB is not good for WinXP i think. > I used Insight and the same errors occured. > However under Insight i could ignore some errors and continue, > under DevC++ it is impossible. > > So maybe somebody had the same problem and know how to > fix it. Maybe GDB needs some options to be set up. > > Adam. > > > > > I'm using DevCpp 4.9.7.0 to replace Visual C++ in an open source > > project. > > > > All fine otherwise, but the debugger does not seem to be very > > co-operative. Sometimes I get some single-stepping done, but it seems > > to be running past my breakpoints & other not-so-welcome behaviour. > > > > Is there something special in the setup I should check, or is this a > > 'feature'? > > > > Does 4.9.7.0 contain 'Insight debugger' or do I need to install it > > separately? > > > > I'm running XP Home under Virtual PC (iMac x86 emulation) - has anyone > > experience from DevCpp on it? > > > > Thanks! > > -ak > > > ---------------------------------------------------------------------- > CZAT > Towarzyski > EROTYCZNY >>> http://link.interia.pl/f16e5 > > > > > ------------------------------------------------------- > 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: anele N. <an...@an...> - 2003-03-03 13:27:21
|
|
From: <cg...@wo...> - 2003-03-03 11:38:19
|
Sorry, no experience with NET, but I can answer to one or mmore questions: >I have the following curiosity questions: > > > >Is this definition of WinMain() Win32 valid? > > What __stdcall is supposed to >do? > It says that the procedure called is responsible of removing the parameters from the stack, cdecl, which is the standard in C, says it is the caller which does that. __stdcall is the form of the WINAPI C functions, in fact it is synonimoius of far __pascal, and synonimous of WINAPI. So it is valid. >What are tmain(), _tmain(), in what they differ between each other and >how they differ from main()? tmain(), _tmain() are Win32 API functions or >not? (=they are new to .NET). > I don't know that, I only know they're not in my WINAPI reference. |
|
From: <rol...@mi...> - 2003-03-03 09:47:26
|
Hi all I have recently started a 3d-engine project using Microsoft tools and DirectX ( web site at http://stralberg.kalix.net ). Now I have descided to restart the project using Dev-C++ and free tools / libraries + openGL. It will primary be designed for Windows, because it's the only OS I'm familiar with. Some questions on your opinions though before I start. 1. I'm from Sweden and not to familiar with english :) Can I name the project woo3d without taking the risk the name sounds stupid of funny for native english speaking people. ( woo3d stands for WOrld Of 3D ) 2. My plan is to use openGL. Have you any suggestions of good lib's that will help. 3. What about input (mouse, keyboard etc )? In DirectX I used DirectInput. What's the alternatives. 4. What about sound? In DirectX I used DirectSound. Again, what is the alternatives? Thank's for any advice /Roland -- Roland Strålberg ro...@st... http://stralberg.kalix.net |
|
From: Asko K. <ask...@sc...> - 2003-03-03 09:07:31
|
There is a notice of "run Windows Update" on the DevCpp pages somewhere (for WinXP). Can anyone tell which exact feature/update is required (like, is SP1 enough?). I _don't_ like to end up in a constant update loop, unless I know it really solves this issue. Been there too many times.. :) -ak Adam Malinowski kirjoittaa maanantaina, 3. maaliskuuta 2003, kello 09:37: > Hi Asko. > > I have the same problem. Debuger's behavior is really strange. > But as i see you are using WinXP. And i think this is the problem. > I also work under XP and have the same symptoms. > But this is not DevC++ error. GDB is not good for WinXP i think. > I used Insight and the same errors occured. > However under Insight i could ignore some errors and continue, > under DevC++ it is impossible. > > So maybe somebody had the same problem and know how to > fix it. Maybe GDB needs some options to be set up. > > Adam. > >> >> I'm using DevCpp 4.9.7.0 to replace Visual C++ in an open source >> project. >> >> All fine otherwise, but the debugger does not seem to be very >> co-operative. Sometimes I get some single-stepping done, but it seems >> to be running past my breakpoints & other not-so-welcome behaviour. >> >> Is there something special in the setup I should check, or is this a >> 'feature'? >> >> Does 4.9.7.0 contain 'Insight debugger' or do I need to install it >> separately? >> >> I'm running XP Home under Virtual PC (iMac x86 emulation) - has anyone >> experience from DevCpp on it? >> >> Thanks! >> -ak > > > ---------------------------------------------------------------------- > CZAT > Towarzyski > EROTYCZNY >>> http://link.interia.pl/f16e5 > > |
|
From: Adam M. <up...@in...> - 2003-03-03 07:51:19
|
Hi Asko. I have the same problem. Debuger's behavior is really strange. But as i see you are using WinXP. And i think this is the problem. I also work under XP and have the same symptoms. But this is not DevC++ error. GDB is not good for WinXP i think. I used Insight and the same errors occured. However under Insight i could ignore some errors and continue, under DevC++ it is impossible. So maybe somebody had the same problem and know how to fix it. Maybe GDB needs some options to be set up. Adam. > > I'm using DevCpp 4.9.7.0 to replace Visual C++ in an open source > project. > > All fine otherwise, but the debugger does not seem to be very > co-operative. Sometimes I get some single-stepping done, but it seems > to be running past my breakpoints & other not-so-welcome behaviour. > > Is there something special in the setup I should check, or is this a > 'feature'? > > Does 4.9.7.0 contain 'Insight debugger' or do I need to install it > separately? > > I'm running XP Home under Virtual PC (iMac x86 emulation) - has anyone > experience from DevCpp on it? > > Thanks! > -ak ---------------------------------------------------------------------- CZAT > Towarzyski > EROTYCZNY >>> http://link.interia.pl/f16e5 |
|
From: Ioannis V. <no...@ho...> - 2003-03-02 21:32:13
|
-------Original Message-------=0D =0D From: Per Westermark=0D Date: =CA=F5=F1=E9=E1=EA=DE, 2 =CC=DC=F1=F4=E9=EF=F2 2003 11:14:56 =EC=EC= =0D To: Ioannis Vranos=0D Cc: Dev-C++ Mailing List=0D Subject: Re: [Dev-C++] WinMain()=0D =0D I haven't done a lot of work with Developer Studio .NET, so I can't say=0D about your problem with a console + GUI but anyway...=0D =0D The original main() only takes 8-bit characters as parameters, making it=0D unsuitable for unicode programs.=0D =0D To better support unicode, you now get a=0D int _tmain(int argc, _TCHAR* argv[]);=0D =0D where _tmain will conditionally compile to=0D int main(int argc,char* argv[]);=0D or=0D int wmain(int argc,wchar_t* argv[]);=0D depending on if you compile your program with _UNICODE defined.=0D =0D =0D =3D=3D> Ok got it. However there are both tmain() and _tmain(). Anyway i = do not care. They could do with a system extension of main taking int, wchar_t *= or whatever.=0D =0D =0D I can't say what difference it is between tmain() and _tmain(). I only=0D have a DevStudio 6.0 in front of me right now, and it only have the _tmai= n=0D declaration.=0D =0D Normally, it is a question of linker flags if the program expects to find= =0D a main() or a WinMain(), where main() is expected for console=0D apptiocations and WinMain() for GUI applications.=0D =0D =0D =3D=3D> In VC++ .NET all get compiled. You can compile a GUI with main().= The natural problem is that a console runs behind and the default for a manag= ed application is tmain(). Naturally managed can be also a console one so i = do not find it strange. The strange thing is that for GUI the only option available is Win32 project. Anyway i "stole" its WinMain and placed it in the managed project. The int __stdcall WinMain() is a valid signature for Win32? (just from curiosity).=0D =0D I have had a couple of DevStudio 6 projects goof up quite a lot when=0D letting DevStudio upgrade them to DevStudio.NET. A number of compiler and= =0D linker settings have become quite interesting :-)=0D =0D =0D =3D=3D> Concerning .NET it is really very convenient.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Asko K. <ask...@sc...> - 2003-03-02 21:23:40
|
I'm using DevCpp 4.9.7.0 to replace Visual C++ in an open source project. All fine otherwise, but the debugger does not seem to be very co-operative. Sometimes I get some single-stepping done, but it seems to be running past my breakpoints & other not-so-welcome behaviour. Is there something special in the setup I should check, or is this a 'feature'? Does 4.9.7.0 contain 'Insight debugger' or do I need to install it separately? I'm running XP Home under Virtual PC (iMac x86 emulation) - has anyone experience from DevCpp on it? Thanks! -ak |
|
From: Per W. <pw...@ia...> - 2003-03-02 21:16:10
|
I haven't done a lot of work with Developer Studio .NET, so I can't say about your problem with a console + GUI but anyway... The original main() only takes 8-bit characters as parameters, making it unsuitable for unicode programs. To better support unicode, you now get a int _tmain(int argc, _TCHAR* argv[]); where _tmain will conditionally compile to int main(int argc,char* argv[]); or int wmain(int argc,wchar_t* argv[]); depending on if you compile your program with _UNICODE defined. I can't say what difference it is between tmain() and _tmain(). I only have a DevStudio 6.0 in front of me right now, and it only have the _tmain declaration. Normally, it is a question of linker flags if the program expects to find a main() or a WinMain(), where main() is expected for console apptiocations and WinMain() for GUI applications. I have had a couple of DevStudio 6 projects goof up quite a lot when letting DevStudio upgrade them to DevStudio.NET. A number of compiler and linker settings have become quite interesting :-) /Per W On Sun, 2 Mar 2003, Ioannis Vranos wrote: > It's time for me to ask a question. I have been learning .NET lately and as > a default main() for a managed application tmain() is provided. > > However this tmain() thing runs a console, so my GUI app was in front and a > console was in the back. My guess is that tmain() is provided in an MS > attempt to make the code as much unportable as possible (vendor lock in). > > > To overcome this problem i saw a WinMain() from a Win32 app and i placed it > to my code. I modified it until the compiler shuts up. Now i use it in the > style: > > > int __stdcall WinMain() > { > Application::Run(new CppForm); > > > return 0; > } > > > and i get no warnings. > > > I have the following curiosity questions: > > Is this definition of WinMain() Win32 valid? What __stdcall is supposed to > do? What are tmain(), _tmain(), in what they differ between each other and > how they differ from main()? tmain(), _tmain() are Win32 API functions or > not? (=they are new to .NET). > > > Thank you in advance. > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys > > > ------------------------------------------------------- > 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: jose <fac...@ho...> - 2003-03-02 20:30:48
|
somebody knows like I can design a program in dev-c to capture data in = the serial port, in the parallel port and if it is possible in USB, for = windows xp professional , he/she would thank any information. |
|
From: Astar <As...@tu...> - 2003-03-02 19:55:24
|
Hello Khalid, Sunday, March 2, 2003, 7:35:42 PM, you wrote: KEK> hi, KEK> i used Dev-c++ 4 before and it didn't generate the following problem: KEK> That is, when i used Dev-c++ 5 beta 7 when i get to compile a file with the KEK> following line: KEK> #include<iostream> KEK> the compiler generates this error: KEK> 28 E:\DEV-CPP\include\c++\iostream:44 KEK> bits/c++config.h: No such file or directory. KEK> what should i do ? KEK> thanx in advance Copy files from C:\Dev-Cpp\include\c++\mingw32\bits to C:\Dev-Cpp\include\c++\bits may be adding 1st path to include's options helps you to. good luck! -- Astar mailto:As...@tu... |
|
From: Michel W. <mic...@fr...> - 2003-03-02 18:35:47
|
> > > > C:\prog\Dev-Cpp\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw > */\/\/\/\/\/\/\/\/\/\/\/\/\/\/\MY ERROR/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\* > > the library is : libwxmswu.a You should use -lwxmswu. 'u' is for unicode... I'm french so unicode could be useful for me. <cid:par...@fr...> > > my bombs.dev file [Project] FileName=bombs.dev Name=bombs Ver=1 IsCpp=1 Type=0 Compiler= CppCompiler=-D_X86_=1 -DWIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -mthreads -DSTRICT -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions_@@_ Includes= Linker=-lwxmswu -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid _@@_ Libs= UnitCount=3 Folders= ObjFiles= PrivateResource= ResourceIncludes= MakeIncludes= Icon= ExeOutput= ObjectOutput= OverrideOutput=0 OverrideOutputName=bombs.exe HostApplication= CommandLine= IncludeVersionInfo=0 SupportXPThemes=0 CompilerSet=0 CompilerSettings=000000000000000000 [Unit1] FileName=bombs.cpp Folder= Compile=1 CompileCpp=1 Link=1 Priority=1000 OverrideBuildCmd=0 BuildCmd= [Unit3] FileName=game.cpp Folder= Compile=1 CompileCpp=1 Link=1 Priority=1000 OverrideBuildCmd=0 BuildCmd= [Unit4] FileName=game.cpp Folder= Compile=1 CompileCpp=1 Link=1 Priority=1000 OverrideBuildCmd=0 BuildCmd= [VersionInfo] Major=0 Minor=1 Release=1 Build=1 LanguageID=1033 CharsetID=1252 CompanyName= FileVersion=0.1 FileDescription=Developed using the Dev-C++ IDE InternalName= LegalCopyright= LegalTrademarks= OriginalFilename=bombs.exe ProductName=bombs ProductVersion=0.1 [Unit2] FileName=bombs1.cpp CompileCpp=1 Folder= Compile=1 Link=1 Priority=1000 OverrideBuildCmd=0 BuildCmd= |
|
From: Ioannis V. <no...@ho...> - 2003-03-02 18:28:15
|
I sent an email some hours ago and i haven't seen it yet. Probably it wil=
l
arrive some weeks later, these things happen.=0D
=0D
It was:=0D
=0D
It's time for me to ask a question. I have been learning .NET lately an=
d
as=0D
a default main() for a managed application tmain() is provided. =0D
=0D
However this tmain() thing runs a console, so my GUI app was in front and=
a=0D
console was in the back. My guess is that tmain() is provided in an MS=0D
attempt to make the code as much unportable as possible (vendor lock in).=
=0D
=0D
=0D
To overcome this problem i saw a WinMain() from a Win32 app and i placed =
it=0D
to my code. I modified it until the compiler shuts up. Now i use it in th=
e=0D
style: =0D
=0D
=0D
int __stdcall WinMain() =0D
{ =0D
Application::Run(new CppForm); =0D
=0D
=0D
return 0; =0D
} =0D
=0D
=0D
and i get no warnings. =0D
=0D
=0D
I have the following curiosity questions: =0D
=0D
Is this definition of WinMain() Win32 valid? What __stdcall is supposed t=
o=0D
do? What are tmain(), _tmain(), in what they differ between each other an=
d=0D
how they differ from main()? tmain(), _tmain() are Win32 API functions or=
=0D
not? (=3Dthey are new to .NET). =0D
=0D
=0D
Thank you in advance. =0D
=0D
=0D
Ioannis Vranos =0D
=0D
* Programming pages: http://www.noicys.freeurl.com =0D
* Alternative URL: http://run.to/noicys=20
|
|
From: <cg...@wo...> - 2003-03-02 17:42:59
|
Have you set the x directories (x = library, include...)?And the programs? At compiler options. Brion & Sharon Kirby wrote: > HI, I am fairly new to C++, I have been unable to get my Dev-C++ > 4.9.7.6 compiler to compile any file I have put into it |
|
From: Khalid El-K. <kha...@ho...> - 2003-03-02 17:35:48
|
hi, i used Dev-c++ 4 before and it didn't generate the following problem: That is, when i used Dev-c++ 5 beta 7 when i get to compile a file with the following line: #include<iostream> the compiler generates this error: 28 E:\DEV-CPP\include\c++\iostream:44 bits/c++config.h: No such file or directory. what should i do ? thanx in advance _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail |
|
From: Ioannis V. <no...@ho...> - 2003-03-02 16:49:55
|
It's time for me to ask a question. I have been learning .NET lately and =
as
a default main() for a managed application tmain() is provided.=0D
=0D
However this tmain() thing runs a console, so my GUI app was in front and=
a
console was in the back. My guess is that tmain() is provided in an MS
attempt to make the code as much unportable as possible (vendor lock in).=
=0D
=0D
=0D
To overcome this problem i saw a WinMain() from a Win32 app and i placed =
it
to my code. I modified it until the compiler shuts up. Now i use it in th=
e
style:=0D
=0D
=0D
int __stdcall WinMain()=0D
{=0D
Application::Run(new CppForm);=0D
=0D
=0D
return 0;=0D
}=0D
=0D
=0D
and i get no warnings.=0D
=0D
=0D
I have the following curiosity questions:=0D
=0D
Is this definition of WinMain() Win32 valid? What __stdcall is supposed t=
o
do? What are tmain(), _tmain(), in what they differ between each other an=
d
how they differ from main()? tmain(), _tmain() are Win32 API functions or
not? (=3Dthey are new to .NET).=0D
=0D
=0D
Thank you in advance.=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20
|
|
From: Per W. <pw...@ia...> - 2003-03-02 10:33:32
|
This isn't comparable to my installation but see below: /Per W On Sun, 2 Mar 2003, Gametha wrote: > Hello dev-cpp-users, > I think im a dumb or something like that! I read a lot of > documentation and i cant found a solution. > Let's start: > > I have > - Dev-cpp 4.9.7.6 with gcc3.2 > - Package WxWindows Development Kit (Build by Michel Weinachter) 2.4.0 > - Package Contribs (Build by Michel Weinachter) 2.4.0 > - Package Image libraries (Build by Michel Weinachter) 1.0.0 > - WxWindows_2_4_0 setup from zip file downloaded on wxwindows.org > > My dirs: > C:\prog\dev-cpp --> dev c++ instalation > C:\prog\wxdesigner --> wxdesigner instalation > C:\prog\wxWindows_2.4.0 --> wxWindows instalation > > My changes : > The path have : c:\prog\dev-cpp\bin > The environment variable (from control > pannel > system > advanced > environment variables applet) have > WXWIN C:\prog\Dev-Cpp\include\wx > > My dirs on dev c++ compiler options : > > Binaries: > C:\prog\Dev-Cpp\bin > > Libraries: > C:\prog\Dev-Cpp\lib > C:\prog\Dev-Cpp\include\wx\msw Where are you libwxmsw.a file? In one of the above two directories? The second one looks more like an include directory to me. Please notice difference between include files (*.h) for compilation, and library files (*.a) for linking. > > C Includes: > C:\prog\Dev-Cpp\include > > C++ Includes: > C:\prog\Dev-Cpp\include\c++ > C:\prog\Dev-Cpp\include > C:\prog\Dev-Cpp\include\c++\backward > C:\prog\Dev-Cpp\include\c++\bits > C:\prog\Dev-Cpp\include\c++\ext > C:\prog\Dev-Cpp\include\c++\mingw32 > C:\prog\Dev-Cpp\include\c++\mingw32\bits > C:\prog\Dev-Cpp\include\wx > C:\prog\Dev-Cpp\include\wx\msw\gnuwin32 > > My problem! > Im tryng to compile some example of wxwindows. The example is the > bombs1.cpp comming from WxWindows 2.4 (downloaded on > wxwindows.org). > > My errors: > > - When i compile withou adding commands on calling compiler and > linker: > Compiler: Default compiler > Executing g++.exe... > g++.exe "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.cpp" -o > "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.exe" > -I"C:\prog\Dev-Cpp\include\c++" -I"C:\prog\Dev-Cpp\include" > -I"C:\prog\Dev-Cpp\include\c++\backward" -I"C:\prog\Dev-Cpp\in= clude\c++\bits" > -I"C:\prog\Dev-Cpp\include\c++\ext" -I"C:\prog\Dev-Cpp\include= \c++\mingw32" > -I"C:\prog\Dev-Cpp\include\c++\mingw32\bits" -I"C:\prog\Dev-Cp= p\include\wx" > -I"C:\prog\Dev-Cpp\include\wx\msw\gnuwin32" -L"C:\prog\Dev-Cp= p\lib" -L"C:\prog\Dev-Cpp\include\wx\msw" > > In file included from C:/prog/Dev-Cpp/include/wx/wxprec.h:13, > from C:/prog/wxWindows_2.4.0/demos/bombs/bombs1.cpp:21: > C:/prog/Dev-Cpp/include/wx/defs.h:174: redeclaration of C++ bui= lt-in type `bool' > In file included from C:/prog/Dev-Cpp/include/wx/memory.h:20, > from C:/prog/Dev-Cpp/include/wx/object.h:25, > from C:/prog/Dev-Cpp/include/wx/wx.h:16, > from C:/prog/wxWindows_2.4.0/demos/bombs/bombs1.cpp:24: > C:/prog/Dev-Cpp/include/wx/string.h:164:4: #error "Please defin= e string case-insensitive compare for your OS/compiler" > Execution terminated */\/\/\/\/\/\/\/\/\/= \/\/\/\/\/\MY ERROR/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\* You haven't defined what kind of compiler you are using. Make sure to define _D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ for your compiler. The line you have below, i.e. -fno-rtti... is what you should have for compilation. > > - When i use the options : compiler> -fno-rtti -fno-exceptions -fno-= pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WI= N95__ > linker> -lwxmsw -lole32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc+= + -lshell32 -loleaut32 -ladvapi32 -luuid > > Compiler: Default compiler > Executing g++.exe... > g++.exe "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.cpp" -o = "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.exe" -fno-rtti -fno-exception= s -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__= -D__WIN95__ -I"C:\prog\Dev-Cpp\include\c++" -I"C:\prog\Dev-Cpp\include" = -I"C:\prog\Dev-Cpp\include\c++\backward" -I"C:\prog\Dev-Cpp\include\c++\b= its" -I"C:\prog\Dev-Cpp\include\c++\ext" -I"C:\prog\Dev-Cpp\include\c++\m= ingw32" -I"C:\prog\Dev-Cpp\include\c++\mingw32\bits" -I"C:\prog\Dev-Cpp\i= nclude\wx" -I"C:\prog\Dev-Cpp\include\wx\msw\gnuwin32" -lwxmsw -lole32 -l= wsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32= -luuid -L"C:\prog\Dev-Cpp\lib" -L"C:\prog\Dev-Cpp\include\wx\msw" > > C:\prog\Dev-Cpp\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\m= ingw32\bin\ld.exe: cannot find -lwxmsw > */\/\/\/\/\/\/\/\/\/\/\/\/\/\/\MY ERROR/\/\/\/\/\/\/\/\/\/\/= \/\/\/\/\/\* You haven't specified a library path to your libwxmsw.a file. It's not in the two directories you specified for libraries. Or, it might be called something else. Check your disk for any libwx* files. Some versions of wxWindows called it just libwx.a. > > Execution terminated > > - When dont put the -lwxmsw option: > > Compiler: Default compiler > Executing g++.exe... > g++.exe "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.cpp" -o = "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.exe" -fno-rtti -fno-exception= s -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__= -D__WIN95__ -I"C:\prog\Dev-Cpp\include\c++" -I"C:\prog\Dev-Cpp\include" = -I"C:\prog\Dev-Cpp\include\c++\backward" -I"C:\prog\Dev-Cpp\include\c++\b= its" -I"C:\prog\Dev-Cpp\include\c++\ext" -I"C:\prog\Dev-Cpp\include\c++\m= ingw32" -I"C:\prog\Dev-Cpp\include\c++\mingw32\bits" -I"C:\prog\Dev-Cpp\i= nclude\wx" -I"C:\prog\Dev-Cpp\include\wx\msw\gnuwin32" -lole32 -lwsock32 = -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid = -L"C:\prog\Dev-Cpp\lib" -L"C:\prog\Dev-Cpp\include\wx\msw" > C:\DOCUME~1\Gametha\CONFIG~1\Temp/ccE9taaa.o(.text+0x6e):bom= bs1.cpp: undefined reference to `wxTheColourDatabase' > . > . > . > . > C:\DOCUME~1\Gametha\CONFIG~1\Temp/ccE9taaa.o(.text$_ZN8wxObj= ectD0Ev+0x16):bombs1.cpp: undefined reference to `wxObject::UnRef()' > > C:\prog\Dev-Cpp\lib/libmingw32.a(main.o)(.text+0x7f):main.c:= undefined reference to `WinMain@16' > > Execution terminated No use trying to build a wxWindows application without specifying the -lwxmsw option, since that's the wxWindows base functionallity you control with this switch, i.e. that your application needs the wxWindows library. > > > Please guys i need help. I dont know what to do now. Im a newbie with > c++ and dont know some concepts. Im triyng to beggin but if i cant > compile a simple hellow-world-like program i dont want to go foward! > :( > Sorry about the size of mail. I have read the forums and some messages > are better to undearstand and that messages have more information then > others. tks all. > > -- > Best regards, > Gametha mailto:ga...@ya... > > _______________________________________________________________________ > Busca Yahoo! > O servi=E7o de busca mais completo da Internet. O que voc=EA pensar o Yah= oo! encontra. > http://br.busca.yahoo.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: Gametha <ga...@ya...> - 2003-03-02 09:55:07
|
Hello dev-cpp-users, I think im a dumb or something like that! I read a lot of documentation and i cant found a solution. Let's start: I have - Dev-cpp 4.9.7.6 with gcc3.2 - Package WxWindows Development Kit (Build by Michel Weinachter) 2.4.0 - Package Contribs (Build by Michel Weinachter) 2.4.0 - Package Image libraries (Build by Michel Weinachter) 1.0.0 - WxWindows_2_4_0 setup from zip file downloaded on wxwindows.org My dirs: C:\prog\dev-cpp --> dev c++ instalation C:\prog\wxdesigner --> wxdesigner instalation C:\prog\wxWindows_2.4.0 --> wxWindows instalation My changes : The path have : c:\prog\dev-cpp\bin The environment variable (from control pannel > system > advanced > environment variables applet) have WXWIN C:\prog\Dev-Cpp\include\wx My dirs on dev c++ compiler options : Binaries: C:\prog\Dev-Cpp\bin Libraries: C:\prog\Dev-Cpp\lib C:\prog\Dev-Cpp\include\wx\msw C Includes: C:\prog\Dev-Cpp\include C++ Includes: C:\prog\Dev-Cpp\include\c++ C:\prog\Dev-Cpp\include C:\prog\Dev-Cpp\include\c++\backward C:\prog\Dev-Cpp\include\c++\bits C:\prog\Dev-Cpp\include\c++\ext C:\prog\Dev-Cpp\include\c++\mingw32 C:\prog\Dev-Cpp\include\c++\mingw32\bits C:\prog\Dev-Cpp\include\wx C:\prog\Dev-Cpp\include\wx\msw\gnuwin32 My problem! Im tryng to compile some example of wxwindows. The example is the bombs1.cpp comming from WxWindows 2.4 (downloaded on wxwindows.org). My errors: - When i compile withou adding commands on calling compiler and linker: Compiler: Default compiler Executing g++.exe... g++.exe "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.cpp" -o "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.exe" -I"C:\prog\Dev-Cpp\include\c++" -I"C:\prog\Dev-Cpp\include" -I"C:\prog\Dev-Cpp\include\c++\backward" -I"C:\prog\Dev-Cpp\include\c++\bits" -I"C:\prog\Dev-Cpp\include\c++\ext" -I"C:\prog\Dev-Cpp\include\c++\mingw32" -I"C:\prog\Dev-Cpp\include\c++\mingw32\bits" -I"C:\prog\Dev-Cpp\include\wx" -I"C:\prog\Dev-Cpp\include\wx\msw\gnuwin32" -L"C:\prog\Dev-Cpp\lib" -L"C:\prog\Dev-Cpp\include\wx\msw" In file included from C:/prog/Dev-Cpp/include/wx/wxprec.h:13, from C:/prog/wxWindows_2.4.0/demos/bombs/bombs1.cpp:21: C:/prog/Dev-Cpp/include/wx/defs.h:174: redeclaration of C++ built-in type `bool' In file included from C:/prog/Dev-Cpp/include/wx/memory.h:20, from C:/prog/Dev-Cpp/include/wx/object.h:25, from C:/prog/Dev-Cpp/include/wx/wx.h:16, from C:/prog/wxWindows_2.4.0/demos/bombs/bombs1.cpp:24: C:/prog/Dev-Cpp/include/wx/string.h:164:4: #error "Please define string case-insensitive compare for your OS/compiler" Execution terminated */\/\/\/\/\/\/\/\/\/\/\/\/\/\/\MY ERROR/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\* - When i use the options : compiler> -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ linker> -lwxmsw -lole32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid Compiler: Default compiler Executing g++.exe... g++.exe "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.cpp" -o "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.exe" -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ -I"C:\prog\Dev-Cpp\include\c++" -I"C:\prog\Dev-Cpp\include" -I"C:\prog\Dev-Cpp\include\c++\backward" -I"C:\prog\Dev-Cpp\include\c++\bits" -I"C:\prog\Dev-Cpp\include\c++\ext" -I"C:\prog\Dev-Cpp\include\c++\mingw32" -I"C:\prog\Dev-Cpp\include\c++\mingw32\bits" -I"C:\prog\Dev-Cpp\include\wx" -I"C:\prog\Dev-Cpp\include\wx\msw\gnuwin32" -lwxmsw -lole32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid -L"C:\prog\Dev-Cpp\lib" -L"C:\prog\Dev-Cpp\include\wx\msw" C:\prog\Dev-Cpp\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw */\/\/\/\/\/\/\/\/\/\/\/\/\/\/\MY ERROR/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\* Execution terminated - When dont put the -lwxmsw option: Compiler: Default compiler Executing g++.exe... g++.exe "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.cpp" -o "C:\prog\wxWindows_2.4.0\demos\bombs\bombs1.exe" -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ -I"C:\prog\Dev-Cpp\include\c++" -I"C:\prog\Dev-Cpp\include" -I"C:\prog\Dev-Cpp\include\c++\backward" -I"C:\prog\Dev-Cpp\include\c++\bits" -I"C:\prog\Dev-Cpp\include\c++\ext" -I"C:\prog\Dev-Cpp\include\c++\mingw32" -I"C:\prog\Dev-Cpp\include\c++\mingw32\bits" -I"C:\prog\Dev-Cpp\include\wx" -I"C:\prog\Dev-Cpp\include\wx\msw\gnuwin32" -lole32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid -L"C:\prog\Dev-Cpp\lib" -L"C:\prog\Dev-Cpp\include\wx\msw" C:\DOCUME~1\Gametha\CONFIG~1\Temp/ccE9taaa.o(.text+0x6e):bombs1.cpp: undefined reference to `wxTheColourDatabase' . . . . C:\DOCUME~1\Gametha\CONFIG~1\Temp/ccE9taaa.o(.text$_ZN8wxObjectD0Ev+0x16):bombs1.cpp: undefined reference to `wxObject::UnRef()' C:\prog\Dev-Cpp\lib/libmingw32.a(main.o)(.text+0x7f):main.c: undefined reference to `WinMain@16' Execution terminated Please guys i need help. I dont know what to do now. Im a newbie with c++ and dont know some concepts. Im triyng to beggin but if i cant compile a simple hellow-world-like program i dont want to go foward! :( Sorry about the size of mail. I have read the forums and some messages are better to undearstand and that messages have more information then others. tks all. -- Best regards, Gametha mailto:ga...@ya... _______________________________________________________________________ Busca Yahoo! O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra. http://br.busca.yahoo.com/ |
|
From: Brion & S. K. <bs...@bi...> - 2003-03-02 00:13:35
|
HI, I am fairly new to C++, I have been unable to get my Dev-C++ = 4.9.7.6 compiler to compile any file I have put into it=20 |
|
From: <rol...@mi...> - 2003-03-01 20:48:28
|
Hi
You have misstyped two curly brackets
> Katze (int anfangsAlter) {alter=anfangsAlter; >>> ')'<<<< should be '}'
> int alterErfragen() const {return alter; >>> ')' <<<< should be '}'
|
|
From: Charles K. <ch...@ke...> - 2003-03-01 19:16:01
|
Ok, what I want is a macro that essentially does the following:
#ifdef _MSC_VER
#pragma note("mytext")
#else
#warning "mytext"
#endif
And in the code, one would do the following:
NOTE(mytext)
Now, the issue is the macro itself must have directives in it (#pramga,
#warning).
Does anyone have a thought how to send output during compile in a dual
platform supported mode (I also noted that gcc doesn't have the concept of
"note", so used warning).
|
|
From: Ioannis V. <no...@ho...> - 2003-03-01 18:56:10
|
Sorry guys & girls a mistake correction.=0D =0D <iso646.h> and <ciso646> *belong* to the C++98 standard, but they are provided only for=0D compatibility reasons. That is, they are decorative only since and, bitan= d etc. are built in=0D keywords in C++98.=0D =0D =0D As the standard says:=0D =0D "[lex.key] 2.11 Keywords=0D 1 The identifiers shown in Table 3 are reserved for use as keywords (that= is they are=0D unconditionally treated as keywords in phase 7):=0D =0D Table 3=97keywords=0D ___________________________________________________________=0D asm do if return typedef=0D auto double inline short typeid=0D bool dynamic_cast int signed typename=0D break else long sizeof union=0D case enum mutable static unsigned=0D catch explicit namespace static_cast using=0D char export new struct virtual=0D class extern operator switch void=0D const false private template volatile=0D const_cast float protected this wchar_t=0D continue for public throw while=0D default friend register true=0D delete goto reinterpret_cast try _ _____________________________________________________________ =0D =0D 2 Furthermore, the alternative representations shown in Table 4 for certa= in operators and punctuators (2.5) are reserved and shall not be used otherwise:=0D =0D Table 4=97alternative representations=0D _ _______________________________________________________=0D and and_eq bitand bitor compl not=0D not_eq or or_eq xor xor_eq _=20 _______________________________________________________=0D =0D "=0D =0D =0D and=0D =0D =0D "[diff.header.iso646.h] C.2.2.2 Header <iso646.h>=0D =0D 1 The tokens and, and_eq, bitand, bitor, compl, not_eq, not, or, or_eq, x= or, and xor_eq are=0D keywords in this International Standard (2.11). They do not appear as mac= ro names defined in <ciso646>."=0D =0D =0D That is, these header files <iso646.h> and <ciso646> are considered decorative for C++ (but not for C).=0D =0D =0D Although the above, many compilers are not C++98 compliant on this and st= ill require these header files in C++.=0D =0D =0D Sorry for the many emails.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Ioannis V. <no...@ho...> - 2003-03-01 18:42:48
|
Regarding iso646.h it is a standard C94 header file (C94 is an interim update of C89/90). =0D =0D "The C Standard has more recently been amended and clarified. =0D Amendment 1 (approved in 1994) adds extensive support for manipulating wi= de characters,=0D which represent large character sets, and some additional support for writing source code=0D in national variants of the ISO 646 character set. Most of these new features are additions =0D to the library, and most library additions are defined or declared in thr= ee new headers=0D -- <iso646.h>, <wchar.h>, and <wctype.h>."=0D =0D =0D However in C++ they are *reserved* keywords, so this header file is not valid for C++98 code. That means that you can't expect it to exist in eve= ry C++98 compliant implementation, and you can't expect that if it exists as part of the C compiler, its implementors to have taken care so as it does= n't produce conflict errors when used in C++ code.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Larry H. <lm...@ha...> - 2003-03-01 17:10:24
|
I have WinXP Home and have had no problems using Vupdate since it was fixed. Just to make sure I checked for new updates and am in the process of updating from 4.9.7.5 to 4.9.7.6. The update download completed without error. I have some problem with a file when I installed to a new directory that I have not been able to resolve and have to manually run the new packages. There was an issue with the file in the user folder on NT kernel systems, and I think it is related to that, unless there is something in the registry. I just have not made the time to fix it, since my C++ learning/development time is currently a "back-burner" project. HTH, Larry Hamilton Robert Zaleski wrote: <snip> > So, If there's any work around or anything I can do, let me > know. If I can manually build a cfg file, and try dropping it in a > few spots until it's found, maybe that'll work. Does anyone have the > updater working on XP? Also is there any way we can manually grab > updates to see if it's working. Finally, thanks allot for the time > you spend in working on this. I find Dev-cpp very useful and > appreciate your work on it allot. > > Take Care, > Robert Zaleski |
|
From: Ioannis V. <no...@ho...> - 2003-03-01 16:09:18
|
-------Original Message-------=0D =0D From: Robson Bernard=0D Date: =D3=DC=E2=E2=E1=F4=EF, 1 =CC=DC=F1=F4=E9=EF=F2 2003 4:50:31 =EC=EC=0D To: C++ Mail List=0D Subject: [Dev-C++] Memory=0D =0D Hi coders,=0D =0D I have a question that does not want to shut up! When i code a program, d= o i=0D have to delete all variables before exiting the main function or does the= =0D operating system cares of free all the memory allocated? If i do not dele= te=0D the variables before main function and use the program several times, may= it=0D cause the system memory to be unavailble?=0D =0D Any input welcome!=0D =0D =0D =3D=3D> When the program terminates, the OS releases all the allocated me= mory, both on the stack & the free store. However, it is a bad habbit to do not free allocated memory on the free store, when you do not need it anymore, because till it terminates you are losing avaiable memory. For example th= ere are programs that run all the time in a loop or something, minimized, dedicated systems etc where you do not close the application.=0D =0D On a garbage collected system (like .NET for example but there are others too), you do not need to free explicitly the allocated memory on the free store, since the GC engine undertakes this task and frees unused memory w= hen it needs more. However even in these systems i prefer to deallocate memor= y explicitly.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |