2009/3/30 Louis-Simon Houde <[email protected]>: > Hi, > > The toolkit seems very interesting. I like the fact that we have to use only > one language to make a web app with the abstraction of web technologies. > > The problem is I'm having a hard time installing it. > > Here is my config : > > - Freebsd 7.0 > - gcc 4.2.1 > - boost 1_38_0 (the default version on FreeBSD was 1_34 but since I was > not able to install it, I've installed 1_38) > - wt 2.99.1 > > I send the logs from the examples build and from the simple hello.c build. >
Wt works indeed better with boost 1.35 or newer (because asio is included in boost 1.35 and higher). Wt works fine with Boost 1.38. The logs seem to indicate that you disabled multi-threading explicitly or that the multithreaded boost libraries were not found (did you compile them?). The wtwithqt example requires multithreading or compilation fails; I will make sure that this compile error does not happen anymore in future versions. Just skip the example for now, the others should build fine. Single-threaded builds are fine for development, but we recommend to use multi-threaded builds for production use. As Dushan points out, you have to link Wt against at least two libraries: wt itself (-lwt), and a Http connector, which is either our standalone http server (-lwthttp) or the fcgi connector (-lwtfcgi). Additionally, if you use classes from the Ext namespace, you have to link to wtext (-lwtext). Wim. ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
