Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2003-08-05 12:58:01


> John,
>
> What compiler are you using? The example only works on VC 6. I added

VC6 :)

> that limitation to the description. I'll have a version ready for VC
> 7.1 soon.
>
> I did fix the include file problem. The file was on my box :)
>

What do you mean? I got boost_gui.zip from yahoo section yesterday.

> [...]
> Thanks a lot for checking this out!

Anytime! The ideas you present are really cool!
Eventually, please send me the files by mail - john_at_[hidden]

Thanks.

Best,
John
>
> Brock
>
> > -----Original Message-----
> > From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]
> > On Behalf Of John Torjo
> > Sent: Monday, August 04, 2003 11:36 AM
> > To: Boost mailing list
> > Subject: Re: [boost] Re: Re: Re: Re: Re: Re: Re: Re: GUI/GDI template
> > library
> >
> > Hi,
> >
> > I tried compiling the boost_gui code, but got compile-time errors.
> >
> > Do I need a Service pack?
> >
> > Example:
> > desired_size_operations.cpp
> > d:\john\programming\boost\boost_gui\boost_gui\floatroutines.h(8) :
> error
> > C2065: 'pow' : undeclared identifier
> > d:\john\programming\boost\boost_gui\boost_gui\floatroutines.inl(10) :
> > error
> > C2065: 'floor' : undeclared identifier
> > d:\john\programming\boost\boost_gui\boost_gui\floatroutines.inl(16) :
> > error
> > C2065: 'fabs' : undeclared identifier
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2893: Failed to specialize function template 'struct
> > layout::desired_size __cdecl
> `anonymous-namespace'::operate_on_sizes(const
> > struct layout::desired_size &,cons
> > t struct layout::desired_size &,const Fun &)'
> > With the following template arguments:
> > 'struct `anonymous-namespace'::max_'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2146: syntax error : missing ';' before identifier
> > 'operate_on_sizes'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2143: syntax error : missing ')' before 'const'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2780: 'struct layout::desired_size __cdecl
> > `anonymous-namespace'::operate_on_sizes(const struct
> layout::desired_size
> > &,const struct layout::desired_size &,const F
> > un &)' : expects 3 arguments - 0 provided
> >
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : see declaration of 'operate_on_sizes'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2059: syntax error : ')'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2893: Failed to specialize function template 'struct
> > layout::desired_size __cdecl
> `anonymous-namespace'::operate_on_sizes(const
> > struct layout::desired_size &,cons
> > t struct layout::desired_size &,const Fun &)'
> > With the following template arguments:
> > 'struct bplib::pluses'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2146: syntax error : missing ';' before identifier
> > 'operate_on_sizes'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2143: syntax error : missing ')' before 'const'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2780: 'struct layout::desired_size __cdecl
> > `anonymous-namespace'::operate_on_sizes(const struct
> layout::desired_size
> > &,const struct layout::desired_size &,const F
> > un &)' : expects 3 arguments - 0 provided
> >
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : see declaration of 'operate_on_sizes'
> >
> D:\john\programming\boost\boost_gui\boost_gui\desired_size_operations.cp
> p(
> > 29
> > ) : error C2059: syntax error : ')'
> > Error executing cl.exe.
> >
> > desired_size_operations.obj - 13 error(s), 0 warning(s)
> >
> >
> > Just one thing:
> > Drawing.cpp:
> >
> > you have #include "/source/c++/bplib/WindowsUtils.h"
> >
> > which is not present.
> >
> >
> > Best,
> > John
> [...]
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk