Hello, Make sure you run the executable from the SOURCE directory (i. e. where extkitchen.xml, compare.csv, etc are). In the Debian packages, I add this README.Debian, which describes how to build and run the examples.
8<------------------------------------------------------------- * To build the examples, call CMake this way: cmake -DWT_SOURCE_DIR=/usr/share/doc/witty-doc/ -DEXAMPLES_CONNECTOR="wt;wthttp" /usr/share/doc/witty-doc/examples * Then go to /usr/share/doc/witty-doc/examples and enter the directory of the example you want to run. When running the example, set the docroot to "." For instance, if you compiled the examples in /home/user/dev/wtexamples, you would do: $ mkdir /home/user/dev/wtexamples $ cd /home/user/dev/wtexamples $ cmake -DWT_SOURCE_DIR=/usr/share/doc/witty-doc/ -DEXAMPLES_CONNECTOR="wt;wthttp" /usr/share/doc/witty-doc/examples $ make $ cd /usr/share/doc/witty-doc/examples/charts $ /home/user/dev/wtexamples/charts/charts.wt --http-port 10000 --http-addr 0.0.0.0 --docroot . * Important Please note the wt-homepage example will not run properly unless you download ExtJS (http://extjs.com) and extract it the proper place. Please note the wtwithqt example needs Qt 4.x to run 8<------------------------------------------------------------- On Sat, Dec 5, 2009 at 2:04 AM, Craig Miller <[email protected]> wrote: > I found a version 2.1 copy of Ext JS as well. The only 404 I'm getting is: > h > 127.0.0.1 - - [2009-Dec-04 16:48:37.135800] "GET > /ext/resources/images/default/basic-dialog/hd-sprite.gif HTTP/1.1" 404 85 > > This file is definitely not a part of version 2.0 or 2.1 of the library. > All other requests resolve as HTTP 200 or 304. > > > I'm testing with the ExtKitchen example application which resides at: > C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen > > To resolve missing images (404s) I've copied the entire "resources" > directory from C:\Users\Craig\Dev\vault\wt-3.0.0\resources to > C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen\icons > > To resolve ExtJS dependencies I've copied: > ext-2.x/adapter/ext/ext-base.js to > C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen\ext\ext-base.js > ext-2.x/ext-all.js to > C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen\ext\ext-all.js > ext-2.x/resources/ to > C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen\ext\resources > > I'm running ExtKitchen inside the Visual Studio Debugger which has the > following commandline and startup options: > Command Arguments: --http-address=127.0.0.1 --http-port=8080 > --deploy-path=/extkitchen > --docroot=C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen > Working Directory: C:\Users\Craig\Dev\vault\wt-3.0.0\examples\extkitchen > > If one of you can see what I might be doing wrong, I'd really appreciate the > help and will most certainly pay it forward in the future. > > Thanks, > Craig > > > > On Fri, Dec 4, 2009 at 4:04 PM, Wim Dumon <[email protected]> wrote: >> >> Craig, >> >> usually this is because you have 404 errors in the output of your web >> server (wthttpd or apache). Verify that you did deploy everything at >> the correct location... >> >> regards, >> Wim. >> >> 2009/12/4 Craig Miller <[email protected]>: >> > Thanks for that link Pau. I downloaded it, followed the directions >> > but am still not having any luck. >> > >> > At first I was trying to get a simple Ext::Toolbar sample working in >> > my own code, but have since given and am now trying to get the >> > ExtKitchen example application working. Neither appliccation displays >> > any errors on the Wt console window but all I see in either a Firefox >> > or IE browser is a blank screen (though viewing the page source in the >> > browser shows that javascript is present). >> > >> > Anyone have any suggestions on how to proceed? Does the ExtKitchen >> > example work under windows/visual studio? >> > >> > Thanks, >> > Craig >> > >> > >> > >> > On Fri, Dec 4, 2009 at 7:24 AM, Pau Garcia i Quiles >> > <[email protected]> wrote: >> >> Hello, >> >> >> >> Take a look at this: >> >> >> >> http://www.webtoolkit.eu/wt/doc/reference/html/group__ext.html#_details >> >> >> >> The link to download ExtJS 2.0.2 is wrong (there is a dot at the end >> >> which you should remove), the right link is >> >> http://stosha.net/ext-2.0.2.zip >> >> >> >> On Fri, Dec 4, 2009 at 6:15 AM, Craig Miller >> >> <[email protected]> wrote: >> >>> I've only been experimenting for the past couple of days, but am >> >>> having a lot of fun and really enjoy working with Wt. I particularly >> >>> like being able to debug so easily. Thanks for all of your work on >> >>> this project. >> >>> >> >>> Right now, I'm trying to get the Ext functionality working. The >> >>> Windows install instructions don't include any information about Ext >> >>> JS setup but the Wt Features page indicates that Ext JS 2.0.1 is >> >>> required. I tried downloading Ext JS 2.0.1 tonight and found that the >> >>> current version is 3.0.3 and the oldest one still available is 2.3.0. >> >>> Will version 2.3.0 work? >> >>> >> >>> Where should I place the Ext JS files? >> >>> >> >>> Thank you, >> >>> Craig >> >>> >> >>> -- >> >>> Craig Miller >> >>> Geospatial Software Architect >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >> >>> Join us December 9, 2009 for the Red Hat Virtual Experience, >> >>> a free event focused on virtualization and cloud computing. >> >>> Attend in-depth sessions from your desk. Your couch. Anywhere. >> >>> http://p.sf.net/sfu/redhat-sfdev2dev >> >>> _______________________________________________ >> >>> witty-interest mailing list >> >>> [email protected] >> >>> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >>> >> >> >> >> >> >> >> >> -- >> >> Pau Garcia i Quiles >> >> http://www.elpauer.org >> >> (Due to my workload, I may need 10 days to answer) >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> >> a free event focused on virtualization and cloud computing. >> >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> >> http://p.sf.net/sfu/redhat-sfdev2dev >> >> _______________________________________________ >> >> witty-interest mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >> >> > >> > >> > >> > -- >> > Craig Miller >> > Geospatial Software Architect >> > >> > >> > ------------------------------------------------------------------------------ >> > Join us December 9, 2009 for the Red Hat Virtual Experience, >> > a free event focused on virtualization and cloud computing. >> > Attend in-depth sessions from your desk. Your couch. Anywhere. >> > http://p.sf.net/sfu/redhat-sfdev2dev >> > _______________________________________________ >> > witty-interest mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/witty-interest >> > >> >> >> ------------------------------------------------------------------------------ >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> a free event focused on virtualization and cloud computing. >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> http://p.sf.net/sfu/redhat-sfdev2dev >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest > > > > -- > Craig Miller > Geospatial Software Architect > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
