02-20-2013 01:19 PM - edited 02-20-2013 01:19 PM
Hi,
When I compile my project it gives a link error:
G:\bbndk\host_10_0_9_534\win32\x86\usr\bin\ntoarm-
src\main.o: could not read symbols: File in wrong format
Looking at the compile commands I'm seeing the object files being created with -V4.6.3,gcc_ntox86_cpp and the linker trying to use -V4.6.3,gcc_ntoarmv7le_cpp
If I right click on the project and select Properties, is specifies the target as ARM v7 and the compiler/assembler/linker options including -V4.6.3,gcc_ntoarmv7le_cpp which is correct. But if I right click the "src" dir and select properties is says -V4.6.3,gcc_ntox86_cpp which is giving the conflict. Where did it get this from?
I tried "Restore default" and changing the options around but it didn't correct the problem. Is this a bug? How can I fix the "-V4.6.3,gcc_ntox86_cpp" issue? Is there something I'm not seeing? Do I have to manually edit the .project files to fix the problem?
The IDE version is
Version: 10.1.0
Build id: v201302012246
Thanks!
Solved! Go to Solution.
02-20-2013 02:52 PM
Solved my own problem. Went to the individual cpp files and selected "Resource Configurations" -> reset to default. Not sure why it had selected x86 before and the target change didn't propogate.