[ptx] OSX build: Xcode Project (and some compiler error reports)

Ippei UKAI ippei_ukai at mac.com
Tue Jun 15 12:22:41 BST 2004


Thanks, I didn't receipt the patched one, but I patched vigra's  
includes in /usr/local/include
libpnorama now compiles without error. (Do I need to recompile vigra? I  
have no idea whether .hxx is just a header or not)

impex2 still does not compile.

/Users/ippei/Download/hugin/hugin-cvs20040615/src/vigra_impex2/ 
viff.cxx: In member function `void  
vigra_impex2::ViffDecoderImpl::color_map()':
/Users/ippei/Download/hugin/hugin-cvs20040615/src/vigra_impex2/ 
viff.cxx:628: error: could not convert `temp_num_bands' to `size_t&'
/Users/ippei/Download/hugin/hugin-cvs20040615/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]'
.
.
.

Regards.

  >>> 鵜飼 一平  (UKAI Ippei)  >>>>>>>>>>>>>>>>>>>>>>>>>
   My general e-mail and AIM:  ippei_ukai at mac.com
   Homepage:  http://homepage.mac.com/ippei_ukai/

On 15 Jun 2004, at 07:19, Pablo d'Angelo wrote:

> Hi Ippei,
>
>> Hello Pablo,
>>
>> I don't know when you made last change, but I am quite sure CVS I got
>> is later than "2004/06/13 22:34:38" wherever this means.
>
> The cvs should contain a folder called "patches" which contains a the  
> patch
> to vigra 1.2.0. I'll also send you a complete, already patched version  
> of
> vigra.
>
> The diff's can be applied with the patch command, usually with
>
> cd dirwithfilestopatch
> patch < the_patch_file
>
>> Anyway, Xcode, not "XBuild", is maybe just a frontend of gcc, but from
>> my view point, Xcode uses gcc internally.
>> Apple made an big effort on making things easier, which means less
>> flexible as usual, therefore Xcode can't do some of things command  
>> line
>> tools can.
>> Please see http://www.apple.com/macosx/features/xcode/ for further
>> details.
>
> Ok, I'll take a look.
>
>> Anyway, I am just a beginner in programming stuff. I am looking  
>> forward
>> to fighting with patches.
>> (I've just avoided learning CVS commands by using Xcode. I'm afraid
>> Xcode can't patch files.)
>
> Just do a "cvs update" in the top level hugin directory, or use a  
> similar
> function in Xcode.
>
> ciao
>   Pablo
>



More information about the ptX mailing list