Hi,
I have some problems about building dm6437_demo.
For information; I use dm6437, bios_5_31_02, CCStudio_V3.3 and dvsdk_1_01_00_15.
The first error was that the compile wouldn't detect xdc/std.h. I was able to solve this correcting xdcpath.mak files inside dvsdk... folder.
Now, at this stage, when I build the project I get these errors for the source files:
"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/sts.h", line 53: error: identifier "LgInt" is undefined
"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/sts.h", line 58: error: identifier "LgInt" is undefined
"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/sts.h", line 63: error: identifier "LgInt" is undefined
"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/prd.h", line 42: error: identifier "LgUns" is undefined
"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/trg.h", line 87: fatal error: #error Unsupport target processor
A) LgInt is defined in "C:\CCStudio_v3.3\bios_5_31_02\packages\ti\bios\include\std.h" as:
#if defined(_6x_)
typedef int LgInt; /* LGSIZE-bit signed integer */
#else
typedef long LgInt; /* LGSIZE-bit signed integer */
#endif
As we already know, there are two std.h includes in the source files, one is xdc/std.h which is a codec engine include and must be taken "C:\dvsdk_1_01_00_15\xdc_2_95_02\packages\xdc" and the other one is std.h which is a BIOS include file, that must be taken from "C:\CCStudio_v3.3\bios_5_31_02\packages\ti\bios\include\std.h"
It seems that, compile takes the both include files from "C:\dvsdk_1_01_00_15\xdc_2_95_02\packages\xdc", consequently leading to these specific "identifier xxx is undefined" errors. (I extrapolate this from: when I right click on #include <std.h> and click open document, it opens the xdc/std.h instead of .../ti/bios/include/std.h)
I would like to know how I can correct this confliction.
B) When I move LgInt and LgUns defines into xdc/std.h, I get precompile errors, so please keep in mind this is not a valid solution.
C) The other error "C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include/trg.h", line 87: fatal error: #error Unsupport target processor. This is the first time I see an error like this, so I could use some help.
I will be appreciated for any help or advice,
Thanks,
A. Erman Kulunyar