Project

General

Profile

running examples

Added by Kubilay Kaan about 13 years ago

Hello friends,

I have compile wt on win7( including GraphicMagick and zlib). Running some examples for example the Home project, results in

"template"

so what is this for a problem??

Thx in Advance


Replies (4)

RE: running examples - Added by Kubilay Kaan about 13 years ago

So I search for similar problems dont found nothing. I have set the docroot to my resources, but there seems to be some missing css files that I cannot find. So

have anyone some suggestion on what to tweak after I compile the example.

Or another question. What are the basics steps to configure the dependencies to running correctly the examples.

P.S.: I attach a png for better visually analizing my prob.

Thanx in advance

Kub.

RE: running examples - Added by Wim Dumon about 13 years ago

Hello,

Did you follow the steps described here?

http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_MS_Windows#Running-the-Examples

Note that you're supposed to copy the resources folder to the example's source directory - setting docroot to the resources dir will not work. Also, make sure that the working directory is the example's source directory.

Best regards,

Wim.

RE: running examples - Added by Kubilay Kaan about 13 years ago

Yes I follow the description. There is a little confusion for me. There exists two example directories.

The one is under \wt-3.2.1\examples\treeview and the other is under \wt-3.2.1\build\examples\treeview.

So I copy the resources to the first path, where I have also an icons folder. My working directory under visual studio is $(ProjectDir) and my commandline Arguments is

---http-address=0.0.0.0 ---http-port=8080 ---deploy-path=/tree ---docroot=.

So once again I dont have any problems in compiling the lib or the examples, but the dependencies. I dont know where I have to put my resources or css files for the project. Should I have to tweak the wt_config.xml???

So After starting the server I get the attached view.

Thanx in advance

RE: running examples - Added by Kubilay Kaan about 13 years ago

Ok I solve it I have to change the $(ProjectDir) to the examples sources directory. I assume that the $(ProjectDir) is the sourcedir. A little bit confusing.

Thank you Wim this is a great Lib/Framework. Respect

    (1-4/4)