dev-cpp-users Mailing List for Dev-C++ (Page 254)
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: Emiliano <sky...@fa...> - 2004-02-08 22:50:08
|
Hi there people, I hope not to be off topic asking this: changing Dev-Cpp compiler options, is there a way to include some binary data and also a .dll into an executable file? I'm new to windows programming, not at all to C/assembler programming in general. Thank you for your attention, best regards Emiliano Esposito |
|
From: FABIAN H. <fhu...@ho...> - 2004-02-08 22:32:55
|
Hello! i have a question about c++, how can I declare that an object A has a reference to an object B, and this object B has a reference to A? it this posible. Thanks for the attention. _________________________________________________________________ MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/ |
|
From: <wa...@wa...> - 2004-02-08 07:21:52
|
On 7 Feb 2004 at 8:46, Ray Kulhanek wrote: > "Mats Lidstrom" wrote: > > In that case why does it say "Edit and compile Resource files " on > > the dev-cpp page http://www.bloodshed.net/dev/devcpp.html if it's > > not something dev-cpp offers? > > I was under the impression that that just meant "edit manually" (as a > textfile), however it's possible I've missed something. Actually, I was thinking the same thing. Watson (the pencil neck) Davis |
|
From: Mats L. <mat...@to...> - 2004-02-07 15:12:53
|
From: "Ray Kulhanek" <he...@er...> > They don't get added to the menu automatically. You can find them in > Dev-Cpp/bin/ > The FLTK one is called Fluid.exe; I don't see one in WxWindows; maybe it > wasn't included in the DevPak version I downloaded last... > You can get a list of all files in a DevPak by using the Package Manager. > Select the > installed package you're interested in, and click the files tab. If a > resource editor > is included, it'll be a .exe > You can add things to the (tools) menu by going to the tools > menu/configure tools, then > clicking "add" and filling out the required fields. Thanks for the info! I'm sure I'll get a hang of it now. What confused me to start with was that I thought the resource editor was something built into the IDE. /M |
|
From: Mats L. <mat...@to...> - 2004-02-07 15:08:56
|
From: "Ed Cottrell" <em...@ed...> > The .rc files you're talking about are resource files generated by Dev-Cpp; > they are not where you want to put your own resource definitions. To define > your own resources, simply create a new .rc file and include it in your > project. I found that out and made a resource file. The problem is that I get some error with a path, but I'll fix that. Thanks :) /M |
|
From: Ray K. <he...@er...> - 2004-02-07 13:46:58
|
"Mats Lidstrom" wrote: > In that case why does it say "Edit and compile Resource files " on the > dev-cpp page http://www.bloodshed.net/dev/devcpp.html if it's not=20 > something > dev-cpp offers? I was under the impression that that just meant "edit manually" (as a=20 textfile), however it's possible I've missed something. > It's even discouraged if you check an .rc file. The text > says "This file will be overwritten by dev-c++! Do not edit!" I think Dev creates those files when you assign an icon to the project. (You can do that from Project Options, but I guess you already figured=20 that out.) You can also create rc files yourself, and Dev won't overwrite them. > And I've installed all the DevPaks and I still can't find a resource=20 > editor. > Maybe you get one with the wxWindows that comes with the update=20 > function? I > installed a newer one (2.4.2 by Michel Weinachter) to be more up-to-dat= e. They don't get added to the menu automatically. You can find them in=20 Dev-Cpp/bin/ The FLTK one is called Fluid.exe; I don't see one in WxWindows; maybe it wasn't included in the DevPak version I downloaded last... You can get a list of all files in a DevPak by using the Package Manager.= =20 Select the installed package you're interested in, and click the files tab. If a=20 resource editor is included, it'll be a .exe You can add things to the (tools) menu by going to the tools=20 menu/configure tools, then clicking "add" and filling out the required fields. |
|
From: Chris <to...@de...> - 2004-02-07 12:31:51
|
Hi all,
I'm a newbie at C++ so these are probably simple answers, but I can't
work them out.
My first problem is if I don't pass an argument to the script (and
instead prompt for it), when I print it out I get weird results - which
means I can't access the filename that I type in.
My second problem is I can't work out why
tablename = strstr(line, find_string);
doesn't actually get the tablename.
Everything compiles ok, compiler is
g++ (GCC) 3.3.3 20031229 (prerelease) (Debian)
Thanks for any help offered.
The file I'm trying to parse is a simple mysql dump:
=========
DROP TABLE IF EXISTS table_a;
CREATE TABLE table_a (
a int
);
=========
My code looks like this:
==============================
#include "iostream"
#include "fstream"
#define DEBUG 1
using namespace std;
enum { SUCCESS, FAILURE };
void printDebugMsg(char * msg);
void printDebugMsg(char * msg)
{
// Should we be printing a msg? (is DEBUG on?)
// No? return.
#ifdef DEBUG
cout << "DEBUG MSG: " << msg << endl;
#endif
}
int main(int argc, char **argv)
{
char * dbdump_filename[1024];
if (argc > 1)
{
if (argc >= 2)
{
*dbdump_filename = argv[1];
}
} else {
/*
Passing in the dbdump_filename in as an argument works.
But, this isn't working. Although '*dbdump_filename' seems to hold the
right value,
it actually looks like a pointer (not an memory address though!)
when you try to open the file.
:/
*/
cout << "Enter db dump filename: ";
char db_filename[1024];
cin.getline(db_filename, 1024);
*dbdump_filename = db_filename;
}
char debugMsg[1024];
cout << "Db filename: " << *dbdump_filename << endl;
ifstream fp;
fp.open(*dbdump_filename);
if (!fp.is_open())
{
cout << "Unable to open file " << *dbdump_filename << endl;
return FAILURE;
}
cout << "Opening file " << *dbdump_filename << ".." << endl;
int bufferSize = 10240;
char line[bufferSize];
char * tablename;
char find_string[] = "CREATE TABLE";
while (!fp.eof()) {
fp.getline(line, bufferSize);
// printDebugMsg(line);
tablename = strstr(line, find_string);
cout << "Table Name: " << tablename;
cout << endl;
}
fp.close();
cout << endl;
return SUCCESS;
}
|
|
From: Michal M. <mol...@se...> - 2004-02-07 11:30:46
|
Ed Cottrell wrote: > Michal, the questioner was Mats, not me :-) > The .rc files you're talking about are resource files generated by Dev-Cpp; > they are not where you want to put your own resource definitions. To define > your own resources, simply create a new .rc file and include it in your > project. |
|
From: Ed C. <em...@ed...> - 2004-02-07 04:19:42
|
Michal, The .rc files you're talking about are resource files generated by Dev-Cpp; they are not where you want to put your own resource definitions. To define your own resources, simply create a new .rc file and include it in your project. -Ed -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Mats Lidstrom Sent: Friday, February 06, 2004 2:50 PM To: dev...@li... Subject: Re: [Dev-C++] Where is the Resource Editor? From: "Michal Molhanec" <mol...@se...> > Mats Lidstrom wrote: > > In that case why does it say "Edit and compile Resource files " on the > > dev-cpp page http://www.bloodshed.net/dev/devcpp.html if it's not something > > dev-cpp offers? > > but you can edit and compile resource files but there is not written > that dev-c++ has _visual_ resource editor I haven't tried, but the .rc-file says "This file will be overwritten by dev-c++! Do not edit!". Somehow I think I haven't really understood the .rc-files. I'll do some more experimenting with it. /M ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Mats L. <mat...@to...> - 2004-02-06 19:48:56
|
From: "Michal Molhanec" <mol...@se...> > Mats Lidstrom wrote: > > In that case why does it say "Edit and compile Resource files " on the > > dev-cpp page http://www.bloodshed.net/dev/devcpp.html if it's not something > > dev-cpp offers? > > but you can edit and compile resource files but there is not written > that dev-c++ has _visual_ resource editor I haven't tried, but the .rc-file says "This file will be overwritten by dev-c++! Do not edit!". Somehow I think I haven't really understood the .rc-files. I'll do some more experimenting with it. /M |
|
From: Michal M. <mol...@se...> - 2004-02-06 19:03:25
|
Mats Lidstrom wrote: > In that case why does it say "Edit and compile Resource files " on the > dev-cpp page http://www.bloodshed.net/dev/devcpp.html if it's not something > dev-cpp offers? but you can edit and compile resource files but there is not written that dev-c++ has _visual_ resource editor |
|
From: <or...@vp...> - 2004-02-06 18:51:57
|
THE OMEGA7 wrote: > can some one teach me hoe to use the alt and ctrl keys > . what i mean is how to write a c++ code that will > cause some thing to happen when "alt or ctrl" and a > key is held down . *IF* you use Windows, *AND* simple WINAPI, then: using the WINAPI, it sends you messages about keypresses, also about=20 ctrl and alt keys. Look at the winapi help file (downloadable with the=20 Dev-C++ updater) and look for the WM_KEYDOWN and WM_KEYUP messages, and=20 also take a look at "Virtual-Key Codes" to know what to check for. -- Greetings, Bal=E1zs |
|
From: Mats L. <mat...@to...> - 2004-02-06 18:35:48
|
----- Original Message ----- From: "andre" <bo...@wa...> > Thanks watson i received the information from Mats. > Everything's right Except that it was supposed to go to the mailing list! I wish they could fix that "Reply-To" field in the mail header! gaaaaah Anyway... here it is for anyone else that got a similar problem: Snipped from http://sourceforge.net/forum/message.php?msg_id=2256328 " (3) Find and remove devcpp.ini and devcpp.cfg. In Windows 9x this is easy, they are in the Dev directory. For the other Windows - 2000, XP, NT - it is a little harder, as they are placed in a directory that Windows calls hidden. On this computer, the are in: c:\documents and settings\username\local settings\application data You can find them with Windows search, if you remember to click the box that says look in hidden folders. It is VITAL that these files be removed, as they contain information about your current install. If this information is still there when you re-install, it can foul things up again. Please, if you have XP, 2000 etc., the files ARE there. Do not answer that the files were not on my machine. " /M |
|
From: Mats L. <mat...@to...> - 2004-02-06 18:26:49
|
In that case why does it say "Edit and compile Resource files " on the dev-cpp page http://www.bloodshed.net/dev/devcpp.html if it's not something dev-cpp offers? It's even discouraged if you check an .rc file. The text says "This file will be overwritten by dev-c++! Do not edit!" And I've installed all the DevPaks and I still can't find a resource editor. Maybe you get one with the wxWindows that comes with the update function? I installed a newer one (2.4.2 by Michel Weinachter) to be more up-to-date. /M From: "Ray Kulhanek" <he...@er...> > There are DevPaks for a variety of GUI toolkits. Each of these toolkits > would use a different syntax in its resource file (assuming it has one). > Some of these toolkits will come with a resource editor; some don't. > (I think wxwindows and FLTK both do.) |
|
From: Per W. <pw...@ia...> - 2004-02-06 17:52:58
|
Add -lpng -ljpeg -ltiff to the linker options. /Per W On Fri, 6 Feb 2004, [big5] man man wrote: > I have finished to install Dev-C++ 5.0 beta 8 (4.9.8.7), and the package = about wxWindows 2.4.0 and imagelib DevPaks from http://michel.weinachter.fr= ee.fr/ > > After installing and updating, i started to create the wxwindows(GUI) pro= ject. i add the wizard program to the project. (wizard program is wxwindows= example that may get from wxwindows example folder or on wxwindows homepag= e). Then i compile the program, a set of error occur. But this program can = work at another tool "MinGW Developer Studio". > I want to ask what happen?? > Do me need to make change on the Dev tool?? > > The error result is at appendix. > > Appendix > Compiler: Default compiler > Building Makefile: "C:\model\Makefile.win" > Executing make... > make.exe -f "C:\model\Makefile.win" all > g++.exe -c main.cpp -o main.o -I"C:/Program Files/Dev-Cpp/include/c++" -= I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program Files/Dev-Cp= p/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include" -DWINVER=3D0x= 0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DHAVE_W32API_H -D__WXMSW__ -D= __WINDOWS__ -Wall -fno-pcc-struct-return -O2 -Os -fno-rtti -fno-exceptions > g++.exe -c ServerAdd_D.cpp -o ServerAdd_D.o -I"C:/Program Files/Dev-Cpp/i= nclude/c++" -I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Progra= m Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include"= -DWINVER=3D0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DHAVE_W32API_H = -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -Os -fno-rtti -f= no-exceptions > g++.exe -c ServerPanel.cpp -o ServerPanel.o -I"C:/Program Files/Dev-Cpp/i= nclude/c++" -I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Progra= m Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include"= -DWINVER=3D0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DHAVE_W32API_H = -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -Os -fno-rtti -f= no-exceptions > windres.exe -i Project1_private.rc -I rc -o Project1_private.res -O coff > g++.exe main.o ServerAdd_D.o ServerPanel.o Project1_private.res -o "Proje= ct1.exe" -L"C:/Program Files/Dev-Cpp/lib" -mwindows -Wl,--subsystem,windows= -mwindows -lwxmsw -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -ls= hell32 -lcomctl32 -lctl3d32 -ladvapi32 -lopengl32 -lglu32 -lole32 -loleaut3= 2 -luuid > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0xd5):imagpng.cp= p: undefined reference to `png_get_io_ptr' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0xf5):imagpng.cp= p: undefined reference to `png_get_io_ptr' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x119):imagpng.c= pp: undefined reference to `png_get_io_ptr' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x178):imagpng.c= pp: undefined reference to `png_get_io_ptr' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x257):imagpng.c= pp: undefined reference to `png_create_read_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x2a0):imagpng.c= pp: undefined reference to `png_destroy_read_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x2c2):imagpng.c= pp: undefined reference to `png_destroy_read_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x313):imagpng.c= pp: undefined reference to `png_set_error_fn' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x321):imagpng.c= pp: undefined reference to `png_set_read_fn' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x329):imagpng.c= pp: undefined reference to `png_create_info_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x35c):imagpng.c= pp: undefined reference to `png_read_info' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x37f):imagpng.c= pp: undefined reference to `png_get_IHDR' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x39e):imagpng.c= pp: undefined reference to `png_set_strip_16' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x3a6):imagpng.c= pp: undefined reference to `png_set_packing' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x3b3):imagpng.c= pp: undefined reference to `png_get_valid' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x3cd):imagpng.c= pp: undefined reference to `png_set_filler' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x43a):imagpng.c= pp: undefined reference to `png_read_image' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x445):imagpng.c= pp: undefined reference to `png_read_end' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x454):imagpng.c= pp: undefined reference to `png_destroy_read_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x5ee):imagpng.c= pp: undefined reference to `png_set_expand' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x5fc):imagpng.c= pp: undefined reference to `png_set_expand' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x60a):imagpng.c= pp: undefined reference to `png_set_expand' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x652):imagpng.c= pp: undefined reference to `png_create_write_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6a7):imagpng.c= pp: undefined reference to `png_set_error_fn' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6af):imagpng.c= pp: undefined reference to `png_create_info_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6d2):imagpng.c= pp: undefined reference to `png_destroy_write_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6ec):imagpng.c= pp: undefined reference to `png_set_write_fn' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x717):imagpng.c= pp: undefined reference to `png_set_IHDR' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x736):imagpng.c= pp: undefined reference to `png_set_sBIT' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x741):imagpng.c= pp: undefined reference to `png_write_info' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x74a):imagpng.c= pp: undefined reference to `png_set_shift' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x752):imagpng.c= pp: undefined reference to `png_set_packing' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x83b):imagpng.c= pp: undefined reference to `png_write_rows' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x857):imagpng.c= pp: undefined reference to `png_write_end' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x864):imagpng.c= pp: undefined reference to `png_destroy_write_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x879):imagpng.c= pp: undefined reference to `png_destroy_write_struct' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x20a):imagjpeg= =2Ecpp: undefined reference to `jpeg_resync_to_restart' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x297):imagjpeg= =2Ecpp: undefined reference to `jpeg_std_error' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x2e9):imagjpeg= =2Ecpp: undefined reference to `jpeg_destroy_decompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x349):imagjpeg= =2Ecpp: undefined reference to `jpeg_CreateDecompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x35a):imagjpeg= =2Ecpp: undefined reference to `jpeg_read_header' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x36a):imagjpeg= =2Ecpp: undefined reference to `jpeg_start_decompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x396):imagjpeg= =2Ecpp: undefined reference to `jpeg_finish_decompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x39c):imagjpeg= =2Ecpp: undefined reference to `jpeg_destroy_decompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x3f2):imagjpeg= =2Ecpp: undefined reference to `jpeg_finish_decompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x3f8):imagjpeg= =2Ecpp: undefined reference to `jpeg_destroy_decompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x416):imagjpeg= =2Ecpp: undefined reference to `jpeg_read_scanlines' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x555):imagjpeg= =2Ecpp: undefined reference to `jpeg_std_error' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x59c):imagjpeg= =2Ecpp: undefined reference to `jpeg_destroy_compress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x5e2):imagjpeg= =2Ecpp: undefined reference to `jpeg_CreateCompress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x627):imagjpeg= =2Ecpp: undefined reference to `jpeg_set_defaults' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x686):imagjpeg= =2Ecpp: undefined reference to `jpeg_start_compress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x6b4):imagjpeg= =2Ecpp: undefined reference to `jpeg_finish_compress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x6ba):imagjpeg= =2Ecpp: undefined reference to `jpeg_destroy_compress' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x6e5):imagjpeg= =2Ecpp: undefined reference to `jpeg_write_scanlines' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x732):imagjpeg= =2Ecpp: undefined reference to `jpeg_set_quality' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x1dc):imagtiff= =2Ecpp: undefined reference to `TIFFClientOpen' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x212):imagtiff= =2Ecpp: undefined reference to `TIFFClientOpen' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x2de):imagtiff= =2Ecpp: undefined reference to `TIFFSetDirectory' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x2f0):imagtiff= =2Ecpp: undefined reference to `TIFFClose' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x332):imagtiff= =2Ecpp: undefined reference to `TIFFGetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x341):imagtiff= =2Ecpp: undefined reference to `TIFFGetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x351):imagtiff= =2Ecpp: undefined reference to `_TIFFmalloc' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x387):imagtiff= =2Ecpp: undefined reference to `_TIFFfree' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x3c4):imagtiff= =2Ecpp: undefined reference to `TIFFReadRGBAImage' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x3d7):imagtiff= =2Ecpp: undefined reference to `_TIFFfree' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x495):imagtiff= =2Ecpp: undefined reference to `_TIFFfree' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x49b):imagtiff= =2Ecpp: undefined reference to `TIFFClose' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x56d):imagtiff= =2Ecpp: undefined reference to `TIFFReadDirectory' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x578):imagtiff= =2Ecpp: undefined reference to `TIFFClose' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x5fc):imagtiff= =2Ecpp: undefined reference to `TIFFSetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x612):imagtiff= =2Ecpp: undefined reference to `TIFFSetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x61f):imagtiff= =2Ecpp: undefined reference to `TIFFSetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x62f):imagtiff= =2Ecpp: undefined reference to `TIFFSetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x63c):imagtiff= =2Ecpp: undefined reference to `TIFFSetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x649):imagtiff= =2Ecpp: more undefined references to `TIFFSetField' follow > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x677):imagtiff= =2Ecpp: undefined reference to `TIFFScanlineSize' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x691):imagtiff= =2Ecpp: undefined reference to `TIFFDefaultStripSize' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x69f):imagtiff= =2Ecpp: undefined reference to `TIFFSetField' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x6f3):imagtiff= =2Ecpp: undefined reference to `TIFFWriteScanline' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x71a):imagtiff= =2Ecpp: undefined reference to `TIFFClose' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x729):imagtiff= =2Ecpp: undefined reference to `_TIFFfree' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x768):imagtiff= =2Ecpp: undefined reference to `TIFFClose' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x777):imagtiff= =2Ecpp: undefined reference to `_TIFFfree' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x785):imagtiff= =2Ecpp: undefined reference to `TIFFScanlineSize' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x78d):imagtiff= =2Ecpp: undefined reference to `_TIFFmalloc' > C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x7a5):imagtiff= =2Ecpp: undefined reference to `TIFFClose' > make.exe: *** [Project1.exe] Error 1 > Execution terminated > > > =A5=B2=B1=FE=A7=DE=A1B=B6=BC=BAq=A1B=A4p=ACP=ACP... > =AE=F6=BA=A9=B9a=C1n =B1=A1=A4=DF=B3s=C3=B4 > http://ringtone.yahoo.com.hk/ > |
|
From: Kevin B. <kev...@ma...> - 2004-02-06 17:52:24
|
You don't have the libraries for the image stuff like png and jpeg included in your link list. Add -lpng -lzlib -ljpeg -ltiff to your linker parameters. You can do it either in Project Options or Tools | Compiler Options, depending on whether you want it to be project-local or global. Sometimes it matters what order you put libraries; I generally stick these after the -lwxmsw parameter. Did you also install the ImageLib devpak that gets distributed with wxWindows devpak? If the libraries don't exist, obviously, adding the parameters won't help. --- Kevin |
|
From: Jay B. <jay...@ni...> - 2004-02-06 16:52:32
|
[snip] can some one teach me hoe to use the alt and ctrl keys . what i mean is how to write a c++ code that will cause some thing to happen when "alt or ctrl" and a key is held down . [/snip] You really need to hit a C++ list for something like this. This list is for the DevC++ application....and have you googled for the question? |
|
From: <wa...@wa...> - 2004-02-06 16:33:38
|
On 6 Feb 2004 at 11:13, THE OMEGA7 wrote: > hi, > > can some one teach me hoe to use the alt and ctrl keys > . what i mean is how to write a c++ code that will > cause some thing to happen when "alt or ctrl" and a > key is held down . Any specific operating system? Watson (the pencil neck) Davis |
|
From: <wa...@wa...> - 2004-02-06 16:32:23
|
On 6 Feb 2004 at 13:42, Mats Lidstrom wrote: > From: <wa...@wa...> > > This e-mail client sometimes sends to the person instead of the list > > and sometimes I forget to check which way it's set. > > I think it's the mailing list script that needs some working on. The > mails are missing the "Reply-To" field in the mail headers. It should > say dev...@li... there. Right now it replies to > whoever is on the "From" field. Very irritating on a mailing list. Whew. I thought I'd just configured something wrong. My e-mail clients seem to work fine with other mailing lists, but this one... <shrug> Watson (the pencil neck) Davis |
|
From: <onw...@ya...> - 2004-02-06 16:13:32
|
hi, can some one teach me hoe to use the alt and ctrl keys . what i mean is how to write a c++ code that will cause some thing to happen when "alt or ctrl" and a key is held down . thanks ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |
|
From: <pw...@ya...> - 2004-02-06 15:53:41
|
I have finished to install Dev-C++ 5.0 beta 8 (4.9.8.7), and the package about wxWindows 2.4.0 and imagelib DevPaks from http://michel.weinachter.free.fr/ After installing and updating, i started to create the wxwindows(GUI) project. i add the wizard program to the project. (wizard program is wxwindows example that may get from wxwindows example folder or on wxwindows homepage). Then i compile the program, a set of error occur. But this program can work at another tool "MinGW Developer Studio". I want to ask what happen?? Do me need to make change on the Dev tool?? The error result is at appendix. Appendix Compiler: Default compiler Building Makefile: "C:\model\Makefile.win" Executing make... make.exe -f "C:\model\Makefile.win" all g++.exe -c main.cpp -o main.o -I"C:/Program Files/Dev-Cpp/include/c++" -I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include" -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -Os -fno-rtti -fno-exceptions g++.exe -c ServerAdd_D.cpp -o ServerAdd_D.o -I"C:/Program Files/Dev-Cpp/include/c++" -I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include" -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -Os -fno-rtti -fno-exceptions g++.exe -c ServerPanel.cpp -o ServerPanel.o -I"C:/Program Files/Dev-Cpp/include/c++" -I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include" -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -Os -fno-rtti -fno-exceptions windres.exe -i Project1_private.rc -I rc -o Project1_private.res -O coff g++.exe main.o ServerAdd_D.o ServerPanel.o Project1_private.res -o "Project1.exe" -L"C:/Program Files/Dev-Cpp/lib" -mwindows -Wl,--subsystem,windows -mwindows -lwxmsw -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0xd5):imagpng.cpp: undefined reference to `png_get_io_ptr' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0xf5):imagpng.cpp: undefined reference to `png_get_io_ptr' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x119):imagpng.cpp: undefined reference to `png_get_io_ptr' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x178):imagpng.cpp: undefined reference to `png_get_io_ptr' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x257):imagpng.cpp: undefined reference to `png_create_read_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x2a0):imagpng.cpp: undefined reference to `png_destroy_read_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x2c2):imagpng.cpp: undefined reference to `png_destroy_read_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x313):imagpng.cpp: undefined reference to `png_set_error_fn' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x321):imagpng.cpp: undefined reference to `png_set_read_fn' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x329):imagpng.cpp: undefined reference to `png_create_info_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x35c):imagpng.cpp: undefined reference to `png_read_info' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x37f):imagpng.cpp: undefined reference to `png_get_IHDR' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x39e):imagpng.cpp: undefined reference to `png_set_strip_16' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x3a6):imagpng.cpp: undefined reference to `png_set_packing' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x3b3):imagpng.cpp: undefined reference to `png_get_valid' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x3cd):imagpng.cpp: undefined reference to `png_set_filler' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x43a):imagpng.cpp: undefined reference to `png_read_image' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x445):imagpng.cpp: undefined reference to `png_read_end' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x454):imagpng.cpp: undefined reference to `png_destroy_read_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x5ee):imagpng.cpp: undefined reference to `png_set_expand' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x5fc):imagpng.cpp: undefined reference to `png_set_expand' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x60a):imagpng.cpp: undefined reference to `png_set_expand' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x652):imagpng.cpp: undefined reference to `png_create_write_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6a7):imagpng.cpp: undefined reference to `png_set_error_fn' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6af):imagpng.cpp: undefined reference to `png_create_info_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6d2):imagpng.cpp: undefined reference to `png_destroy_write_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x6ec):imagpng.cpp: undefined reference to `png_set_write_fn' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x717):imagpng.cpp: undefined reference to `png_set_IHDR' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x736):imagpng.cpp: undefined reference to `png_set_sBIT' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x741):imagpng.cpp: undefined reference to `png_write_info' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x74a):imagpng.cpp: undefined reference to `png_set_shift' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x752):imagpng.cpp: undefined reference to `png_set_packing' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x83b):imagpng.cpp: undefined reference to `png_write_rows' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x857):imagpng.cpp: undefined reference to `png_write_end' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x864):imagpng.cpp: undefined reference to `png_destroy_write_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagpng.o)(.text+0x879):imagpng.cpp: undefined reference to `png_destroy_write_struct' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x20a):imagjpeg.cpp: undefined reference to `jpeg_resync_to_restart' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x297):imagjpeg.cpp: undefined reference to `jpeg_std_error' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x2e9):imagjpeg.cpp: undefined reference to `jpeg_destroy_decompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x349):imagjpeg.cpp: undefined reference to `jpeg_CreateDecompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x35a):imagjpeg.cpp: undefined reference to `jpeg_read_header' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x36a):imagjpeg.cpp: undefined reference to `jpeg_start_decompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x396):imagjpeg.cpp: undefined reference to `jpeg_finish_decompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x39c):imagjpeg.cpp: undefined reference to `jpeg_destroy_decompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x3f2):imagjpeg.cpp: undefined reference to `jpeg_finish_decompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x3f8):imagjpeg.cpp: undefined reference to `jpeg_destroy_decompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x416):imagjpeg.cpp: undefined reference to `jpeg_read_scanlines' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x555):imagjpeg.cpp: undefined reference to `jpeg_std_error' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x59c):imagjpeg.cpp: undefined reference to `jpeg_destroy_compress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x5e2):imagjpeg.cpp: undefined reference to `jpeg_CreateCompress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x627):imagjpeg.cpp: undefined reference to `jpeg_set_defaults' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x686):imagjpeg.cpp: undefined reference to `jpeg_start_compress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x6b4):imagjpeg.cpp: undefined reference to `jpeg_finish_compress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x6ba):imagjpeg.cpp: undefined reference to `jpeg_destroy_compress' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x6e5):imagjpeg.cpp: undefined reference to `jpeg_write_scanlines' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagjpeg.o)(.text+0x732):imagjpeg.cpp: undefined reference to `jpeg_set_quality' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x1dc):imagtiff.cpp: undefined reference to `TIFFClientOpen' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x212):imagtiff.cpp: undefined reference to `TIFFClientOpen' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x2de):imagtiff.cpp: undefined reference to `TIFFSetDirectory' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x2f0):imagtiff.cpp: undefined reference to `TIFFClose' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x332):imagtiff.cpp: undefined reference to `TIFFGetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x341):imagtiff.cpp: undefined reference to `TIFFGetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x351):imagtiff.cpp: undefined reference to `_TIFFmalloc' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x387):imagtiff.cpp: undefined reference to `_TIFFfree' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x3c4):imagtiff.cpp: undefined reference to `TIFFReadRGBAImage' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x3d7):imagtiff.cpp: undefined reference to `_TIFFfree' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x495):imagtiff.cpp: undefined reference to `_TIFFfree' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x49b):imagtiff.cpp: undefined reference to `TIFFClose' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x56d):imagtiff.cpp: undefined reference to `TIFFReadDirectory' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x578):imagtiff.cpp: undefined reference to `TIFFClose' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x5fc):imagtiff.cpp: undefined reference to `TIFFSetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x612):imagtiff.cpp: undefined reference to `TIFFSetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x61f):imagtiff.cpp: undefined reference to `TIFFSetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x62f):imagtiff.cpp: undefined reference to `TIFFSetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x63c):imagtiff.cpp: undefined reference to `TIFFSetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x649):imagtiff.cpp: more undefined references to `TIFFSetField' follow C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x677):imagtiff.cpp: undefined reference to `TIFFScanlineSize' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x691):imagtiff.cpp: undefined reference to `TIFFDefaultStripSize' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x69f):imagtiff.cpp: undefined reference to `TIFFSetField' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x6f3):imagtiff.cpp: undefined reference to `TIFFWriteScanline' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x71a):imagtiff.cpp: undefined reference to `TIFFClose' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x729):imagtiff.cpp: undefined reference to `_TIFFfree' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x768):imagtiff.cpp: undefined reference to `TIFFClose' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x777):imagtiff.cpp: undefined reference to `_TIFFfree' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x785):imagtiff.cpp: undefined reference to `TIFFScanlineSize' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x78d):imagtiff.cpp: undefined reference to `_TIFFmalloc' C:/Program Files/Dev-Cpp/lib/libwxmsw.a(imagtiff.o)(.text+0x7a5):imagtiff.cpp: undefined reference to `TIFFClose' make.exe: *** [Project1.exe] Error 1 Execution terminated 必殺技、飲歌、小星星... 浪漫鈴聲 情心連繫 http://ringtone.yahoo.com.hk/ |
|
From: Daniel W. <dan...@ta...> - 2004-02-06 15:16:00
|
I went to the Download Dev-C++ page, clicked on the go to download page for Dev-C++ 5 (currently beta) link which took me to the download for 4.9.8.0 which continues to give the makefile error. =20 =20 Each time, I uninstalled, manually removed the devcpp.ini & devcpp.cfg files and then rebooted. (Searched through Find Files feature and in DOS just in case they were hiding around anywhere else.) Every time it gave the make file error. =20 =20 I have successfully gone back and installed version 4 after deleting out the files (devcpp.ini & devcpp.cfg) once again. =20 =20 I'm going to see if I can configure the openGL on this version once again. A question about the devPaks, can I use the Package Manager to open them in 4? =20 =20 Thanks,=20 DWW ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of Zonnet Sent: Thursday, February 05, 2004 2:13 PM To: Daniel Watson Cc: Scott Simontis; dev...@li... Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... I really hope you downloaded all of the DevCPP program. I had this once, that also gave strange behaviour. Please read the download side very carefully, as it's not very cleare what to install. Also: the on-line update for the core part of the IDE does not work! It would be helpfull if there was a list of steps on the web-side as to what to do to start using this IDE. wkr, Gerke Daniel Watson wrote: I have uninstalled Dev-C++ and installed from scratch. =20 =09 Okay, uninstalling and installing from scratch seems to be a bad thing.=20 I feel like I'm going backwards. :) =09 =09 Now, with 4.9.8.0, I can't even compile the default examples(File Editor). In my compiler log, it shows...=20 =09 Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Examples\FileEditor\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Examples\FileEditor\Makefile.win" all Execution terminated =09 Then in the compiler tab it shows... =20 2 C:\Dev-Cpp\Examples\FileEditor\2 unable to run program file. =20 Thanks,=20 DWW =09 =09 -----Original Message----- From: Scott Simontis [mailto:age...@co...]=20 Sent: Wednesday, February 04, 2004 4:22 PM To: Daniel Watson Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... =09 If you need it, I can send you my headers to see if that works. Daniel Watson wrote: =09 =20 Scott, I can't thank you enough for your patience and help. I'm really=20 excited about writing my first gui app (other than the browser) and am=20 really lost without the feedback from this mailing list. =09 I also tried using SDL which came up with errors reading anything in=20 the gl directory. I think you're on to something for the parsing the=20 file, I don't think it's reading the file correctly at all. With the=20 lib file it was unable to get passed the first six lines which were a=20 bunch of strange characters. =09 I tried linking the glut32.dll but it didn't change anything. =20 =09 The DevPak asked me what to open it with. (I'm using Windows 2000) =09 I may just try uninstalling Dev-C++ and reinstalling completely. In=20 advance, if that doesn't do it, are there any other suggestions for=20 building graphical applications that doesn't use the gl directories? =09 Since this is my first time building a gui app, I will list the steps=20 I'm doing just in case I'm not doing something or doing something I=20 shouldn't. =09 1) I open Dev-C++ start a new project 2) Bring in the source code 3) Link the gl files needed (as suggested in the heading of the examples) I am using the gui linking feature in the title bar. =20 4) and compile =09 (I have also checked in the compiler options to support all ANSI C=20 being the example was a C file.) =09 Just wanted to double check. I've learned first hand that sometimes=20 beginners can easily miss the obvious being overcome anticipation. Did =20 =09 =20 I possibly overlook something obvious. =09 I also compiled a couple of my older scripts to make sure that the=20 upgrade was successful. =09 Thanks, DWW =09 =09 =09 -----Original Message----- From: Scott Simontis [mailto:age...@co...] Sent: Tuesday, February 03, 2004 4:24 PM To: Daniel Watson Subject: Re: FW: [Dev-C++] OpenGL with Glut blues... =09 The DevPak is a good idea. Just download it, and run it. It should=20 install correctly. It sounds like Dev-C++ doesn't like that file. FOr=20 one thing, Dev-C++ uses .a, not .lib! Try the .dll file. Daniel Watson wrote: =09 =20 =09 =20 Thanks once again for the input Scott, I have upgraded to 4.9.8.5 and=20 really enjoy the new environment. The errors are down to the glut32.lib file...=20 =09 6 C:\Dev-C++\Lib\glut32.lib unterminated string or character constant 6 C:\Dev-C++\Lib\glut32.lib possible real start of unterminated=20 constant =09 I redownloaded the glut files from Nate Robin's site which was linked =20 =09 =20 >from the openGL site...=20 =20 =20 =09 =20 =09 http://www.opengl.org/resources/libraries/glut.html =09 Any other suggestions? =09 Thanks in advance, DWW =09 =09 ________________________________ =09 From: Scott Simontis [mailto:age...@co...] Sent: Sat 1/31/2004 3:23 PM To: Daniel Watson; dev...@li... Subject: Re: [Dev-C++] OpenGL with Glut blues... =09 =09 =09 The .dll is only for linking dynamically, where you use a .dll and it=20 is distributed with your file versus being put in the .exe. Make sure=20 you have all of the required .a files linked, and none of your headers =20 =09 =20 are in the bin list. Or, try pulling the bin thing from the list of=20 headers and libs and see what happens. If you can get access to=20 another =20 =09 =20 =20 =09 =20 compiler, try using it. I am not sure if you have tried reinstalling Dev-C++ yet. Have you? Also, try upgrading to the latest version of =20 =09 =20 Dev-C++. =20 =09 =20 Daniel Watson wrote: =09 =09 =09 =20 =09 =20 Thanks for the suggestion Scott. It's pointing to the proper bin in Dev-C++ in the compiler options.=20 =09 I tried going through the compiler options and found nothing but the=20 default listed and the G++ directory within the include file. But, I=20 did notice that I had set Dev-C++ to create a Project for C++ so it=20 made a resource file with that in it to link the icon. I took it out =20 =09 =20 and still got the same message. =09 So I decided to try another example from scratch. The hello C. Upon =20 =09 =20 creating a project I chose the OpenGL for the project, linked the=20 glut =20 =09 =20 =20 =09 =20 file, but I am still getting the same message... =09 gcc: Compilation of header file requested gcc: file path prefix `C:\DEV-C_~1\Bin\' never used =09 =09 This is the hello.c example at this link...=20 =09 =09 http://www.opengl.org/resources/code/basics/redbook/index.html =09 =09 Is there a newer version of the glut that I should be using? I went=20 to the Nate Robins site and downloaded the (everything you need to=20 get =20 =09 =20 =20 =09 =20 started with glut) link. Do I need to use the glut32.dll as well? Should it be in the G++ file within the Include directory?=20 =09 Any other ideas would be greatly appreciated, DWW =09 =09 -----Original Message----- From: Scott Simontis [mailto:age...@co...] Sent: Friday, January 30, 2004 3:30 PM To: Daniel Watson Subject: Re: [Dev-C++] OpenGL with Glut blues... =09 There is no order they need to be in. However, I think it helps to=20 sort them out. I list custom headers first, then library headers,=20 then =20 =09 =20 =20 =09 =20 C++ headers, and finnaly C headers. It looks like it is saying that one of the headers has C:\DEV-C_~1\Bin\ in it. All of the headers =20 =09 =20 aren't there. =20 =09 =20 Go to Tools -> Compiler Options. Then, click on the Directories tab. Next, click on the Libraries, C Headers, and C++ Headers sub tabs and =20 =09 =20 make sure C:\Dev-C_~1\Bin or anything like that is in one of those=20 fields. Daniel Watson wrote: =09 =09 =09 =20 =09 =20 =09 =20 I am trying to compile a basic example from the openGL site,=20 alpha3d.c. =09 (http://www.opengl.org/resources/code/basics/redbook/index.html) =09 At first I was getting a number of undefined references. =09 After going through a number of postings on bloodshed for including=20 links, then not including some links but try this link, I am down to =20 =09 =20 two linker errors... =09 g++: Compilation of header file requested g++: file path prefix `C:\DEV-C_~1\Bin\' never used Here are the two files I have linked in... C:\Dev-C++\Include\Gl\glut.h C:\Dev-C++\Lib\glut32.lib =09 I have also set the comppiler option to support All ANSI C. =09 And here are the include lines at the opening of the script... =09 #include <Gl/glut.h> #include <stdlib.h> #include <stdio.h> =09 Is there a certain order the includes should be in? I am using glut 3.7.6 =09 Thanks in advance, DWW =09 =09 =09 =20 =09 =20 =09 =20 =09 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference=20 on Open Tools Development and Integration See the breadth of Eclipse=20 activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn =09 _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm =09 https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =09 =09 =09 =20 =09 =20 =09 =20 =09 =09 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference=20 on =20 =09 =20 =20 =09 =20 Open Tools Development and Integration See the breadth of Eclipse=20 activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm =09 https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =09 =09 =09 =20 =09 =20 =20 =09 =20 =09 =09 =09 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users =20 |
|
From: Ray K. <he...@er...> - 2004-02-06 13:49:34
|
There are DevPaks for a variety of GUI toolkits. Each of these toolkits would use a different syntax in its resource file (assuming it has one). Some of these toolkits will come with a resource editor; some don't. (I think wxwindows and FLTK both do.) "Mats Lidstrom" <mat...@to...> wrote: > After installing 4.9.8.0 and updating to 4.9.8.7 and installing all > DevPak's I'm playing around with the IDE. When I finally came to trying > the resource editor I can't find it and I can't find any explanation to > why it's not there. Am I missing something? |
|
From: Mats L. <mat...@to...> - 2004-02-06 12:41:10
|
From: <wa...@wa...> > This e-mail client sometimes sends to the person instead of the list > and sometimes I forget to check which way it's set. I think it's the mailing list script that needs some working on. The mails are missing the "Reply-To" field in the mail headers. It should say dev...@li... there. Right now it replies to whoever is on the "From" field. Very irritating on a mailing list. /M |
|
From: Site R. <sit...@fl...> - 2004-02-06 03:20:08
|
hi, Just joined this list today, so interested to see what comes across = here. But I have a few questions. I'm not quite sur ehow to work the = debugger in Dev C++. How do you set the variable watch option? And how = do you do the "backtracing"? I just started experimenting with the = debugger today. Oh by the way there is one very large, error, well not = so large but noticeable, error in the help file in the section talking = about stepping through code. anyway, thanks for any help. Brandon -- Site Resources=20 How to get your web host screaming "NoMoreHits"=20 More Site Traffic - Don't Touch My Ads |