← Back to team overview

hugin-devs team mailing list archive

[Bug 782780] Re: ERR already defined in src/foreign/ANN/kd_split.cpp

 

this patch / bug report is against an outdated version.  Can you please
try building 2011.2.0 (currently release candidate 1, likely to be
declared final in a few days) or, better, the default mercurial branch
(where your other patch has been applied)?

** Changed in: hugin
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/782780

Title:
  ERR already defined in src/foreign/ANN/kd_split.cpp

Status in Hugin - Panorama Tools GUI:
  Won't Fix

Bug description:
  building hugin on Solaris 11e with gcc 4.5.2 fails with the below error
  ERR seems to be already defined to 13 , but I wasn't able to find out where that definition is coming from.
  The attached patch helped me to get further in the build.

  cd /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/foreign/ANN && /usr/gcc/4.5/bin/g++   -DhuginANN_EXPORTS -O2 -g -fPIC -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/hugin_base -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign/vigra -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/celeste -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/build/src/celeste -I/home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src -I/opt/kde4/include/OpenEXR -I/opt/kde4/include   -o CMakeFiles/huginANN.dir/kd_split.cpp.o -c /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign/ANN/kd_split.cpp
  /home/test/packages/BUILD/hugin-2010.4.0/i386/hugin-2010.4.0/src/foreign/ANN/kd_split.cpp:34:14: error: expected unqualified-id before numeric constant

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/782780/+subscriptions


References