> I am new to Wt and I'm trying to build it for the first time.
> I'm getting the following compilation errors:
>
>
> /wt/src/web/random_device.cpp:48:63: error: 'const result_type 
> boost::random::random_device::min_value' is not a static member of 'class 
> boost::random::random_device'
>  const boost::random_device::result_type boost::random_device::min_value;
>                                                                ^
> /wt/src/web/random_device.cpp:48:41: error: uninitialized const 
> 'boost::random::random_device::min_value' [-fpermissive]
>  const boost::random_device::result_type boost::random_device::min_value;
>                                          ^
> /wt/src/web/random_device.cpp:49:63: error: 'const result_type 
> boost::random::random_device::max_value' is not a static member of 'class 
> boost::random::random_device'
>  const boost::random_device::result_type boost::random_device::max_value;
>                                                                ^
> /wt/src/web/random_device.cpp:49:41: error: uninitialized const 
> 'boost::random::random_device::max_value' [-fpermissive]
>  const boost::random_device::result_type boost::random_device::max_value;
>                                          ^
> /wt/src/web/random_device.cpp:54:42: error: 'const char* const 
> boost::random::random_device::default_token' is not a static member of 'class 
> boost::random::random_device'
>  const char * const boost::random_device::default_token = "/dev/urandom";
>                                           ^
> In file included from include/c++/4.8.0/cassert:45:0,
>                  from /wt/src/web/random_device.cpp:32:
> /wt/src/web/random_device.cpp: In constructor 
> 'boost::random::random_device::random_device(const string&)':
> /wt/src/web/random_device.cpp:165:55: error: 'max_value' was not declared in 
> this scope
>    assert((std::numeric_limits<result_type>::max)() == max_value);
>                                                        ^

The problem was that I hadn't built Boost.Random (and unlike other Boost 
libraries like Boost.Signals, the Wt build system didn't require me to).

Thanks all for the help!

Regards,
Nate
                                          
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to