Thread: [Dev-C++] RE: Help with wxWindows
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Michael I. <je...@am...> - 2002-11-07 08:21:44
|
Thanks Mark, I installed wxWindows from the DevPack. Trying to compile the
template yields 6 errors, I'm not completely familiar with what all of them
mean or how to solve them. Here's the compile log I get when compiling it.
Building Makefile: "C:\C++ Projects\wxtry\Makefile.win"
Executing make...
make.exe -f "C:\C++ Projects\wxtry\Makefile.win" all
g++.exe -c main.cpp -o
ain.o -I"C:/MinGW/include" -I"C:/MinGW/include" -D_X86_=1 -DWIN32 -D_WIN32
-D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DSTRICT -D__WXMSW__ -D__WINDOWS__
-fno-pcc-struct-return -fno-rtti -fno-exceptions -fstrict-aliasing -ansi -s
-O3 -fexpensive-optimizations -mwindows
In file included from C:/MinGW/include/wx/string.h:70,
from C:/MinGW/include/wx/memory.h:20,
from C:/MinGW/include/wx/object.h:20,
from C:/MinGW/include/wx/wx.h:16,
from main.cpp:5:
C:/MinGW/include/wx/buffer.h: In constructor
`wxCharBuffer::wxCharBuffer(const
char*)':
C:/MinGW/include/wx/buffer.h:33: `strdup' undeclared (first use this
function)
C:/MinGW/include/wx/buffer.h:33: (Each undeclared identifier is reported
only
once for each function it appears in.)
In file included from C:/MinGW/include/wx/memory.h:20,
from C:/MinGW/include/wx/object.h:20,
from C:/MinGW/include/wx/wx.h:16,
from main.cpp:5:
C:/MinGW/include/wx/string.h: In function `int Stricmp(const char*, const
char*)':
C:/MinGW/include/wx/string.h:147: `strcasecmp' undeclared (first use this
function)
In file included from C:/MinGW/include/c++/3.2/backward/iostream.h:31,
from C:/MinGW/include/wx/memory.h:33,
from C:/MinGW/include/wx/object.h:20,
from C:/MinGW/include/wx/wx.h:16,
from main.cpp:5:
C:/MinGW/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/MinGW/include/wx/utils.h:26,
from C:/MinGW/include/wx/cursor.h:20,
from C:/MinGW/include/wx/event.h:24,
from C:/MinGW/include/wx/wx.h:23,
from main.cpp:5:
C:/MinGW/include/wx/filefn.h: At global scope:
C:/MinGW/include/wx/filefn.h:51: syntax error before `=' token
In file included from main.cpp:6:
main.h:62:8: warning: extra tokens at end of #endif directive
make.exe: *** [main.o] Error 1
To email me, remove nospam/ from my email address.
|
|
From: Mark L. W. <ma...@al...> - 2002-11-07 13:57:56
|
You are now officially beyond my help.... sorry :-( Someone else able to
help here?
Mark
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Michael
Ivey
Sent: Thursday, November 07, 2002 12:22 AM
To: dev...@li...
Subject: [Dev-C++] RE: Help with wxWindows
Thanks Mark, I installed wxWindows from the DevPack. Trying to compile the
template yields 6 errors, I'm not completely familiar with what all of them
mean or how to solve them. Here's the compile log I get when compiling it.
Building Makefile: "C:\C++ Projects\wxtry\Makefile.win"
Executing make...
make.exe -f "C:\C++ Projects\wxtry\Makefile.win" all
g++.exe -c main.cpp -o
ain.o -I"C:/MinGW/include" -I"C:/MinGW/include" -D_X86_=1 -DWIN32 -D_WIN32
-D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DSTRICT -D__WXMSW__ -D__WINDOWS__
-fno-pcc-struct-return -fno-rtti -fno-exceptions -fstrict-aliasing -ansi -s
-O3 -fexpensive-optimizations -mwindows
In file included from C:/MinGW/include/wx/string.h:70,
from C:/MinGW/include/wx/memory.h:20,
from C:/MinGW/include/wx/object.h:20,
from C:/MinGW/include/wx/wx.h:16,
from main.cpp:5:
C:/MinGW/include/wx/buffer.h: In constructor
`wxCharBuffer::wxCharBuffer(const
char*)':
C:/MinGW/include/wx/buffer.h:33: `strdup' undeclared (first use this
function)
C:/MinGW/include/wx/buffer.h:33: (Each undeclared identifier is reported
only
once for each function it appears in.)
In file included from C:/MinGW/include/wx/memory.h:20,
from C:/MinGW/include/wx/object.h:20,
from C:/MinGW/include/wx/wx.h:16,
from main.cpp:5:
C:/MinGW/include/wx/string.h: In function `int Stricmp(const char*, const
char*)':
C:/MinGW/include/wx/string.h:147: `strcasecmp' undeclared (first use this
function)
In file included from C:/MinGW/include/c++/3.2/backward/iostream.h:31,
from C:/MinGW/include/wx/memory.h:33,
from C:/MinGW/include/wx/object.h:20,
from C:/MinGW/include/wx/wx.h:16,
from main.cpp:5:
C:/MinGW/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/MinGW/include/wx/utils.h:26,
from C:/MinGW/include/wx/cursor.h:20,
from C:/MinGW/include/wx/event.h:24,
from C:/MinGW/include/wx/wx.h:23,
from main.cpp:5:
C:/MinGW/include/wx/filefn.h: At global scope:
C:/MinGW/include/wx/filefn.h:51: syntax error before `=' token
In file included from main.cpp:6:
main.h:62:8: warning: extra tokens at end of #endif directive
make.exe: *** [main.o] Error 1
To email me, remove nospam/ from my email address.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
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: Saba K. <sab...@vu...> - 2002-11-08 08:55:53
|
I want to use getche() defined in conio.c that would act in a similar way as getche() function in conio.h.. at the moment both are a little different. i.e. in getche() of conio.c i have to press enter to input a character that i typed. i am using dev-c++4. can anyone comment on that please.. |