02-01-2012 03:34 PM
I am working on a new project and I am getting the following error when I compile:
In file included from C:/bbndk-1.0/target/qnx6/usr/include/stdio.h:30,
Build error occurred, build is stopped
This comes from line 93 in platform.h which is the #include line below:
Does anyone know why I might be getting this and even better know how I can resolve it?
02-01-2012 04:53 PM
Try to define __ARM__ (if you are compiling for PB not for Simulator) in Project's properties->C/C++ Build->Settings->QCC Compiler->Defines (-D) section.
02-01-2012 05:33 PM
-V4.4.2,gcc_ntoarmv7le_cpp -w1 -IC:/bbndk-1.0/target/qnx6/usr/include/freetype2 -IC:/bbndk-1.0/target/qnx6/../target-override/usr/
02-01-2012 05:44 PM
Where does this definition __QNXNTO__ come from? Did you specifically put that or your project came with it? How did you create your project? I don't have this for my test projects. Anyway try to remove it (and __ARM__ proposed earlier) and don't forget to put it back if it does not help -)
02-01-2012 07:17 PM
It looks like it caused the issue -)
Anyway I don't have simple answer for you but looks like something is wrong with you environment set up for this project.