build fails with VS2008 (Feature #1561)


Added by nvcv - about 13 years ago. Updated about 13 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vladislav Vinogradov % Done:

0%

Category:build/install
Target version:2.4.0
Difficulty: Pull request:

Description

As of late December 2011 or so, it seems that openCV can no longer be compiled with VS 2008 due to the use of std::tr1 in NCVPyramid.hpp:

d:\src\svn\opencv\modules\gpu\src\nvidia\core\NCVPyramid.hpp(69): error: namespace "std::tr1" has no member "shared_ptr" 
d:\src\svn\opencv\modules\gpu\src\nvidia\core\NCVPyramid.hpp(69): error: expected a ">" 

Is the use of tr1 critical? It's currently only in a couple files. I'm not sure it's fair to assume that most people out there have access to VS2010.


Associated revisions

Revision 9304d32b
Added by Vladislav Vinogradov about 13 years ago

disabled unnecessary code (it can't be compiled with VS 2008 Ticket #1561)

Revision 8224f984
Added by Andrey Pavlenko over 11 years ago

Merge pull request #1561 from alalek:ocl_refactoring

History

Updated by Vladislav Vinogradov about 13 years ago

  • Status deleted (Open)

Updated by Vladislav Vinogradov about 13 years ago

I disabled this code, it doesn't used anywhere, we have another wrapper for ImagePyramid (cv::gpu::ImagePyramid).

  • Status set to Done
  • (deleted custom field) set to fixed

Updated by Andrey Kamaev about 13 years ago

  • Target version set to 2.4.0
  • Description changed from As of late December 2011 or so, it seems that openCV can no longer be compile... to As of late December 2011 or so, it seems that openCV can no longer be compile... More

Also available in: Atom PDF