On 11/23/08, Wim Dumon <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  Wt names its debug and release libraries different, by adding a 'd' to
>  the development versions.

What about making that optional? That way I would get rid of a patch I
use in the Debian packaging

> Also in windows, you have to add a few more
>  dependent libraries.
>  Try this:
>  TARGET_LINK_LIBRARIES(myprog.wt DEBUG wtd wtthttpd winmm OPTIMIZED wt
>  wthttp winmm)

Two points here:
- "find_package(wt required)" and using the variables it provides
(Wt_LIBRARY, etc) should be thne preferred way when using CMake to
build a Wt application
- FindWt.cmake should add 'winmm' to Wt_LIBRARY or WtHTTP_LIBRARY,
whichever contains the dependency

>  Regards,
>  Wim.
>
>  2008/11/23 HADASS YAARI <[EMAIL PROTECTED]>:
>
> > Hello everybody,
>  > I'm a student and I'm new in WT.
>  > I've succeeded to install WT and run the examples and now I want to build 
> my
>  > own WT application.
>  > I've read in the FAQ how to do that, and used the Cmake with the
>  > CMakeLists.txt that was published there.
>  > The problem is that in the TARGET_LINK_LIBRARIES was written" wthttp wt "
>  > ,but I don't have these libs. I have "wthttpd  wtd".
>  > When I tried to change the  CMakeLists.txt and write the libs that I have,
>  > I've encountered this error: "wtd.lib (TimeUtil.obj): error LNK2019
>  > unresolved external symbol [EMAIL PROTECTED] referenced in function…."
>  > So I don't know what to do : Didn't I install WT correctly and that is the
>  > reason I don't have the right files (but then, how do the examples run) or
>  > maybe I didn't configure the visual studio's linker correctly.
>  > I would like to have your advice (I'm sure that this is a piece of cake for
>  > you).
>  >
>  > Thank you very much,
>  > Hadas
>  >
>  >
>  >
>  >
>  > ________________________________
>  > This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE
>  > SYSTEMS LTD. (hereinafter "RAFAEL") contains confidential information
>  > intended for a specific individual and purpose, may constitute information
>  > that is privileged or confidential or otherwise protected from disclosure.
>  > If you are not the intended recipient, you should contact us immediately 
> and
>  > thereafter delete this message from your system. You are hereby notified
>  > that any disclosure, copying, dissemination, distribution or forwarding of
>  > this message, or the taking of any action based on it, is strictly
>  > prohibited. If you have received this e-mail in error, please notify us
>  > immediately by e-mail mailto:[EMAIL PROTECTED] and completely delete or
>  > destroy any and all electronic or other copies of the original message and
>  > any attachments thereof.
>  > ________________________________
>
> > -------------------------------------------------------------------------
>  > This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
>  > Build the coolest Linux based applications with Moblin SDK & win great
>  > prizes
>  > Grand prize is a trip for two to an Open Source event anywhere in the world
>  > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>  > _______________________________________________
>  > witty-interest mailing list
>  > [email protected]
>  > https://lists.sourceforge.net/lists/listinfo/witty-interest
>  >
>  >
>
>  -------------------------------------------------------------------------
>  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>  Build the coolest Linux based applications with Moblin SDK & win great prizes
>  Grand prize is a trip for two to an Open Source event anywhere in the world
>  http://moblin-contest.org/redirect.php?banner_id=100&url=/
>  _______________________________________________
>  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)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to