From: Foster T. B. <fbr...@ad...> - 2006-08-09 16:31:07
|
Hi Mike, I am glad to hear of your interest in ASL! Welcome to the club. gil_image_factory is a factory mechanism for the detection, reading, =20 and writing of file formats into GIL image structures. While I'm not =20 exactly certain what the problem is, I can tell you that this is not =20 a mission-critical portion of code. It is used as an input mechanism =20 for the image widget, which, if you are not using it, you will never =20 encounter this code. All the same, seeing that you are interested in =20 ASL, I would recommend you comment out this portion of code and =20 consider looking at the rest of what ASL has to offer. When the time =20 comes and you migrate to MSVC 8 you can revisit this. Blessings, Foster On Aug 8, 2006, at 11:24 PM, Mike Ellis wrote: > Hello, > > I am very interested in using Adobe's ASL. I am working on a =20 > personal project for stock market graphing, prediction, etc. > ASL suits my needs because I've been using boost for about a year =20 > and I'm also trying to learn more about templates. > > I am relatively new to advanced Template development and am having =20 > some difficulty compiling ASL on a non-supported compiler =20 > (Codewarrior 9.2 for Windows, 9.4 patch installed). I only have one =20= > problem remaining (most of the code compilies with a few simple =20 > changes) and that is in image_factory.cpp > > I won't go into detail of all the various attempts I've tried over =20 > the last several days to get this code to compile. > > I've looked at other classes to see how regular_object/=20 > regular_interface work and I am still struggling (it's a good =20 > exercise in learning some of the new template paradigms) to figure =20 > out what's preventing the code from compiling. > > If any of you ASL/STL gurus can help, I'd really appreciate it. > > I have no trouble with any other factory classes (checkbox, =20 > presets, reveal, popup) compiling. > > The error output I get from the compiler (formatted for easier =20 > viewing...) is: > > Error : illegal implicit conversion from '__T?' to > > ' > adobe::regular_interface< > adobe::gil::image_format_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > >::protocol > > * > ' > > (point of instantiation: =20 > '@unnamed@image_factory_cpp@::gil_image_factory()') > > (instantiating: > ' > adobe::gil::image_format_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > >::image_format_t< > adobe::gil::targa_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > > > > > ( > adobe::name_t, > const adobe::gil::targa_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > > & > ) > ' > ) > > (instantiating: > > ' > adobe::regular_object< > adobe::gil::image_format_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > >::protocol, > adobe::gil::image_format_t::instance > >::regular_object< > adobe::gil::targa_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > > > > > ( > const adobe::gil::targa_t< > adobe::gil::image_view< > adobe::gil::pixel_2d_locator< > adobe::gil::pixel_step_iterator< > adobe::gil::pixel< > unsigned char, adobe::gil::rgba_t > > > *> > > > > > > & > ) > ' > ) > > regular_object.hpp line 108 interface_m(new =20 > implementation::regular_instance<D<T> >(x)) > > Thanks in advance! (Yes, I will eventually switch to VC8) > > Mike > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642________________________= ______=20 > _________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel -- Foster T. Brereton <=E1=BC=B0=CF=87=CE=B8=CF=8D=CF=82>< = Romans =20 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build =20 components but how to use them." -- Alexander Stepanov |