Re: [Cppcms-users] Hello World with template: output HTTP/1.0 200 OK.
Brought to you by:
artyom-beilis
From: mawan s. <ma...@gm...> - 2015-10-07 02:24:42
|
i am waiting the response for learn too .. [newbie] On Wed, Oct 7, 2015 at 8:05 AM, Prasad J <jah...@re...> wrote: > Hi , > > I'm new to cppcms forum , am trying to run hello world app with templates > , I've build the app with make file. When trying to run with ./hello -c > config.js getting HTTP/1.0 200 OK instead of >>Hello<< Wolrd!!. Please > guide me what i'm missing. > > here is the make file. > > CXX=g++ > PYTHON=python > CXXFLAGS= -Wall -g > > INCLUDE=-I./ \ > -Ic:\cppcms-1.0.5 \ > -Ic:\cppcms-1.0.5\booster \ > -Ic:\cppcms-1.0.5\build \ > -Ic:\cppcms-1.0.5\build\booster \ > -Ic:\cppcms-1.0.5\cppcms > > > > LIBPATH = -Lc:\MinGW\lib > LIBS = -lcppcms -lbooster > TARGET=hello > > #SRC = ../ > OBJ=hello.o view.o > > all:$(TARGET) > > $(TARGET) : $(OBJ) > > $(CXX) $(CXXFLAGS) $(INCLUDE) $(OBJ) $(LIBPATH) $(LIBS) -o $@ > hello.o: hello.cpp > $(CXX) $(CXXFLAGS) $(INCLUDE) -c $< > view.o: view.cpp content.h > $(CXX) $(CXXFLAGS) $(INCLUDE) -c $< > view.cpp: view.tmpl > $(PYTHON) $(CPPCMS)/cppcms_tmpl_cc $< -o $@ > clean: > rm -rf *.o > rm -rf $(TARGET) > rm -rf view.cpp > > Thanks in advance. > > Prasad > > > <https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?> > Get your own *FREE* website, *FREE* domain & *FREE* mobile app with > Company email. > *Know More >* > <http://track.rediff.com/click?url=___http://businessemail.rediff.com?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host> > > ------------------------------------------------------------------------------ > Full-scale, agent-less Infrastructure Monitoring from a single dashboard > Integrate with 40+ ManageEngine ITSM Solutions for complete visibility > Physical-Virtual-Cloud Infrastructure monitoring from one console > Real user monitoring with APM Insights and performance trend reports > Learn More > http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |