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

Block.h Compile Error

Tags: None
(comma "," separated)
smartyunique
Registered Member
Posts
2
Karma
0

Block.h Compile Error

Wed Nov 18, 2015 10:33 pm
Hey guys,

I'm trying to compile my objective C code in XCode. I have some C++ code that I use inside my objective C and I use Eigen library in my C++ code. The C++ code that uses the Eigen library compiles when I build it on VisualStudio on my windows computer. But when I'm trying to compile on a Mac in xCode, it fails; complaining about the Block.h file: "Unknown type name namespace".

I have not found anything on internet so I decided to post a question here to see if anyone can help.

Thanks
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Block.h Compile Error

Fri Nov 20, 2015 2:39 pm
Please post the entire error message with all compiler flags. Also, how do you include Eigen's headers?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
smartyunique
Registered Member
Posts
2
Karma
0

Re: Block.h Compile Error

Mon Nov 23, 2015 3:01 am
To include the header files I just copied and pasted the actual files into my include directory and added
#include <Eigen/Dense>
#include <Eigen/Core>

Is there anything else I need to do?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]