Using gsoap with CDT [message #165280] |
Mon, 06 March 2006 11:24 |
Eclipse User |
|
|
|
Originally posted by: loris_scalzo.hotmail.com
Hi all, i'm tryin to use the gsoap plugin with Eclipse and the CDt plugin
but i have some problems to compile all the files correctly.
To use a program using gsoap, i have to compile it with 2 others files
produce by the gsoap library. But each time i try all the gsoap function
aren't recognized.
I have added the path of the files/library to include in the project
properties, i even try to add the files themself in my project but that
doesn't work.
If that can use, there is the makefile that I use to compile out of
Eclipse :
GCC=g++
CFLAGS = -I/usr/local/include/ -I../stub
-I/usr/local/BerkeleyDB.4.4/include/
STUB=../stub
OBJECT = StarterComBus.o $(STUB)/soapC.o $(STUB)/soapClient.o
$(STUB)/soapServer.o
DEBUG = -g -ggdb -DDEBUG
ComBus : $(OBJECT)
$(GCC) -o $@ $(OBJECT) $(LIBS)
clean :
rm -f *.o; rm -f server
%.o : %.cpp
$(GCC) $(DEBUG) -c -o $@ $< $(CFLAGS)
$(STUB)/%.o : $(STUB)/%.cpp
$(GCC) $(DEBUG) -c -o $@ $< $(CFLAGS)
Any advice is welcome...
|
|
|
Powered by
FUDForum. Page generated in 0.04130 seconds