[ptx] OSX build: Xcode Project (and some compiler error reports)
Ippei UKAI
ippei_ukai at mac.com
Mon Jun 14 19:48:28 BST 2004
I had some time during the weekend, so I have created Xcode project for
Hugin.
http://homepage.mac.com/ippei_ukai/temp/huginxcode.pdf
http://homepage.mac.com/ippei_ukai/temp/huginGTK2-Xcode.zip (put files
into hugin directory where configure is)
This is for compiling with wx-gtk from Fink. With wx-mac, you need to
modify configure file, "Other C++ Flags" in Project build style, and wx
related libraries in the targets.
There are two files. One file is just using original makefile as
external target, but the other one use neat Xcode's native build
targets.
They work very good at least for me who do not use shells usually. CVS
is working just fine (Because I don't know any CVS command, this is
very useful), and even building speeded up as Xcode does not check
dependancies.
I haven't touched around moving files after compiling, therefore you
may have to move src/hugin/xrc into build folder once you have compiled
it.
I'm trying to build CVS of few hours ago, and, as usual, having some
errors.
However, it is wonderful that there are no need of fixing all the
convertToBitmap usage. Thank you!
Current Main Errors:
/Users/ippei/Download/hugin/hugin-cvs20040614/src/vigra_impex2/
viff.cxx: In member function `void
vigra_impex2::ViffDecoderImpl::color_map()':
/Users/ippei/Download/hugin/hugin-cvs20040614/src/vigra_impex2/
viff.cxx:628: error: could not convert `temp_num_bands' to `size_t&'
/Users/ippei/Download/hugin/hugin-cvs20040614/src/vigra_impex2/
viff.cxx:250: error: in passing argument 2 of `void
vigra_impex2::map_multiband(vigra_impex2::void_vector<T2>&, size_t&,
const vigra_impex2::void_vector<storage_type>&, long unsigned int, long
unsigned int, long unsigned int, const vigra_impex2::void_vector<T2>&,
long unsigned int, long unsigned int, long unsigned int) [with
storage_type = unsigned char, map_storage_type = unsigned char]'
.
.
.
src/include/vigra_impex2/impex.hxx: In function `void
vigra_impex2::exportScalarImage(SrcIterator, SrcIterator, SrcAccessor,
const vigra_impex2::ImageExportInfo&, vigra::VigraTrueType) [with
SrcIterator = vigra::ConstBasicImageIterator<unsigned char, unsigned
char**>, SrcAccessor = vigra::StandardConstValueAccessor<unsigned
char>]':
src/include/PT/Stitcher.h:1021: instantiated from `void
vigra_impex2::exportScalarImage(SrcIterator, SrcIterator, SrcAccessor,
const vigra_impex2::ImageExportInfo&) [with SrcIterator =
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>,
SrcAccessor = vigra::StandardConstValueAccessor<unsigned char>]'
src/include/PT/Stitcher.h:1037: instantiated from `void
vigra_impex2::exportImage(SrcIterator, SrcIterator, SrcAccessor, const
vigra_impex2::ImageExportInfo&, vigra::VigraTrueType) [with SrcIterator
= vigra::ConstBasicImageIterator<unsigned char, unsigned char**>,
SrcAccessor = vigra::StandardConstValueAccessor<unsigned char>]'
src/include/PT/Stitcher.h:1115: instantiated from `void
vigra_impex2::exportImage(SrcIterator, SrcIterator, SrcAccessor, const
vigra_impex2::ImageExportInfo&) [with SrcIterator =
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>,
SrcAccessor = vigra::StandardConstValueAccessor<unsigned char>]'
src/include/PT/Stitcher.h:1123: instantiated from `void
vigra_impex2::exportImage(vigra::triple<Iterator, Iterator, Accessor>,
const vigra_impex2::ImageExportInfo&) [with SrcIterator =
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>,
SrcAccessor = vigra::StandardConstValueAccessor<unsigned char>]'
src/include/PT/Stitcher.h:406: instantiated from `void
PT::WeightedStitcher<ImageType, AlphaType>::stitch(const
PT::PanoramaOptions&, PT::UIntSet&, const std::string&) [with ImageType
= vigra::BImage, AlphaType = vigra::BImage]'
/Users/ippei/Download/hugin/hugin-cvs20040614/src/Panorama/
Stitcher.cpp:53: instantiated from `void stitchPanoIntern(const
PT::Panorama&, const PT::PanoramaOptions&,
utils::MultiProgressDisplay&, const std::string&) [with ImageType =
vigra::BImage, AlphaType = vigra::BImage]'
/Users/ippei/Download/hugin/hugin-cvs20040614/src/Panorama/
Stitcher.cpp:200: instantiated from here
src/include/vigra_impex2/impex.hxx:1011: error: no type named
`isSigned' in `struct vigra::NumericTraits<unsigned char>'
src/include/vigra_impex2/impex.hxx:1012: error: no type named
`isSigned' in `struct vigra::NumericTraits<unsigned char>'
.
.
.
>>> 鵜飼 一平 (UKAI Ippei) >>>>>>>>>>>>>>>>>>>>>>>>>
My general e-mail and AIM: ippei_ukai at mac.com
Homepage: http://homepage.mac.com/ippei_ukai/
More information about the ptX
mailing list