Hello,
The easiest way to build a project that uses Wt is to use CMake and
the FindWt.cmake module:
PROJECT( mywittyproject )
FIND_PACKAGE( Wt REQUIRED )
ADD_EXECUTABLE( test.wt test.cpp )
TARGET_LINK_LIBRARIES( test.wt ${WT_LIBRARIES} )
That should be all you need.
On Mon, Mar 30, 2009 at 12:13 PM, Dushan Savich <[email protected]> wrote:
> Hi Lous,
>
> Every second person who downloaded the Witty has problem with linking
> it :-) ( in your face, Koen :-P , in your face Wim :-P )
>
> When building your projects you should link it against with
> -lwt , -lwext and -lwhttp . The last one is if you use witty's
> built-in server, which is the best option , if you ask me :-) .
>
> Now, the usual problem is that compiler never seems to be able finding
> the damn' thing :-) , and when it finds those libraries, makes problem
> of it's own boost dependancies etc...
>
> The solution I've tried ( and which works ! ) , is that you should
> link against libraries' full path . ( I can't remember which one,
> since , my Linux computer is on repair :( )
>
> Anyway, one single solution never works to get witty project linked .
> I've noticed you should experiment with paths and filenames when linking
> against witty projects , especially on Ubuntu .
>
>
> Cheers!
> Dushan
>
> Louis-Simon Houde wrote:
>
> 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.
>
> Thanks
>
> ________________________________
> Donnez l'apparence que vous voulez à votre fenêtre Messenger. Exprimez-vous!
>
> ________________________________
> ------------------------------------------------------------------------------
>
>
> ________________________________
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest