|
From: Per W. <pw...@ia...> - 2002-10-21 15:22:37
|
Well, it definitely makes sense to make a makefile according to the sammple below. That makes it easy to compile to application in other environments when Dev-Cpp isn't supported or available. For my Unix and release builds, I use a makefile similar to the example below. /Per W On Mon, 21 Oct 2002, Santiago Palmier Campos wrote: > Hi again, >=20 > Sorry for the misunderstanding Per, you're right! ;oD >=20 > I was thinking about using wxWindows directly, not only within the IDE... > :o( >=20 > Regards, Santy >=20 > -----Original Message----- > From: Per Westermark [mailto:pw...@ia...]=20 > Sent: lunes, 21 de octubre de 2002 16:53 > To: Santiago Palmier Campos > Cc: 'ma...@al...'; dev...@li... > Subject: RE: [Dev-C++] WxWINDOWS and Dev-C++ >=20 >=20 > But since this is the dev-cpp mailing list, I kind of assumed that he wan= ted > to use the IDE functionality of Dev-Cpp, which includes the generation of > make-files. >=20 > I'm not using the pre-packaged wxWindows package for dev-cpp, but I kind = of > assume that the package comes with a project template. If it doesn't, it'= s > quite easy to create a suitable template, by duplicating the different fl= ags > and settings that the wxWindows make-files uses. >=20 > /Per W >=20 >=20 > On Mon, 21 Oct 2002, Santiago Palmier Campos wrote: >=20 > > Hi again, > >=20 > > In order to use all wxWindows switches & options for MinGW, you'll=20 > > only need to use a makefile like the following one (you only have to=20 > > modify 'OBJECTS' to fit your needs): <MAKEFILE> > > =09# Makefile for wxWindows (Mingw32). > > =09# WXDIR =3D D:/wxWindows/v2.3.3 (or whatever your base directory is) > >=20 > > =09TARGET=3DMyApp > > =09OBJECTS =3D $(TARGET).o MyFrame.o MyOtherStuff.o > >=20 > > =09include $(WXDIR)/src/makeprog.g95 > > </MAKEFILE> > >=20 > > This is almost the same makefile used by the samples provided by=20 > > wxWindows! So if you are able to build them you'll be able to compile= =20 > > your own project. > >=20 > > Hope this helps! > > Regards, Santy > >=20 > > -----Original Message----- > > From: Per Westermark [mailto:pw...@ia...] > > Sent: lunes, 21 de octubre de 2002 15:57 > > To: Santiago Palmier Campos > > Cc: 'ma...@al...'; dev...@li... > > Subject: RE: [Dev-C++] WxWINDOWS and Dev-C++ > >=20 > >=20 > > The problem is that you have forgotten do define which compiler=20 > > environment you are using. > >=20 > > Deefine __GNUWIN32__ and wxWindows will select a suitable string=20 > > compare function. > >=20 > > A good trick when playing along with the wxWindows kit is to run the=20 > > makefiles in the samples directory. When they compile the code, you=20 > > will see a number of parameters sent to gcc. If you make sure that=20 > > your own projects uses the same parameters, you will be home-free. > >=20 > > You will get all needed libraries, same settings for run-time type=20 > > information, debug settings etc. > >=20 > > /Per W > >=20 > > On Mon, 21 Oct 2002, Santiago Palmier Campos wrote: > >=20 > > > Hi Mark, > > >=20 > > > This error may appear due to... > > >=20 > > > ...uncomplete/wrong build of wxWindows libraries; so you have to > > > rebuild the libraries correctly. > > >=20 > > > ...wrong order for include directories, please check them and take a > > > look > > > at: > > > > > http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Directory-Options.html#Direc > > tory%2 > > > 0Options > > > I think it is really useful sometimes ;o) > > >=20 > > > Hope this helps! > > > Regards > > >=20 > > > Santy > > > PS: wxWindows is not so hard/difficult to use, just be a little bit > > > patient at the beginning, follow the README instructions and take a= =20 > > > look at some tutorials, they are great!!! Just my 2 cents! > > >=20 > > > -----Original Message----- > > > From: Mark L. Wise [mailto:ma...@al...] > > > Sent: s=E1bado, 19 de octubre de 2002 0:03 > > > To: dev...@li... > > > Subject: [Dev-C++] WxWINDOWS and Dev-C++ > > >=20 > > >=20 > > > Hello all! > > >=20 > > > Sorry to be such a pain regarding WxWINDOWS and Dev-C++, but.... > > >=20 > > > I have been trying to compile some of the sample code included with > > > the WxWINDOWS package. When I try compiling I get the following=20 > > > message (along with other things...) > > >=20 > > > 4 C:\PROGRAM FILES\DEV-C++\include\wx\string.h:170 > > > #error "Please define string case-insensitive compare for your > > > OS/compiler" > > >=20 > > > So... How do I define string case-insensitive compare in Dev-C++??? > > >=20 > > > Thanks in advance... > > >=20 > > > Mark > > >=20 > > > Alpha II Service, Inc. > > > 1312 Epworth Avenue > > > Reynoldsburg, Ohio 43068 > > > 614 868-5033 (Voice) > > > 617 812-5838 (Fax) > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > 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 message and any files transmitted with it are confidential and > > intended solely > > > for the use of the individual or entity to whom they are addressed.= =20 > > > No > > confidentiality > > > or privilege is waived or lost by any wrong transmission. > > > If you have received this message in error, please immediately destro= y > it > > and kindly > > > notify the sender by reply email. > > > You must not, directly or indirectly, use, disclose, distribute,=20 > > > print, or > > copy any > > > part of this message if you are not the intended recipient.=20 > > > Opinions, > > conclusions and > > > other information in this message that do not relate to the official > > business of > > > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither= =20 > > > given > > nor endorsed by it. > > > > > ---------------------------------------------------------------------- > > ------ > > ---------- > > >=20 > > >=20 > > > ------------------------------------------------------- > > > 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 > > >=20 > > ---------------------------------------------------------------------- > > ---------------- > > This message and any files transmitted with it are confidential and > intended solely=20 > > for the use of the individual or entity to whom they are addressed. No > confidentiality=20 > > or privilege is waived or lost by any wrong transmission.=20 > > If you have received this message in error, please immediately destroy = it > and kindly=20 > > notify the sender by reply email. > > You must not, directly or indirectly, use, disclose, distribute, print,= or > copy any=20 > > part of this message if you are not the intended recipient. Opinions, > conclusions and=20 > > other information in this message that do not relate to the official > business of=20 > > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither giv= en > nor endorsed by it.=20 > > > -------------------------------------------------------------------------= --- > ---------- > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf=20 > > _______________________________________________ > > 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 > >=20 > -------------------------------------------------------------------------= ------------- > This message and any files transmitted with it are confidential and inten= ded solely=20 > for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 > or privilege is waived or lost by any wrong transmission.=20 > If you have received this message in error, please immediately destroy it= and kindly=20 > notify the sender by reply email. > You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 > part of this message if you are not the intended recipient. Opinions, con= clusions and=20 > other information in this message that do not relate to the official busi= ness of=20 > Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= nor endorsed by it.=20 > -------------------------------------------------------------------------= ------------- >=20 |