May 3

Namespace issues with fw. Problems :

# You should not have any "using" in .h files
LSSTFitsResource.h : using namespace vw;
# comment this out
# OR, put it inside the "namespace" definitions?  is that allowed?

# LSSTFitsResource.h was not using namespace fw
namespace lsst {
   template <typename PixelT> class LSSTFitsResource : public lsst::fw::DiskImageResourceFITS {
# should be
namespace lsst {
namespace fw {
    template <typename PixelT> class LSSTFitsResource : public DiskImageResourceFITS {

# this change necessitates a change in LSSTFitsResource.cc
ImageView -> vw::ImageView

# also necessitates a change in Mask.cc and Image.cc
lsst::LSSTFitsResource -> lsst::fw::LSSTFitsResource

# and Mask.h and Image.h
# are they supposed to be
namespace lsst {
# or
namespace lsst {
namespace fw{

In the end I'm not sure if this is supposed to be in lsst or lsst::fw. I'll wait to hear from Tim about this. Things are not quite consistent either way the decision goes. I can compile my object file but not link against the libraries to make my executable file. Close!

Actually, I think the whole vw thing can be best fixed by saying

namespace lsst {
namespace fw {
   using namespace vw;

I see that Tim has merged ticket 49 back onto the trunk, with variance info included. So I will re-svn co the branch, since I have done so many ugly things to my version...

becker122: pwd
  /local/becker/lsst_devel/DC2
becker123: rm -rf fw
becker124: svn co $LSST_SVN/DC2/fw/trunk fw

### DONT FORGET TO EDIT fw/SConstruct and change it to
    ("boost",   Split("boost_filesystem-gcc boost_regex-gcc")),

### DONT FORGET THAT I NEED TO 
becker132: cd include/lsst/fw/
becker133: ln -s ../../../src/*cc .

Although WOW I now have serious boost problems..?

In file included from /local/becker/lsst_root/Linux/external/boost/1.33.1/include/boost/config.hpp:40,
                 from /local/becker/lsst_root/Linux/external/boost/1.33.1/include/boost/type_traits/add_const.hpp:13,
                 from /local/becker/lsst_root/Linux/external/boost/1.33.1/include/boost/type_traits.hpp:13,
                 from /local/becker/lsst_root/Linux/external/vw/1.0.1/include/vw/Image/PixelIterator.h:31,
                 from /local/becker/lsst_root/Linux/external/vw/1.0.1/include/vw/Image.h:31,
                 from /local/becker/lsst_devel/DC2/fw/include/lsst/fw/MaskedImage.h:12,
                 from .sconf_temp/conftest_6.c:1:
/local/becker/lsst_root/Linux/external/boost/1.33.1/include/boost/config/select_stdlib_config.hpp:20:19: utility: No such file or directory