|
From: <ma...@ju...> - 2001-03-19 16:18:33
|
Hi everyone,
I am trying to develop my first GUI using wxWindows. I basically took the
Hello World file off the site to see if it runs. I used these headers:
#rcinclude <wx/msw/wx.rc>
#include <wx/msw/setup.h>
#include <wx.h>
#include <wx/button.h>
#include <wx/wxprec.h>
#ifndef WXBASE
#include <stdio.h>
#include "wx/setup.h"
#include "wx/list.h"
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/palette.h"
#include "wx/bitmap.h"
#include "wx/icon.h"
#endif
#include <wx/toolbar.h>
Here's what the compiler says:
215 c:\dev-c_~1\include\wx\defs.h
#error "No Target! Use
-D[__WXMOTIF__|__WXGTK__|__WXMSW__|__WXMAC__|__WXQT__|__WXPM__|__WXSTUBS_
_]"
7 c:\mydocu~1\cpp\firstm~1.cpp
C:\DEV-C_~1\INCLUDE\wx\setup.h:15: #error No __WXxxx__ define set! Please
define one of
__WXBASE__,__WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__
WXSTUBS
I admit I am a newbie, basically clueless as to how to define targets or
build makefiles. So any help would be greatly appreciated on this.
|