as http://www.kirix.com/labs/wxwebconnect/ ... arted.html describes I tried to build a test-application for webconnect. But I'm stuck at the third step ("Go to /home/user/webconnect/webconnect and type make").
My Makefile (SOMETHING/wxWidgets/webconnect/Makefile) looks like this:
- Code: Select all
include ../common.mak
INCLUDES = ../wxWidgets/include
DEFINES = ${LARGEFILE_DEFINES}
CFLAGS = ${WX_CFLAGS} -g -ggdb -fno-rtti
LIBS = ${WX_LIBS}
OBJECTS = \
dom.o \
nsimpl.o \
promptservice.o \
webcontrol.o \
webframe.o \
webprefs.o
all: libwebconnect.a
libwebconnect.a: $(OBJECTS)
ar rc libwebconnect.a $(OBJECTS)
ranlib libwebconnect.a
clean:
rm -f *.o libwebconnect.a
$(OBJECTS): %.o : %.cpp
@echo $<
$(CPP) $(CFLAGS) $(INCLUDES) $(DEFINES) -c $<
I try to specify my include-directory for the wxWidgets-header (SOMETHING/wxWidgets/wxWidgets/include), but somehow I still get the following error:
- Code: Select all
$ make > out.txt
dom.cpp:13:19: Fehler: wx/wx.h: No such file or directory
make: *** [dom.o] Fehler 1
The wx.h-header is in the directory I specified in the makefile (SOMETHING/wxWidgets/wxWidgets/include/wx/wx.h).
Why isn't it working?
Thanks for help in advance!