Binaries for 3.3.1 (MSVS) are available for testing at
https://sourceforge.net/projects/witty/upload/wt/3.3.1/

I will make a blog post about this shortly.

BR,
Wim.



2013/9/15 Muhammad Bashir Al-Noimi <mbno...@gmail.com>

> Hello,
>
> Using Wt under windows really painful (although you made the binaries)
> specially with Visual Studio so I made a tiny solution to ease using Wt
> (although I dream in Wt + mingw48 + Qt Creator everyday eheheheheheh)
> under Windows as following and you can easily make your changes for Wt 
> SDKinstaller:
>
>
>    1. Extract Wt SDK to "C:\Wt\bin"
>    2. Extract Wt.7z to "c:\" (see the attachment)
>    3. Double click on "C:\Wt\Wt.reg"
>    4. Add "C:\Wt\bin" to system path by Start -> Control Panel -> System
>    & Security -> System -> Advanced system settings -> Click on Environment
>    Variables
>    5. Open Visual studio 2012 then add External Tool to run Wt batch file
>    as shown in this screenshot:
>    http://img197.imageshack.us/img197/553/c4zi.png
>    6. Create new empty console application then go to project properties
>    7. Select Release configuration then add VC++ Directories paths of Wt
>    as shown in the screenshot:
>    http://img841.imageshack.us/img841/3106/zhm9.png
>    8. Goto Linker->Input and add all needed wt lib dependencies as shown
>    in this screenshot: http://img30.imageshack.us/img30/3972/af2f.png
>    9. Goto General and change Target extension from .exe to .wt as shown
>    in this screenshot: http://img89.imageshack.us/img89/4008/aiiy.png
>    10. Now create your own code then Press F7 (build) and call "Run Wt"
>    from Tools (you can customize a shortcut for it and adding it to the
>    toolbar)
>    11. You can double click over the generated *.wt file from Release
>    folder in case you want to run outside VS2012.
>
>
> P.S.
>
>    1. All available examples in Wt SDK has *.C extension which invalid
>    extension for VC++ so you've to rename all that files to *.CPP
>    2. You've to repeat steps from 6 to 10 for every new Wt project.
>
>
>
> On Wed, Sep 4, 2013 at 12:55 PM, Wim Dumon <w...@emweb.be> wrote:
>
>> Hi Muhammad,
>>
>> I shared the zip file on google drive. Please let me know any issues you
>> have. Double-click on a bat file to start the example, but watch out, not
>> all bat files are Wt examples (this has to be cleaned up).
>>
>> I tested this on a small project; this is the CMakeLists.txt I used:
>>
>> CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
>>
>> PROJECT(hello)
>>
>> SET(WT_PREFIX "c:/tmp/winstng/install")
>>
>> #FindPackage(Wt REQUIRED) # does not work (yet)
>> SET(Wt_INCLUDE_DIRECTORIES "${WT_PREFIX}/include")
>> SET(Wt_BOOST_LIB_DIRECTORIES "${WT_PREFIX}/lib")
>> SET(Wt_LIBRARIES
>>     debug "${WT_PREFIX}/lib/wtd.lib"
>>     optimized "${WT_PREFIX}/lib/wt.lib"
>> )
>> SET(Wt_HTTP_LIBRARIES
>>     debug "${WT_PREFIX}/lib/wthttpd.lib"
>>     optimized "${WT_PREFIX}/lib/wthttp.lib"
>> )
>>
>> INCLUDE_DIRECTORIES(${Wt_INCLUDE_DIRECTORIES})
>> # to find necessary boost libraries
>> LINK_DIRECTORIES(${Wt_BOOST_LIB_DIRECTORIES})
>>
>> ADD_EXECUTABLE(hello
>>     hello.C
>> )
>>
>> IF(MSVC)
>>   SET_TARGET_PROPERTIES(hello PROPERTIES COMPILE_FLAGS "/wd4251 /wd4275")
>> ENDIF(MSVC)
>>
>> TARGET_LINK_LIBRARIES(hello
>>     ${Wt_LIBRARIES}
>>     ${Wt_HTTP_LIBRARIES}
>> )
>>
>>
>>
>> 2013/9/3 Muhammad Bashir Al-Noimi <mbno...@gmail.com>
>>
>>> On 09/03/2013 11:49 AM, Wim Dumon wrote:
>>> > I made a build (msvs), but there's still something wrong with some
>>> > .bat files for running the examples. The devil is in the details.
>>> As soon as you're ready to upload the binaries please notify me to start
>>> testing process.
>>>
>>> --
>>> Best Regards,
>>> Muhammad Bashir Al-Noimi
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>>> Discover the easy way to master current and previous Microsoft
>>> technologies
>>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>>> tutorial videos with LearnDevNow. Subscribe today and save!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> witty-interest mailing list
>>> witty-interest@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft
>> technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
>
>
> --
> Best Regards
> Muhammad Bashir Al-Noimi
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to