[Insight-users] Compiling itk on Solaris using Forte 6 or Forte 7 (new One Studio) Compilers

Martin Styner martin_styner at ieee . org
Mon, 19 Aug 2002 10:59:11 +0200


Hi
VXL is now working with Solaris, thanks everybody for the corrections.
BUT Maybe anybody has some great thoughts about this compiling problem, 
since there are still open compiling issues with Solaris CC.
  There are 2 of them (don't look at the warnings):
A)CC ... 
/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Numerics/itkVersorTransformOptimizer.cxx 
-o itkVersorTransformOptimizer.o
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Numerics/vxl/vcl/sunpro/vcl_vector.h", 
line 20: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Numerics/vxl/vcl/sunpro/vcl_vector.h", 
line 24: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Numerics/vxl/vcl/sunpro/vcl_vector.h", 
line 24: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itkFixedArray.h", 
line 188: Error: complex expression not allowed in dummy array type 
declaration.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itkVector.h", 
line 57:     Where: While specializing "itk::FixedArray<double, 3>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itkVector.h", 
line 57:     Where: Specialized in itk::Vector<double, 3>.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Numerics/itkVersorTransformOptimizer.cxx", 
line 45:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itkFixedArray.h", 
line 198: Error: complex expression not allowed in dummy array type 
declaration.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itkVector.h", 
line 57:     Where: While specializing "itk::FixedArray<double, 3>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itkVector.h", 
line 57:     Where: Specialized in itk::Vector<double, 3>.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Numerics/itkVersorTransformOptimizer.cxx", 
line 45:     Where: Specialized in non-template code.
2 Error(s) and 3 Warning(s) detected.

B) CC ... 
/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.cxx 
-o itkWatershedEquivalencyTable.o
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 712: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 730: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 753: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 753: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 774: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 797: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 820: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 820: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 924: Warning (Anachronism): Type names qualified by template 
parameters require "typename".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 106: Error: A qualifier is not allowed for select1st.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: While specializing "itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 106: Error: std must be a class name, not a namespace name.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: While specializing "itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 106: Error: Use ";" to terminate declarations.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: While specializing "itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 107: Error: Use ";" to terminate declarations.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: While specializing "itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 107: Error: sel1st is not defined.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: While specializing "itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hashtable.h", 
line 334: Error: The base "itk::hashtable_base<std::pair<const unsigned 
long, unsigned long>, itk::Alloc>" must be a previously defined class or 
struct.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 110:     Where: While specializing "itk::hashtable<std::pair<const 
unsigned long, unsigned long>>".
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Common/itk_hash_map.h", 
line 110:     Where: Specialized in itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 62:     Where: Specialized in non-template code.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 84: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 84: Error: Could not find a match for itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>::find(const unsigned long).
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 85: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 85: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 85: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 86: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 98: Error: Could not find a match for itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>::find(const unsigned long).
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 98: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 98: Error: The type "itk::hashtable_const_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 104: Error: Could not find a match for itk::hash_map<unsigned long, 
unsigned long, itk::hash<unsigned long>, std::equal_to<unsigned long>, 
std::allocator<char>>::erase(const unsigned long).
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 120: Error: The type "itk::hashtable_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 120: Error: The type "itk::hashtable_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 120: Error: The type "itk::hashtable_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 124: Error: The type "itk::hashtable_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 124: Error: The type "itk::hashtable_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.h", 
line 124: Error: The type "itk::hashtable_iterator<std::pair<const 
unsigned long, unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, 
itk::EqualKey, itk::Alloc>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.cxx", 
line 27: Error: The type 
"std::pair<itk::hashtable_iterator<std::pair<const unsigned long, 
unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, itk::EqualKey, 
itk::Alloc>, bool>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.cxx", 
line 35: Error: The type 
"std::pair<itk::hashtable_iterator<std::pair<const unsigned long, 
unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, itk::EqualKey, 
itk::Alloc>, bool>" is incomplete.
"/home/encephalon/mstyner/itk/Insight_CC/Insight/Code/Algorithms/itkWatershedEquivalencyTable.cxx", 
line 35: Error: The type 
"std::pair<itk::hashtable_iterator<std::pair<const unsigned long, 
unsigned long>, itk::Key, itk::HashFcn, itk::ExtractKey, itk::EqualKey, 
itk::Alloc>, bool>" is incomplete.
Compilation aborted, too many Error messages.

Martin