Hi
I'm sorry if this question doesnt belong here ...im unsure which forum to address!
I'm cross compiling using codesourcery in Eclipse (windows7) and I can build fine for my target (beaglebone). Now, my problem is that when I include arm_neon.h then I cannot use the intrinsics when building in Eclipse. If I compile (with neon intrinsics) using the command prompt then it works fine. So there seems to be something buggy in the IDE configuration.
My code is as simple as this:
#include "stdio.h"
#include "arm_neon.h"
float32x4_t *y;
float x[4] = {0,1,2,3};
int main(void) {
y = (float32x4_t*) x;
printf("Neon is supported... !\n");
return 0;
}
When building in Eclipse I get this error:
Type 'float32x4x4_t' could not be resolved main.c /hello line 10 Semantic Error
I should be doing this using a makefile but as a beginner here I would appreciate the IDE doing the job now.
Thanks
[Updated on: Sun, 24 June 2012 19:19]
Report message to a moderator