On Fri, May 15, 2009 at 11:25 AM, Vivek Baindoor Rao <[email protected]> wrote: > Hi Witty members, > > At the moment exploring and evaluating different packages to provide a ‘Web > interface’ for existing product with uses a lot of code written in C++ but > managed by Autoconf and Automake set of tools. > > Having installed the Witty 2.2.4 on a Fedora10 system I find it hard to get > the examples provided with the Wt package work using Automake. I have > created the configure.ac and Makefile.am files but the linking options used > for creating the executable are a bit of a mystery for me. > > Can someone tell me how to find the proper options that need to be given for > proper linking of the examples.
I am not sure I have understood what you want. It should be easy: - You always need to link to libwt - If the example source code has any #include <Wt/Char/Whatever>, you need to link to libwtchart, too - If the example source code has any #include <Wt/Ext/Whatever>, you need to link to libwtext, too - If you want to deploy using the embedded webserver, link to liblwthttp. If you want to deploy using FastCGI, link to libwtfcgi. Please note you need to run the examples from the directory where the resources are. If you are not running "make install" for the examples, that means you need to run the examples from the directory where the source files are, not from where the binaries are. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
