Issues with gcc compiler on linux-10.10(64 bit) [closed]

asked 2012-04-19 09:14:59 -0600

metal gravatar image

updated 2012-04-19 09:51:53 -0600

AHornung gravatar image

Hi guys, The issue which I am having is not related with ROS.But it might be helpful in future endeavors. I am trying to interface MATLAB with ardrone by following the tutorial in http://home.wlu.edu/~levys/software/ardrone_autopylot/. After doing "make" the issue which I am having is with gcc compiler,but I am not sure about this.

output after doing make:

In file included from /usr/local/MATLAB/R2011b/extern/include/matrix.h:293,
                 from /usr/local/MATLAB/R2011b/extern/include/engine.h:44,
                 from matlab_agent.c:29:
/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h:149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
In file included from /usr/local/MATLAB/R2011b/extern/include/matrix.h:294,
                 from /usr/local/MATLAB/R2011b/extern/include/engine.h:44,
                 from matlab_agent.c:29:
/usr/local/MATLAB/R2011b/extern/include/tmwtypes.h:798: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mwSignedIndex’
matlab_agent.c: In function ‘agent_comm_act’:
matlab_agent.c:90: warning: initialization from incompatible pointer type
make: *** [matlab_agent.o] Error 1

This looks like a compiler error anyone who has come across this kind of problem please share your experience.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by Eric Perko
close date 2012-04-19 15:32:32

Comments

Closing as off-topic. This should go on a different site, such as Stack Overflow.

Eric Perko gravatar image Eric Perko  ( 2012-04-19 15:32:18 -0600 )edit