Comments (4)
done @ c7d037c
from larcv.
But I do get a compiler error that looks like a compiler version issue while building DBSCANN algorithm:
In file included from DBSCANAlgo.cxx:3:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/algorithm:62:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:2263:11: error: no matching function for call to object of type 'mycompare_t'
while (__comp(*__first, __pivot))
^~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:2296:19: note: in instantiation of function template specialization
'std::__unguarded_partition<__gnu_cxx::__normal_iterator<std::pair<int, double> *, std::vector<std::pair<int, double>, std::allocator<std::pair<int, double> > > >,
std::pair<int, double>, mycompare_t>' requested here
return std::__unguarded_partition(__first + 1, __last, *__first, __comp);
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:2337:11: note: in instantiation of function template specialization
'std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<std::pair<int, double> *, std::vector<std::pair<int, double>, std::allocator<std::pair<int, double> > > >,
mycompare_t>' requested here
std::__unguarded_partition_pivot(__first, __last, __comp);
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:5498:9: note: in instantiation of function template specialization
'std::__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<int, double> *, std::vector<std::pair<int, double>, std::allocator<std::pair<int, double> > > >, long,
mycompare_t>' requested here
std::__introsort_loop(__first, __last,
^
DBSCANAlgo.cxx:264:12: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<std::pair<int, double> *, std::vector<std::pair<int,
double>, std::allocator<std::pair<int, double> > > >, mycompare_t>' requested here
std::sort( hitlist.begin(), hitlist.end(), mycompare );
^
DBSCANAlgo.cxx:221:12: note: candidate function not viable: 2nd argument ('const std::pair<int, double>') would lose const qualifier
bool operator() ( std::pair<int,double>& lhs, std::pair<int,double>& rhs ) {
^
In file included from DBSCANAlgo.cxx:3:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/algorithm:62:
from larcv.
Same result as above on develop with GCC 4.8.4 on ubuntu 14.04.5
from larcv.
thanks guys! moving this new issue into its own record #84
from larcv.
Related Issues (20)
- larcv python script crashes when larlite is configured HOT 8
- LArbys/caffe UseThread: false doesn't fill HOT 2
- Can't Open RGB Viewer HOT 1
- PyROOT issue in viewer (and proposed fix) HOT 7
- enhanced hoverrect
- segmentation image not showing up in v05 production! HOT 2
- minor: app objects rebuild when typing make, even if nothing changes HOT 2
- production tools HOT 2
- Segmentation Relabeling HOT 2
- New modules HOT 1
- Supera failure HOT 3
- [LArbys/cafef] IO optimization HOT 1
- error: no class named 'CircularBufferBase' in namespace 'larcv' HOT 2
- compiler error with DBSCAN code when using GCC 4 HOT 6
- UBWireTool.cxx not build HOT 2
- [CRITICAL] <MultiROICropper::process> MultiROICropper.cxx::L50 EventImage2D size 0 <= target channel 0 HOT 6
- error running vertex code. giving <VertexAna::process> Cannot find nearest wire for (-1,-1,-1) HOT 4
- Running vertex container gives me this error HOT 2
- Lot's of warning from signed versus unsigned integer comparisons HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larcv.