This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ref was not declared in this scope

Tags: None
(comma "," separated)
stangirala
Registered Member
Posts
4
Karma
0

Ref was not declared in this scope

Mon Aug 26, 2013 5:09 pm
Hello all, I am using gcc 4.8.1 and have a problem trying to get Eigen to work with my project. The project was built on linux and I am trying to port it to Windows under cygwin. The problem I am having is that certain symbols such as Ref turn up as not declared. I was wondering if you guys had hints as to how I could fix this. Eigen/Core has been included properly as the other symbols are recognized at this point. Any hint would be greatly appreciated.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Ref has been introduced in Eigen 3.2, so please make sure you're including the right version.
stangirala
Registered Member
Posts
4
Karma
0
ggael wrote:Ref has been introduced in Eigen 3.2, so please make sure you're including the right version.


I am using Eigen 3.2.0. And I don't find Ref being defined in src/Core/Ref.h. In fact there is no such file. I checked the compressed download and do not find the file there either.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Then it's not 3.2. What does Eigen/src/Core/util/Macros.h says? (the Eigen version is defined at the beginning of that file).
stangirala
Registered Member
Posts
4
Karma
0
ggael wrote:Then it's not 3.2. What does Eigen/src/Core/util/Macros.h says? (the Eigen version is defined at the beginning of that file).


Indeed it says 3.1.4, I may have downloaded the wrong package thinking it were 3.2.0. Thank you very much for the assistance.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]