Hello,

You are missing the --docroot parameter to the hello.wt executable. Try:

./hello.wt --docroot . --http-port=8088 --http-address=0.0.0.0

Or "./hello.wt --help" for help about the --docroot parameter

On Sun, Jun 14, 2009 at 5:34 PM, Faysal Banna<[email protected]> wrote:
> Hi Guys
> i took the hello example from the examples/hello/hello.C
> and i did my CMakeLists.txt as such
> ADD_EXECUTABLE(hello.wt
> hello.cpp
> )
>
> TARGET_LINK_LIBRARIES(hello.wt
>   wt
>   wtext
>   wthttp
> )
>
> INCLUDE_DIRECTORIES(/usr/local/include/Wt)
>
> next i did
> cmake ./ -Wno-dev
> make
> ./hello.wt --http-port=8088 --http-address=0.0.0.0
> and i got this error
> stat: No such file or directory
> Document root ("") not valid.
>
> what could it be ????
>
> much regards


-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to