Hi
2011/2/9 kfj <[email protected]>
> It's in the interface definition file:
>
> <source>/src/hugin_script_interface/hsi.i
>
> recomennd to try and comment out, are
>
> 51 and 269
>
>
>
did that, got past that, got new errors: see below.
I checked already but VignettingCorrection.h is not in the hsi.i file.
Next hint please :)
Harry
[ 52%] Building CXX object
src/hugin_script_interface/CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o
In file included from
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/algorithms/optimizer/PhotometricOptimizer.h:34,
from
/Users/Shared/development/hugin_related/huginpython/build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:3036:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:45:
error: expected identifier before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:45:
error: expected ‘>’ before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:47:
error: default argument for template parameter for class enclosing ‘class
vigra_ext::VigCorrFlatDivFunctor<<declaration error> >’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:51:
error: expected unqualified-id before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:55:
error: ‘VT2’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:59:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class A> struct vigra::NumericTraits’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:59:
error: expected a type, got ‘65536’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:62:
error: ‘VT2’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:62:
error: template argument 1 is invalid
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:64:
error: expected ‘,’ or ‘...’ before ‘&’ token
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:64:
error: ISO C++ forbids declaration of ‘InvResp’ with no type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:68:
error: ‘InvResp’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:69:
error: ‘Adjust’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:74:
error: ‘first_argument_type’ has not been declared
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:74:
error: ‘second_argument_type’ has not been declared
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In constructor ‘vigra_ext::VigCorrFlatDivFunctor<<declaration error>
>::VigCorrFlatDivFunctor(int, int)’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:65:
error: class ‘vigra_ext::VigCorrFlatDivFunctor<<declaration error> >’ does
not have any field named ‘m_InvResp’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:65:
error: ‘fr’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:65:
error: class ‘vigra_ext::VigCorrFlatDivFunctor<<declaration error> >’ does
not have any field named ‘m_Adjust’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:65:
error: ‘adj’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In member function ‘int vigra_ext::VigCorrFlatDivFunctor<<declaration error>
>::operator()(const int&, const int&) const’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:78:
error: there are no arguments to ‘m_InvResp’ that depend on a template
parameter, so a declaration of ‘m_InvResp’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:78:
error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing
the use of an undeclared name is deprecated)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:81:
error: there are no arguments to ‘m_Adjust’ that depend on a template
parameter, so a declaration of ‘m_Adjust’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
At global scope:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:85:
error: expected identifier before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:85:
error: expected ‘>’ before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:87:
error: default argument for template parameter for class enclosing ‘class
vigra_ext::VigCorrDivFunctor<<declaration error> >’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:91:
error: expected unqualified-id before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:95:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class A> struct vigra::NumericTraits’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:95:
error: expected a type, got ‘65536’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:98:
error: expected ‘,’ or ‘...’ before ‘&’ token
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:98:
error: ISO C++ forbids declaration of ‘InvResp’ with no type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:102:
error: ‘InvResp’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:103:
error: ‘VigFunc’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:104:
error: ‘Adjust’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:108:
error: ‘first_argument_type’ has not been declared
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In constructor ‘vigra_ext::VigCorrDivFunctor<<declaration error>
>::VigCorrDivFunctor(int)’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:99:
error: class ‘vigra_ext::VigCorrDivFunctor<<declaration error> >’ does not
have any field named ‘m_InvResp’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:99:
error: ‘fr’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:99:
error: class ‘vigra_ext::VigCorrDivFunctor<<declaration error> >’ does not
have any field named ‘m_VigFunc’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:99:
error: ‘vf’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:99:
error: class ‘vigra_ext::VigCorrDivFunctor<<declaration error> >’ does not
have any field named ‘m_Adjust’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:99:
error: ‘adj’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In member function ‘int vigra_ext::VigCorrDivFunctor<<declaration error>
>::operator()(const int&, float, float) const’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:112:
error: there are no arguments to ‘m_InvResp’ that depend on a template
parameter, so a declaration of ‘m_InvResp’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:112:
error: there are no arguments to ‘m_VigFunc’ that depend on a template
parameter, so a declaration of ‘m_VigFunc’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
At global scope:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:118:
error: expected identifier before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:118:
error: expected ‘>’ before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:120:
error: default argument for template parameter for class enclosing ‘class
vigra_ext::VigCorrFlatAddFunctor<<declaration error> >’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:124:
error: expected unqualified-id before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:128:
error: ‘VT2’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:132:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class A> struct vigra::NumericTraits’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:132:
error: expected a type, got ‘65536’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:135:
error: ‘VT2’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:135:
error: template argument 1 is invalid
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:137:
error: expected ‘,’ or ‘...’ before ‘&’ token
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:137:
error: ISO C++ forbids declaration of ‘InvResp’ with no type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:141:
error: ‘InvResp’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:142:
error: ‘Adjust’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:146:
error: ‘first_argument_type’ has not been declared
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:146:
error: ‘second_argument_type’ has not been declared
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In constructor ‘vigra_ext::VigCorrFlatAddFunctor<<declaration error>
>::VigCorrFlatAddFunctor(int)’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:138:
error: class ‘vigra_ext::VigCorrFlatAddFunctor<<declaration error> >’ does
not have any field named ‘m_InvResp’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:138:
error: ‘fr’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:138:
error: class ‘vigra_ext::VigCorrFlatAddFunctor<<declaration error> >’ does
not have any field named ‘m_Adjust’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:138:
error: ‘adj’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In member function ‘int vigra_ext::VigCorrFlatAddFunctor<<declaration error>
>::operator()(const int&, const int&) const’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:150:
error: there are no arguments to ‘m_InvResp’ that depend on a template
parameter, so a declaration of ‘m_InvResp’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
At global scope:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:154:
error: expected identifier before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:154:
error: expected ‘>’ before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:156:
error: default argument for template parameter for class enclosing ‘class
vigra_ext::VigCorrAddFunctor<<declaration error> >’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:160:
error: expected unqualified-id before numeric constant
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:164:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class A> struct vigra::NumericTraits’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:164:
error: expected a type, got ‘65536’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:168:
error: expected ‘,’ or ‘...’ before ‘&’ token
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:168:
error: ISO C++ forbids declaration of ‘InvResp’ with no type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:172:
error: ‘InvResp’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:173:
error: ‘VigFunc’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:174:
error: ‘Adjust’ does not name a type
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:178:
error: ‘first_argument_type’ has not been declared
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In constructor ‘vigra_ext::VigCorrAddFunctor<<declaration error>
>::VigCorrAddFunctor(int)’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:169:
error: class ‘vigra_ext::VigCorrAddFunctor<<declaration error> >’ does not
have any field named ‘m_InvResp’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:169:
error: ‘fr’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:169:
error: class ‘vigra_ext::VigCorrAddFunctor<<declaration error> >’ does not
have any field named ‘m_VigFunc’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:169:
error: ‘vf’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:169:
error: class ‘vigra_ext::VigCorrAddFunctor<<declaration error> >’ does not
have any field named ‘m_Adjust’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:169:
error: ‘adj’ was not declared in this scope
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In member function ‘int vigra_ext::VigCorrAddFunctor<<declaration error>
>::operator()(const int&, float, float) const’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:182:
error: there are no arguments to ‘m_InvResp’ that depend on a template
parameter, so a declaration of ‘m_InvResp’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:182:
error: there are no arguments to ‘m_VigFunc’ that depend on a template
parameter, so a declaration of ‘m_VigFunc’ must be available
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In function ‘void vigra_ext::flatfieldVigCorrection(vigra::triple<Iterator,
Iterator, Accessor>, std::pair<MaskIterator, MaskAccessor>,
std::pair<MaskImageIterator, MaskAccessor>, double, double, bool, typename
vigra::NumericTraits<typename SrcAccessor::value_type>::RealPromote,
typename vigra::NumericTraits<typename
SrcAccessor::value_type>::RealPromote, bool)’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:446:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:46:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrFlatDivFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:450:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:119:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrFlatAddFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:457:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:46:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrFlatDivFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:461:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:119:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrFlatAddFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:
In function ‘void vigra_ext::radialVigCorrection(vigra::triple<Iterator,
Iterator, Accessor>, std::pair<MaskIterator, MaskAccessor>, double, double,
const std::vector<double, std::allocator<double> >&, hugin_utils::FDiff2D,
bool, typename vigra::NumericTraits<typename
SrcAccessor::value_type>::RealPromote, typename
vigra::NumericTraits<typename SrcAccessor::value_type>::RealPromote, bool)’:
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:493:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:86:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrDivFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:497:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:155:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrAddFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:504:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:86:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrDivFunctor’
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:508:
error: wrong number of template arguments (4, should be 1)
/Users/Shared/development/hugin_related/huginpython/src/hugin_base/vigra_ext/VignettingCorrection.h:155:
error: provided for ‘template<<declaration error> > class
vigra_ext::VigCorrAddFunctor’
make[2]: ***
[src/hugin_script_interface/CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o] Error
1
make[1]: *** [src/hugin_script_interface/CMakeFiles/_hsi.dir/all] Error 2
make: *** [all] Error 2
--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx