Hi Alec, The exe needs to access some support files.
In the source tree there's : wt/examples/widgetgallery You need to basically either copy all the pics + icons + style + sounds and *.xml over from there .. to the dir where you're running the app from. or .. run the app from that source directory or .. specify --docroot= and/or --approot= to point to the source dir on the command line: http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#wthttpd Kind Regards, Matthew Sherborne On Thu, Sep 15, 2011 at 2:46 AM, Alec Taylor <alec.tayl...@gmail.com> wrote: > Good morning, > > Could you please tell me how to make my WidgetGallery example compile > properly? > > Here is my console output: > Option no-compression is implied because wthttp was built without zlib > support. > Option no-compression is implied because wthttp was built without zlib > support. > [2011-Sep-15 02:38:15.726542] 2644 - [notice] "Started server: > http://127.0.0.1:8080" > [2011-Sep-15 02:38:20.102792] 2644 [/ qRPJhPlDLRhp3O8y] [notice] > "Session created (#sessions = 1)" > [2011-Sep-15 02:38:20.135794] 2644 [/ qRPJhPlDLRhp3O8y] [notice] > "UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) > Gecko/20100101 Firefox/6.0.2" > 127.0.0.1 - - [2011-Sep-15 02:38:20.189797] "GET / HTTP/1.1" 200 3429 > [2011-Sep-15 02:38:20.857835] 2644 [/ qRPJhPlDLRhp3O8y] [warn] > "Deploy-path ends with '/', using /?_= for internal paths" > [2011-Sep-15 02:38:20.901838] 2644 [/ qRPJhPlDLRhp3O8y] [warn] "(XSS) > discarding invalid tag: script" > [2011-Sep-15 02:38:20.936840] 2644 [/ qRPJhPlDLRhp3O8y] [error] "Error > reading XHTML string: invalid closing tag name" > [2011-Sep-15 02:38:21.102849] 2644 [/ qRPJhPlDLRhp3O8y] [warn] > "WApplication::addMetaHeader() with no effect" > 127.0.0.1 - - [2011-Sep-15 02:38:21.136851] "GET > /?wtd=qRPJhPlDLRhp3O8y&request=style HTTP/1.1" 200 206 > 127.0.0.1 - - [2011-Sep-15 02:38:21.213856] "GET > /?wtd=qRPJhPlDLRhp3O8y&htmlHistory=true&request=script&rand=1783391991 > HTTP/1.1" 200 163725 > 127.0.0.1 - - [2011-Sep-15 02:38:21.381865] "GET > /resources//themes/polished/wt.css HTTP/1.1" 304 0 > 127.0.0.1 - - [2011-Sep-15 02:38:21.396866] "GET > /resources/moz-transitions.css HTTP/1.1" 304 0 > 127.0.0.1 - - [2011-Sep-15 02:38:21.396866] "GET > /style/everywidget.css HTTP/1.1" 304 0 > 127.0.0.1 - - [2011-Sep-15 02:38:21.440869] "GET /style/dragdrop.css > HTTP/1.1" 304 0 > 127.0.0.1 - - [2011-Sep-15 02:38:21.468870] "GET /style/combostyle.css > HTTP/1.1" 304 0 > 127.0.0.1 - - [2011-Sep-15 02:38:21.543874] "GET > /resources//themes/polished/splitter-h.png HTTP/1.1" 304 0 > 127.0.0.1 - - [2011-Sep-15 02:38:21.602878] "POST > /?wtd=qRPJhPlDLRhp3O8y HTTP/1.1" 200 21 > > & this is what it looks like: > http://i54.tinypic.com/29z67o2.png > > My WidgetGallery directory tree: http://pastebin.com/6pChshp2 > > My Wt directory tree: http://pastebin.com/fBg1zRN9 > > How can I get the WidgetGallery to work properly? > > Thanks for all suggestions, > > Alec Taylor > > FYI: I'm running Windows 7 x64 SP1, Visual Studio 2010 Ultimate, Boost > 1.47 with Wt 3.1.11 (git) and ext-2.0.2 > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest >
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest