dev-cpp-users Mailing List for Dev-C++ (Page 488)
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: Ioannis V. <no...@ho...> - 2002-11-13 01:41:22
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf Of Tina > Sent: Tuesday, November 12, 2002 5:22 PM > To: Yeoh HS; dev...@li... > Subject: Re: [Dev-C++] comp >=20 >=20 >=20 > Hi >=20 > Yes it=B4s first time i try to compile anything, i have downloaded the > program, and bought a c++ book and then i have followed the=20 > book, but i > can=B4t compile anything, i have som examples from the=20 > internet, and i can=B4t > compile them either. the compiler dosen=B4t do anything. >=20 > I don=B4t know what to do so im very pleased if everyone can help me = :-) >=20 > Tina Just do not create an object, only a new file and save it as .cpp . Ioannis Vranos =20 * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |
|
From: Carlos P. <Sil...@ne...> - 2002-11-13 00:38:46
|
Gd day, on the Dev C ++ v 4.9.6, i'm getting the following msg each time i go to = the help menu: " Cannot find ... \help\devcpp.hlp Help file. ...". Where can i find such file? mny thks in advance, carlos |
|
From: <CBR...@ne...> - 2002-11-12 23:42:34
|
Why does this work:
1500 DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,174,18,50,14
PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14
CTEXT "Formula:", IDC_STATIC, 9, 9, 155, 12
CTEXT "Valid Variables:", IDC_STATIC, 9, 39, 65, 12
// EDITTEXT 1909, 9, 20, 160, 14, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE
EDITTEXT EAPP_VAR, 9, 51, 65, 14, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE
END
But not this:
1500 DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,174,18,50,14
PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14
CTEXT "Formula:", IDC_STATIC, 9, 9, 155, 12
CTEXT "Valid Variables:", IDC_STATIC, 9, 39, 65, 12
EDITTEXT 1909, 9, 20, 160, 14, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE
EDITTEXT EAPP_VAR, 9, 51, 65, 14, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE
END
Thanks,
Ax
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
|
|
From: Wobien <wo...@pl...> - 2002-11-12 22:34:11
|
Hello,
I just downloaded and installed Dev-C++
I have a problem compiling files, even the simplest you can think of.
For example:
#include <iostream>
#include <stdlib.h>
int main()
{
cout << "Hello\n";
system("PAUSE");=20
return 0;
}
If I load just the file with this little program, all goes well.
But if I load a project with just this file in it compiling stops.
The results are:
Compile Log:
Building Makefile: "C\Dev-Cpp\myprog\Makefile.win"=20
Executing make...
make.exe -| "C:\Dev-Cpp\myprog\Makefile.win" all=20
g++.exe -c main.cpp -o main.0 -|"C:/DEV-CPP/include" =
-|"C:/DEV-CPP/include/g++ -3"
-|"C:/DEV-CPP/include" -s
Total errors: 0
After that on anything I do I either get :"file not compiled" or =
"allredy compiling"
Soon after that my computer crashes.
|
|
From: Samuel K. <big...@ya...> - 2002-11-12 22:10:26
|
Thanks Yeoh HS and Marshall, The added .dll, and changed code snippets get it to work. __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 |
|
From: Piotr P. <pi...@wi...> - 2002-11-12 21:43:48
|
Hello Yeoh, Tuesday, November 12, 2002, 5:09:56 AM, you wrote: YH> I copy and pasted your example code into the editor and made some changes to YH> the first four lines. YH> Here it is: YH> #include <windows.h> YH> #include <gl/gl.h> YH> #include <gl/glut.h> As from what a I have read in glut.h comments the following would be even more apropriate: #include <gl/glut.h> #include <gl/gl.h> -- Best regards, Piotr mailto:pi...@wi... |
|
From: /KY <cru...@in...> - 2002-11-12 21:20:33
|
Hi! I'm using Dev-C++ 4.9.6.8 (4.9.6.0 with gcc+ DevCppExe 2.1042) and I'm=
=20
experiencing several problems with the editor, since I updated from version=
=20
4.9.6.0.
I'm running on Windows 98 with Internet Explorer 6 SP1; I've got a GeForce4=
=20
MX440 AGP4x. I've got both Office 97 and Office 2000 (I've installed O2000=
=20
after O97).
1)With "Visual Studio" color settings, breakpoints and selected breakpoints=
=20
color is white on white.
2)With "Classic" color settings, I experience some major problems with=20
fonts leaving jitter (i.e. when I pass with the cursor, a line rimains over=
=20
the characters). Plus, If I move with the cursor over a " ( ", that and the=
=20
corresponding " ) " turn on blue background; however, when I move away,=20
their background turns gray.
3)I'm experiencing this kind of problems also with "Visual Studio" color=20
settings, but much less.
I've also got another problem: sometimes (not always) after pushing the=20
"Rebuild All" button, I press the "Run" but I obtain "no exe built" or=20
something similar. I have then to push "Compile & Run" (that will say=20
"nothing to do" and then run the program). After that I can regularly push=
=20
just "Run".
Also, what's the gmon.out created by every program I compile with Dev-C++?=
=20
Is there a way to suppress it?
Guido Imperiale
cru...@in...
-------------------------------
CRV=A7ADER/KY
KnowledgE is PoweR
|
|
From: Eric R. <e.r...@pa...> - 2002-11-12 17:14:50
|
Always post your code then we can tell you better were you are going wrong and were you are going write, because my mind reading never works. that way we can try it and if it works, we can report back and say we clicked this and we clicked that, and we clicked something else and we got it too work. From Eric NO ATTACHMENT WAS SENT WITH THIS EMAIL, IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. Black text on white background HTML Emails I get, are replied with white text on white. and now for a joke; An elderly Irishman lay dying in his bed. While suffering the agonies of impending death, he suddenly smelled the aroma of his favorite chocolate chip cookies wafting up the stairs. He gathered his remaining strength, and lifted himself from the bed. Leaning against the wall, he slowly made his way out of the bedroom, and with even greater effort, gripping the railing with both hands, he crawled downstairs. With labored breath, he leaned against the door frame, gazing into the kitchen. Were it not for death's agony, he would have thought himself already in heaven, for there, spread out upon waxed paper in the kitchen table were literally hundreds of his favorite chocolate chip cookies. Was it heaven? Or was it one final act of heroic love from his devoted Irish wife of sixty years, seeing to it that he left this world a happy man? Mustering one great final effort, he threw himself towards the table, landing on his knees in a rumpled posture. His parched lips parted, the wondrous taste of the cookie was already in his mouth, seemingly bringing him back to life. The aged and withered hand trembled on its way to a cookie at the edge of the table, when it was suddenly smacked with a large heavy wooden spoon. by his wife "F*ck off" she said, "they're for the funeral." -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Tina Sent: 13 November 2002 04:22 To: Yeoh HS; dev...@li... Subject: Re: [Dev-C++] comp Hi Yes it´s first time i try to compile anything, i have downloaded the program, and bought a c++ book and then i have followed the book, but i can´t compile anything, i have som examples from the internet, and i can´t compile them either. the compiler dosen´t do anything. I don´t know what to do so im very pleased if everyone can help me :-) Tina > Hi, > > I've seen this before in some of my projects. > Is this the first time you're compiling this project? > Have you tried to "clean" and then do a "rebuild all"? > > I did a clean and then rebuild all.This works for me. > > Regards, > Yeoh > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > Free Downloads at http://www.yeohhs.com > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > > ----- Original Message ----- > From: Tina > To: dev...@li... > Sent: Tuesday, November 12, 2002 1:12 PM > Subject: [Dev-C++] comp > > When i try to compile, nothing happens, this is what the compiler log is > writing > <snipped> > > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02 |
|
From: Ihsan A. Al D. <ia...@jo...> - 2002-11-12 15:36:46
|
Why don't you send us the source code to see what is happening?. =20 Mohammed ----- Original Message -----=20 From: Tina <mailto:ti...@td...> =20 To: dev...@li... <mailto:dev...@li...> =20 Sent: Monday, November 11, 2002 9:12 PM Subject: [Dev-C++] comp When i try to compile, nothing happens, this is what the compiler log = is writing =20 Compiling files : C:\DEV-C_~1\Bin\g++ c:\windows\skrive~1\hej.cpp -o c:\windows\skrive~1\Hej.exe -lobjc -ggdb -IC:\DEV-C_~1\Include\ -IC:\DEV-C_~1\Include\ -IC:\DEV-C_~1\Include\ -LC:\DEV-C_~1\Lib\ -BC:\DEV-C_~1\Bin\=20 =20 can anybody see why the compiler dosen=B4t make an exe file? =20 Tina |
|
From: Igor P. <igo...@po...> - 2002-11-12 15:26:29
|
Hi, =20 Without more information on what exactly you did I can only guess but most probably you did something wrong in WinMain. That is: - check handling of WM_CREATE in your frame window procedure and see if CreateWindow of the frame window returns a valid handle. - you did not use ShowWindow before entering the message loop or - there is something wrong with the message loop. After that you schould at least have a visible frame window. =20 Regards =20 Igor Pierscinski -----Original Message----- From: Vlada Djurovic [mailto:dj...@im...] Sent: Tuesday, November 12, 2002 3:08 PM To: 'DevC++ help' Subject: [Dev-C++] MDI window again Hi all I have another unusual problem here. I wrote some code t display MDI = window. It compiled OK, but when I run it, nothing happens, I don't see = the window. In Task menager, I found my exe file under prosesses tab, so = I guess it is running, only the window doesn't show. I used SW_SHOW = when creating every window.=20 The compiler log output: g++.exe MDImain.o -o "MDIFinal.exe" -L"C:\Dev-Cpp\lib" = -I"C:\Dev-Cpp\include" -I"C:\Dev-Cpp\myInc" = -I"C:\Dev-Cpp\include\g++-3" -I"C:\Dev-Cpp\include" = -I"C:\Dev-Cpp\myInc" -g3 -mwindows =20 Execution terminated Compilation successful =20 Hope someone can help. =20 Regards, Vlada |
|
From: Tina <ti...@td...> - 2002-11-12 15:21:47
|
Hi Yes it´s first time i try to compile anything, i have downloaded the program, and bought a c++ book and then i have followed the book, but i can´t compile anything, i have som examples from the internet, and i can´t compile them either. the compiler dosen´t do anything. I don´t know what to do so im very pleased if everyone can help me :-) Tina > Hi, > > I've seen this before in some of my projects. > Is this the first time you're compiling this project? > Have you tried to "clean" and then do a "rebuild all"? > > I did a clean and then rebuild all.This works for me. > > Regards, > Yeoh > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > Free Downloads at http://www.yeohhs.com > ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > > ----- Original Message ----- > From: Tina > To: dev...@li... > Sent: Tuesday, November 12, 2002 1:12 PM > Subject: [Dev-C++] comp > > When i try to compile, nothing happens, this is what the compiler log is > writing > <snipped> > > > > |
|
From: Vlada D. <dj...@im...> - 2002-11-12 14:05:53
|
Hi all I have another unusual problem here. I wrote some code t display MDI = window. It compiled OK, but when I run it, nothing happens, I don't see = the window. In Task menager, I found my exe file under prosesses tab, so = I guess it is running, only the window doesn't show. I used SW_SHOW = when creating every window.=20 The compiler log output: g++.exe MDImain.o -o "MDIFinal.exe" -L"C:\Dev-Cpp\lib" = -I"C:\Dev-Cpp\include" -I"C:\Dev-Cpp\myInc" = -I"C:\Dev-Cpp\include\g++-3" -I"C:\Dev-Cpp\include" = -I"C:\Dev-Cpp\myInc" -g3 -mwindows Execution terminated Compilation successful Hope someone can help. Regards, Vlada |
|
From: Marshall B. <mlb...@ho...> - 2002-11-12 11:22:20
|
> Sorry for my earlier e-mail. It was accidentally sent before I could finish > editing it. Although the exe was created, when I run the program, the output > is a window titled Hello but the window background was black. The polygon > wasn't displayed. > > Do you have the same output? Hello, Those lines with the glVertex3f calls should read as: glVertex3f(0.25, 0.25, 0.0); glVertex3f(0.75, 0.25, 0.0); glVertex3f(0.75, 0.75, 0.0); glVertex3f(0.25, 0.75, 0.0); Interesting that I should be working on the *exact same thing*. :) Regards, Marshall |
|
From: <ste...@ge...> - 2002-11-12 10:47:02
|
Nah, that's not it... also tried dplayx.lib and the rest of those included
in the DXSDK... I'm lost :(
Stein Nygård - http://steinware.dk
[Being powerful is like being a lady... If you have to tell people you are,
you aren't]
----- Original Message -----
From: "Carlos García del Monte" <cg...@wo...>
To: "dev-cpp-users-list" <dev...@li...>
Sent: Tuesday, November 12, 2002 11:28 AM
Subject: Re: [Dev-C++] more directplay
You may have missed -ldxguid
=?iso-8859-1?Q?Stein_Nyg=E5rd?= escribió:
> Hi again...
>
> [Linker error] undefined reference to `IID_IDirectPlay8Peer'
> [Linker error] undefined reference to `CLSID_DirectPlay8Peer'
> [Linker error] undefined reference to `CoCreateInstance@20'
> [Linker error] undefined reference to
> `DXUtil_ConvertWideStringToGeneric(char *, unsigned wchar_t const *, int)'
> [Linker error] undefined reference to
> `MessageHandler__17CNetConnectWizardPvUlT1@16'
>
> any ideas? I know I'm missing some library, but how can I find out which
> one?
>
> thanks!!
>
> Stein Nygård - http://steinware.dk
> [Being powerful is like being a lady... If you have to tell people you
are,
> you aren't]
>
> -------------------------------------------------------
> 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
-------------------------------------------------------
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: Carlos d. M. <cg...@wo...> - 2002-11-12 10:30:51
|
You may have missed -ldxguid =3D?iso-8859-1?Q?Stein_Nyg=3DE5rd?=3D escribi=F3: > Hi again... > > [Linker error] undefined reference to `IID_IDirectPlay8Peer' > [Linker error] undefined reference to `CLSID_DirectPlay8Peer' > [Linker error] undefined reference to `CoCreateInstance@20' > [Linker error] undefined reference to > `DXUtil_ConvertWideStringToGeneric(char *, unsigned wchar_t const *, in= t)' > [Linker error] undefined reference to > `MessageHandler__17CNetConnectWizardPvUlT1@16' > > any ideas? I know I'm missing some library, but how can I find out whic= h > one? > > thanks!! > > Stein Nyg=E5rd - http://steinware.dk > [Being powerful is like being a lady... If you have to tell people you = are, > you aren't] > > ------------------------------------------------------- > 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: <st...@nu...> - 2002-11-12 10:17:30
|
Hi again...
[Linker error] undefined reference to `IID_IDirectPlay8Peer'
[Linker error] undefined reference to `CLSID_DirectPlay8Peer'
[Linker error] undefined reference to `CoCreateInstance@20'
[Linker error] undefined reference to
`DXUtil_ConvertWideStringToGeneric(char *, unsigned wchar_t const *, int)'
[Linker error] undefined reference to
`MessageHandler__17CNetConnectWizardPvUlT1@16'
any ideas? I know I'm missing some library, but how can I find out which
one?
thanks!!
Stein Nygård - http://steinware.dk
[Being powerful is like being a lady... If you have to tell people you are,
you aren't]
|
|
From: Yeoh H. <ye...@ye...> - 2002-11-12 06:13:17
|
Hi, I've seen this before in some of my projects. Is this the first time you're compiling this project? Have you tried to "clean" and then do a "rebuild all"? I did a clean and then rebuild all.This works for me. Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: Tina To: dev...@li... Sent: Tuesday, November 12, 2002 1:12 PM Subject: [Dev-C++] comp When i try to compile, nothing happens, this is what the compiler log is writing <snipped> |
|
From: Yeoh H. <ye...@ye...> - 2002-11-12 05:15:50
|
Hi again, Sorry for my earlier e-mail. It was accidentally sent before I could finish editing it. Although the exe was created, when I run the program, the output is a window titled Hello but the window background was black. The polygon wasn't displayed. Do you have the same output? Regards, Yeoh -- |
|
From: Tina <ti...@td...> - 2002-11-12 05:12:16
|
When i try to compile, nothing happens, this is what the compiler log is = writing Compiling files : C:\DEV-C_~1\Bin\g++ c:\windows\skrive~1\hej.cpp -o = c:\windows\skrive~1\Hej.exe -lobjc -ggdb -IC:\DEV-C_~1\Include\ = -IC:\DEV-C_~1\Include\ -IC:\DEV-C_~1\Include\ -LC:\DEV-C_~1\Lib\ = -BC:\DEV-C_~1\Bin\=20 can anybody see why the compiler dosen=B4t make an exe file? Tina |
|
From: Yeoh H. <ye...@ye...> - 2002-11-12 04:11:51
|
Hi Samuel, This is also my first try at OpenGL. :-) Your code does compile but first you need some changes. Here's how I did it. I created a new OpenGL project using Dev-C++ 4.9.6.8. Select the OpenGL template, and Dev-C++ creates the application. Then I remove the template source file and created a new blank file. I copy and pasted your example code into the editor and made some changes to the first four lines. Here it is: #include <windows.h> #include <gl/gl.h> #include <gl/glut.h> I've deleted #include <cstdlib>. You see that I've included the Windows header file and the glut header file. The rest of the code I leave untouched. Then, in the Project Option dialog, Linker Options/Optional Libs or Object files: The textbox should show: -lopengl32 -lglut32 I've added -lglut32. The program now compiles without any errors. But when I try to run it, there's an error. A required DLL file, GLUT32.DLL was not found. I ran a search but couldn't find glut32.dll anywhere in my harddisks. So I did an google search and found this site: http://www.xmission.com/~nate/glut.html The DLL is found in here: http://www.xmission.com/~nate/glut/glut-3.7.6-bin.zip The program now does run. :-) Hope this helps. Thanks and Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Samuel Keding" <big...@ya...> To: <dev...@li...> Sent: Tuesday, November 12, 2002 10:52 AM Subject: [Dev-C++] openGl > This is my first OpenGL. I'm using the book OpenGL > Programming Guide which uses C, but I'm using C++. I > tried to compile the following program in Dev. It > brings up hundreds of compiler errors. I believe it is > a left out include file or a missing linker switch. > Sorry if it seems obvious but this is my first try at > OpenGL. Here is the code: <snipped> |
|
From: Samuel K. <big...@ya...> - 2002-11-12 02:52:18
|
This is my first OpenGL. I'm using the book OpenGL
Programming Guide which uses C, but I'm using C++. I
tried to compile the following program in Dev. It
brings up hundreds of compiler errors. I believe it is
a left out include file or a missing linker switch.
Sorry if it seems obvious but this is my first try at
OpenGL. Here is the code:
#include <gl/gl.h>
#include <cstdlib>
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1.0,1.0,1.0);
glBegin(GL_POLYGON);
glVertex3f(0.25, 0.25, 0.0);
glVertex3f(0.25, 0.25, 0.0);
glVertex3f(0.25, 0.25, 0.0);
glVertex3f(0.25, 0.25, 0.0);
glEnd();
glFlush();
};
void init()
{
glClearColor(0.0, 0.0, 0.0, 0.0);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0.0,1.0, 0.0, 1.0, -1.0, 1.0);
};
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize(250, 250);
glutCreateWindow("hello");
init();
glutDisplayFunc(display);
glutMainLoop();
return 0;
}
Dev reports the errors in the gl.h. Many of them have
something to do with WINGDIAPI declarations. I do not
know why the cstdlib library is needed. It was in the
example of the book though. I just switched it for c++
because the book had it written for c which was
stdlib.h. Thanks in advance for your help.
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
|
|
From: Danny A. <tam...@ms...> - 2002-11-12 00:42:48
|
I was wondering if it is possible to get the ios header file. I'm trying= to work with common manipulators in a simple program and I keeping getti= ng "ios no such file or directory." So i looked in my include files and = sure enough no such file. I sent a previous message with the wrong code = in it replace the <ios646> with <ios> and it would be correct. Thanks in advance for any help and please excuse my ignorance concerning = this matter. |
|
From: Danny A. <tam...@ms...> - 2002-11-12 00:27:12
|
Could someone tell me if ios header file is suppose to exist in Dev C++? =
When I try to compile the code below I get the error that ios does not e=
xist.
#include <iostream>
#include <iso646>
using namespace std;
int main(void)
{
cout << "Default True, False \n"
<< true << " " << false << endl;
=20
cout.setf(ios::boolalpha);
cout << "\nwith ios::boolalpha:\n"
<< true << " " << false << endl;
=20
cout << "\n140 in hex\n";
cout.setf(ios::hex, ios::basefield);
cout.setf(ios::showbase);
cout << 140 << endl;
=20
float f[2] =3D {1.0f, 775.374f};
=20
cout << "\nDefault numeric formula\n"
<< f[0] << endl
<< f[1] << endl;
=20
cout.setf(ios::showpos);
cout << "\nand with shopos\n"
<< f[0] << endl
<< f[1] << endl;
=20
//indicates that cout should always use 6 digit precision
cout.setf(ios::fixed);
cout << "\nand with a precision of 6\n"
<< f[0] << endl
<< f[1] << endl;
//system pause
char end;
cin >> end;
return 0;
}
|
|
From: Brian C. B. <bri...@ho...> - 2002-11-11 22:39:19
|
Hi Kenneth, > Thank you for your prompt response. I fear though, that I should have > specified the version of Dev-c++ I am using. It is version 4, and I do not > see any such option or tab. I did take a look in the .ini file under > dev-c++'s main directory, and there is a 'comment' entry in there, but the > numerical values for that entry don't mean much on their own. I'd d/l the > beta version but I did that a few months ago, and it was missing quite a lot > compared to the release build. Hmm, I guess a prompt, but incorrect response isn't worth much, is it? As for you using the V4 of Dev-C++, that possibility didn't even enter my mind. A quick search through the option reveals only how to change the color of the comments, not the styles. Unless somebody can help you out, it seems your options are to either leave well enough alone or upgrade. I'd suggest the upgrade. A lot has happened in the last few months, and latest Dev-C++ 5 Beta (4.9.6.8) is very stable in my opinion (some of the very latest features have minor quirks, but nothing serious). It also packs a lot more features (such as the Styles for various syntax items). About mid-summer, I my opinion was similars to yours: this product is too buggy to work well, so I stayed with V4. But after a while, I kept track of the features and improvements, and about 2 months ago, I decided that V5 Beta's potential and features looked too promising to pass up. So far, I've been very satisfied with the switch. However, maybe somebody else can help you where I cannot. Sincerely, Brian C. Becker Shall we accept good from God, and not trouble? |
|
From: Matthews <dem...@uw...> - 2002-11-11 22:22:50
|
Hmm, I added all those options to my linker and I still have the same error. I'm also compiling as a windows app, with the "int argc, char *argv[]" that's required, and I've also included the -mwindows tag. I don't seem to have a libSDLmain.a anywhere though, I'm going to try to find it. At 12:08 PM 10/11/2002 +0100, you wrote: >You must compile it as a console application and pass -lmingw32 -lSDLmain -lSDL >to the linker options > >Matthews escribi=F3: > >> I have a strange error when attempting to use the SDL libraries >> (www.libsdl.org) I've configured everything right, downloaded the= complete >> package with all the libraries, include files, etc. yet when I attempt to >> compile the sample SDL program (with -lsdl) I get the error [Linker= error] >> Unknown reference to `WinMain@16' What's wrong? >> >> ------------------------------------------------------- >> 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 > > > >------------------------------------------------------- >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 > |