[MacPorts] #51814: digikam @4.9.0: error: no template named 'vector'; did you mean 'std::vector'? (was: digikam @4.9.0 (kde, kde4) fails to build)
MacPorts
noreply at macports.org
Sat Jul 9 17:44:09 PDT 2016
#51814: digikam @4.9.0: error: no template named 'vector'; did you mean
'std::vector'?
----------------------+--------------------------------
Reporter: uwe2@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: invalid | Keywords:
Port: digikam |
----------------------+--------------------------------
Changes (by ryandesign@…):
* cc: jan@…, caulier.gilles@… (added)
* status: new => closed
* resolution: => invalid
* port: => digikam
Comment:
The log says:
{{{
:info:build /usr/local/include/opencv2/contrib/contrib.hpp:273:23: error:
no template named 'vector'; did you mean 'std::vector'?
:info:build Octree( const vector<Point3f>& points, int maxLevels =
10, int minPoints = 20 );
:info:build ^
}}}
This means you have a copy of opencv installed in /usr/local. We
[wiki:FAQ#usrlocal don't support installing software in /usr/local] while
using MacPorts, because of the likelihood of these kinds of conflicts.
Please remove what you have installed in /usr/local.
Even after doing so, digikam won't build, however; we're tracking that
problem in #48081. We need to update digikam to a newer version; an update
is proposed in #47772.
--
Ticket URL: <https://trac.macports.org/ticket/51814#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list