Project

General

Profile

Install Error/Hello World Tutorial

Added by kris hewes about 5 years ago

Hi all,

I am a novice programmer...I am pretty comfortable with C and widget based GUIs, and I have to create a webpage application so Wt seems like the perfect fit for me.

I am struggling to get it up and running however; I run windows 10 on a 64 bit laptop and use MSVS2017...I follow the tutorial to install Wt here: [[[https://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_MS_Windows]]] using "the easy method" and use the code from the hello world tutorial here: [[[https://www.webtoolkit.eu/wt/doc/tutorial/wt.html]]]

All said and done, the example code compiles and runs, but I get a system error that reads "The code execution cannot proceed because wtd.dll was not found. Reinstalling the program may fix this problem." I have reinstalled the program and still get the error. I have no idea how to proceed, any advice would be great.

Regards,

Kris H


Replies (4)

RE: Install Error/Hello World Tutorial - Added by kris hewes about 5 years ago

Figured it out, I changed my project's working directory to the bin of my wt release. How do I erase/resolve the question?

RE: Install Error/Hello World Tutorial - Added by Roel Standaert about 5 years ago

Hi Kris,

I don't think you can erase or mark it as resolved, only we can, but someone with the same problem might stumble upon a forum thread with the right answer, so that's alright.

The Wt DLLs need to be in your Path when you run the program. You can either copy the DLLs to the same directory as the executable (that's probably what you would do if you were to deploy or release your application), you can set your working directory to Wt's bin folder as you did, or you can add it to your Path. In Visual Studio you can usually go to your project properties -> Debugging -> and in Environment enter Path=C:\path\to\wt\bin (of course replacing the path\to\wt with the actual path on your system).

Regards,

Roel

RE: Install Error/Hello World Tutorial - Added by Chad Jeter over 3 years ago

Hi Kris,

I'm new to Wt and was just curious if you could explain how you 'changed your project's working directory to the bin of my wt release'?

I am getting the same error but I see the missing .dll file in the ../Program Files.. directory but I'm not sure where to point to this directory.

Thanks in advance!

ChadJ

RE: Install Error/Hello World Tutorial - Added by Chad Jeter over 3 years ago

Please disregard; I finally found it!

Menu | Project | Properties | Configuration Properties | Debugging | Working Directory

    (1-4/4)