Hi Every one,
I facing a problem with compile my file from *.cpp to *.so when I run
my make file the server become freeze,and I cannot access to
socio.iir.nii.ac.jp the attach file is the makefile is this way
correct to comiple file from *.cpp to *.so
this makefiel in my directory home/hayder/sigverse-100317-fix/share/
sigverse/samples
# $Id:
Makefile.controller.in,v 1.2 2009/12/17 02:10:43 yoshi Exp $
CXX = g++
USER = `whoami`
#SIGVERSE_DIR = /home/hayder/sigverse-100317-fix
#SIGVERSE_DIR = $(HOME)/sigverse-100317-fix
DEFINE = -DUSE_ODE -DCONTROLLER -DdDOUBLE
INCLUDE = -I /home/hayder/sigverse-100317-fix/include -I /home/hayder/
sigverse-100317-fix/include/sigverse
#INCLUDE = -I $(SIGVERSE_DIR)/include -I /home/hayder/sigverse-100317-
fix/include/sigverse
CXXFLAGS = $(INCLUDE) $(DEFINE) $(DEBUG)
LD = $(CXX)
.SUFFIXES: .cpp .so .o
.cpp.so:
$(LD) -shared -o $@ $(CXXFLAGS) -fPIC $<
# SRCS = SendMsg.cpp onRecvMsg.cpp
SRCS = mobileController.cpp
LIBS = $(MODEL_SRCS:.cpp=.so)
all:
$(MAKE) $(LIBS)
clean:
$(RM) *.o *.so *~