|
From: Santiago P. C. <San...@yd...> - 2002-10-18 08:13:24
|
Hi *, If you don't use Dev-C++ package and you want to use wxWindows sources 'b= y yourself', there are only a few things you must do in order to use wxWindows... Download wxWindows sources (from http://wxwindows.sourceforge.net/), download also 'extra.zip' file (from http://wxwindows.sourceforge.net/ al= so, but only if you don't use MSYS from http://mingw.sourceforge.net/) and th= en, FIRST OF ALL, please read the file: %WXWIN%/docs/msw/install.txt=20 You'll find everything you'll need in order to install it!!! Anyway here you have a 'Quick How To'... Set a few environment variables: =09WXWIN to the path where you decompressed wxWindows sources, =09if needed, BISON_SIMPLE & BISON_HAIRY to the complete path to files (complete/path/to/folder/plus/filename.extension) Edit %WXWIN%\src\makeg95.env, search through the options and set them to = the appropriate values to fit your system needs; I just changed the following= ones (keep in mind that these are MY values for WinAPI & MinGW installati= on ;o): =09MINGW32=3D1 =09MINGW32VERSION=3D3.2 =09YACC=3Dbison =09CPU=3Dpentium4 =09COMPPATHS =3D -I"D:/WinAPI/include" -I"D:/MinGW/include" =09Perhaps you may want to include these two also: -I"D:/MinGW/include/sys" -I"D:/MinGW/include/c++/3.2" ...And add the appropriate dirs to this one (keeping the original stuff, = of course): =09LDFLAGS =3D (...original stuff...) -L"D:/MinGW/lib" -L"D:/WinAPI/lib"= Then cd to %WXWIN%\src\msw and use make -f makefile.g95 clean / make -f makefile.g95 and wait... That's all!!!=20 You'll have wxWindows ready to use (there are a few more options to use t= he wxWindows DLL, so read the docs, please...) You'll only need to use a makefile like the following one, you only have = to modify 'OBJECTS' to fit your needs: =09# Makefile for wxWindows (Mingw32). =09# WXDIR =3D D:/wxWindows/v2.3.3 =09TARGET=3DMyApp =09OBJECTS =3D $(TARGET).o MyFrame.o MyOtherStuff.o =09include $(WXDIR)/src/makeprog.g95 Hope this helps Santy -----Original Message----- From: Carlos Garc=EDa del Monte [mailto:cg...@wo...]=20 Sent: jueves, 17 de octubre de 2002 22:24 To: ma...@al...; dev-cpp-users-list Subject: Re: [Dev-C++] WxWINDOW Oh, sorry, I thought you got the package from dev home page, which is a devpak. What I did was this: (having gcc[C:\Dev-Cpp\Bin] in the path) 1- I unpacked it to C:\wxMSW 2 - open command.exe 3 - cd to C:\wxMSW\src 4 - type make -f makefile.g95 and wait, then I ran over some of the other= folders seeing that in all of them the result was "make nothing to be don= e for all", so I gave it as built. Well, there were a couple of utilities about dialog editor or something like that, I cd to there and make etc. The bad news are that I never could make it work, except for the examples= that were with it, which compiled fine, I tried some examples for Dev-C++= and I couldn't compile any one. The first you must do when making a project is define __GNUWIN32__ and define UNICODE, and define __WXMSW__ And a lot of compiler options, linker parameters... search in the dev mailing list, I don't remember when they answered me with all those optio= ns you must provide, more or less six or seven months ago or before. ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for= every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ 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 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= =20and 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= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |