[overture] Re: Compilation Problem

  • From: Daniel Appeloe <appelo@xxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Fri, 03 Apr 2009 09:04:01 -0700

Try adding
#include <algorithm>
where sort resides.
Daniel


On Apr 3, 2009, at 8:57 AM, RCY wrote:

I am getting the following error when I try to compile Overture v2.2.
I would appreciate any help in resolving this problem

Recif

g++ -fPIC -fpermissive -I/home/recif/Overture.v22/include -I. - DUSE_MESA -I/home/recif/A++/install/include -I/usr/include -I/usr/ include -DBL_USE_DOUBLE -DBL_Solaris -Wno-deprecated -I/usr/lib/ perl/5.10/CORE /home/rchella/A++P++-0.7.9d/STL-link - DHAS_MODFL_PROTO -g -c LoadBalancer.C LoadBalancer.C: In member function 'int LoadBalancer ::determineLoadBalanceKernighanLin(GridDistributionList&, int) const':
LoadBalancer.C:474: error: 'sort' was not declared in this scope
make[1]: *** [LoadBalancer.o] Error 1
make[1]: Leaving directory `/home/recif/Overture.v22/GridFunction'
make: *** [all] Error 2


Other related posts: