Hi Napoleon,
Sorry I'm late on this. In Dev-C you have to have rc files with a diferent
name than any other files in the project. You should also include the local
directory to the Include directory list. Compare compiler options and
linker options from my sample file belowe, with your own.
Also get your hands on the tutorial (
http://www.braem17.yucom.be/download/wxWindows/wxTutorial.pdf ) written by
Franky Bream. It's not complete but instructive samples to get you going.
Best regards
Staale Flock
----------------- My wx/samples/calender/pwxCalenderProject.dev file
--------------------------------------------
[Project]
FileName=pwxCalender.dev
Name=WxWindows Project
Type=0
Ver=1
ObjFiles=
Includes=
Libs=
Resources=
Compiler=-fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing
-Wall -fvtable-thunks -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
Linker=-lwx -lole32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32
-loleaut32 -ladvapi32 -luuid -lxpm
IsCpp=1
Icon=
UnitCount=1
PrivateResource=
ResourceIncludes=
ExeOutput=
ObjectOutput=
[Unit1]
FileName=calendar.cpp
Open=1
Top=1
[Views]
ProjectView=1
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Best regards
Staale
At 19:56 30.05.2002 +0100, Napoleon Ahiable wrote:
>Hi,
>I have been trying to compile the sample wxwindows files with Dev C++ to
>no avail. First of all Dev C++ overwrites the .rc files that come with
>wxwindows. how do I get round this.
>
>Napoleon.
|