Hi!

Wim Dumon schrieb:
> 2008/10/16 Wilfried Hafner <[EMAIL PROTECTED]>:
>   
>> Hello!
>>
>> I'm new to witty and I have some questions to the examples. I'm using
>> Wt2.2.0 on Windows with boost1.36 and visual studio 2005.
>>
>> When I try to start an example in debug mode, i get the following error:
>> "Unable to start program
>> 'c:\Wt\wt-2.2.0\build\examples\hello\debug\hello.wt.exe'.
>> This application has failed to start because the application
>> configuration is incorrect. Review the manifest file for possible
>> errors. Reinstalling the application may fix this problem. For more
>> details, please see the application event log."
>>
>>     
>
> Are you trying to run on the same machine as Wt was built on?
> Normally, you should not get such errors then.
> You can debug this kind of errors best by running depends.exe on your
> executable and try to find out what C runtime libraries are missing,
> and from what components they come. Try linking against dll versions
> of boost and other dependencies, this will narrow down your search.
> You may have to build boost yourself...
>
>   
I tried now following:
- installed boost_1_35 instead of 1_36
- set boost_dynamic to true
- set shared_libs to true

now i can start the application in debug mode and i get following output 
in the debugwindow of visualstudio, so there must be an error with the 
boost lib, do you have any ideas what i could do? release mode again is 
working fine!

'hello.wt.exe': Loaded 
'C:\boost\boost_1_35_0\lib\boost_signals-vc80-mt-gd-1_35.dll', No 
symbols loaded.
LDR: LdrpWalkImportDescriptor() failed to probe 
C:\boost\boost_1_35_0\lib\boost_signals-vc80-mt-gd-1_35.dll for its 
manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during 
process load
The program '[3704] hello.wt.exe: Native' has exited with code 
-1072365566 (0xc0150002).

>> In release mode it works fine...
>>
>> The other problem is, that when I try to open the examples extkitchen or
>> simplechat in the browser, I get following messages:
>> "Wt internal error: TypeError: j3 is null, code: undefined, description:
>> undefined" and
>> "Wt internal error: TypeError: j1 is null, code: undefined, description:
>> undefined"
>>
>> maybe I can solve the problem by myself, when i get the examples
>> working  in debug mode...
>>
>>     
>
> Do you see 404 errors in the application output? Did you put Ext in
> the right location?
>
> Regards,
> Wim.
>   
here is the console output of the extkitchen example:

2008-Oct-17 18:45:29.843750] 1412 - [notice] "Wt: initializing built-in 
httpd"
2008-Oct-17 18:45:29.843750] 1412 - [notice] "Reading Wt config file: 
c:/witty/wt_config.xml (location = 
'c:\wt\wt-2.2.0\build\examples\extkitchen\release\extkitchen.wt.exe')"
ption no-compression is implied because wthttp was built without zlib 
support.
2008-Oct-17 18:45:29.890625] 1412 - [notice] "Starting server: 
http://0.0.0.0:8080";
2008-Oct-17 18:46:06.953125] 1412 [/extkitchen pERxc2eWLtuanDBi] 
[notice] "Session created (#sessions = 1)"
27.0.0.1 - - [2008-Oct-17 18:46:06.953125] "GET /extkitchen HTTP/1.1" 
200 3357
xml: Character entity "" not terminated under parent <span>!
2008-Oct-17 18:46:07.109375] 1412 [/extkitchen pERxc2eWLtuanDBi] [error] 
"Error parsing: Menu & ToolBar"
27.0.0.1 - - [2008-Oct-17 18:46:07.156250] "GET 
/extkitchen?wtd=pERxc2eWLtuanDBi&js=yes&ajax=yes&request=script&rand=55177 
HTTP/1.1" 200 37148
27.0.0.1 - - [2008-Oct-17 18:46:07.187500] "GET /extkitchen.css 
HTTP/1.1" 404 85127.0.0.1 - - [2008-Oct-17 18:46:07.187500] "GET 
/ext/resources/css/ext-all.css HTTP/1.1" 404 85127.0.0.1 - - 
[2008-Oct-17 18:46:07.187500]
GET /ext/ext-base.js HTTP/1.1" 404 85

what do you mean with the right location for ext? sorry for my ignorance...

regards,
willi


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to