Chris Liang(deleted)
|
How to use Eigen in QNX 6.4.1
|
Chris Liang(deleted)
05/01/2019 10:39 PM
post119691
|
How to use Eigen in QNX 6.4.1
Hi all
Anyone knows how to include Eigen?
my target is QNX 6.4.1, PPC
I am using momentics for corss-compiling on windows
my program is simple
#include <Eigen/Dense>
using Eigen::MatrixXd;
int main(int argc, char *argv[])
{
MatrixXd m(2,2);
return 0;
}
when I compile it, it shows following errors:
Compiling my_math.cpp
qcc -V4.2.4,gcc_ntoppcbe_ecpp-ne -D_NO_CONSOLE_IO_ -DNDEBUG -O2 -IC:\src_Robotics\Robotics/Releases/Include -IC:\
eigen_include\Eigen\src\Core -D_EMBEDDED_APPLICATION_ -Wno-unknown-pragmas -c vo_math.cpp
vo_math.cpp:26:23: error: Eigen/Dense: No such file or directory
cc: C:/QNX640/host/win32/x86/usr/lib/gcc/powerpc-unknown-nto-qnx6.4.0/4.2.4/cc1plus caught signal 1
make: *** [vo_math.o] Error 1
Thanks in advance
|
|
|