AnsweredAssumed Answered

Problems using the bf image processing toolbox with a c++ project.

Question asked by Mahdi on Apr 4, 2010
Latest reply on Mar 7, 2012 by CraigG

Hi all,

 

I'm trying to use the Blackfin Image processing Toolbox library on a simulation project. I'm running in a few compile problems which I was hoping someone can help me with.

 

I've started a c++ project from scratch (using the new project option of vdsp++) and have followed through the steps in the user guide of the toolbox library. When I try to compile I get the following errors:

 

1. ".\cxcore.h", line 1837: cc0030:  error: floating constant is out of range
          CV_NODE_IS_REAL(node->tag) ? node->data.f : 1e300;

 

2.".\cxcore.h", line 1933: cc0005:  fatal error: could not open source file
          "cxcore.hpp"
  #include "cxcore.hpp"

 

I'm not sure what is causing the first error... as for the second I checked in the Programe files/Analog Devices/SoftwareModules but couldn't find the cxcore.hpp anywhere. There was however a .h version of the file.

 

Note that it compiled successfully if the project is written in c (naming main.c rather than main.cpp)

 


I'm using VDSP++ 5.0 with update 7.

 

Can anyone please tell me where I'm going wrong... Any help is really appreciated.

 

Many thanks in advance.

 

Mahdi.

Outcomes