Other Parts Discussed in Thread: MMWAVEICBOOST,
Hi,
I keep getting errors when I try to build the code of 3d people counting lab.
Steps I follow:
1. Install CCS v 11.1.0 (selected mmwave sensor while installing CCS)
2. Downloaded & Installed mmWave SDK 03.05.00.04 (06 Jan 2021) from https://www.ti.com/tool/download/MMWAVE-SDK/03.05.00.04
3. Open CCS and go to Resource Explorer and follow this path Home / mmWave radar sensors / Embedded Software / Industrial Toolbox (4.12.0) / Labs / People Counting / 3D People Counting / 68xx 3D People Count MSS
(i click the import button and CCS installs the industrial toolbox)
4. I open mss_main.c & click on build
I have tried a similar set of steps with CCS v12, mmWave SDK 03.06.00.00-LTS (14 Jun 2022) [with this version of SDK I was getting a warning stating that 68xx 3D People Count MSS uses mmWave SDK 03.05.00.04 (06 Jan 2021) ]
The message that I get in the console when using Industrial Tool Industrial Toolbox (4.12.0) :
**** Build of configuration Debug for project 3D_people_count_68xx_mss ****
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
rm -f "C:/Users/manan/Desktop/Biopsin/Firmware_mmwave/3D_people_count_68xx_mss/3D_people_count_68xx_demo.bin"
makefile:205: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/manan/Desktop/Biopsin/Firmware_mmwave/3D_people_count_68xx_mss/3D_people_count_68xx_demo.bin, ...) failed.
gmake[1]: [pre-build] Error 2 (ignored)
Building file: "../mss/pcount3D_mss.cfg"
Invoking: XDCtools
"C:/ti/ccs1110/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss/pcount3D_mss.cfg"
mss/subdir_rules.mk:19: recipe for target 'build-1219968833-inproc' failed
2 [main] ? (16504) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x38888E0/0x37E88E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] ? (8028) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x38888E0/0x37C88E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
3 [main] ? (15616) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x38888E0/0x37F88E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] sh 1560 fork: child -1 - died waiting for longjmp before initialization, retry -1, exit code 0xC0000142, errno 11
C:/Users/manan/AppData/Local/Temp/make2396-1.sh: Cannot fork: Resource temporarily unavailable
C:/ti/ccs1110/xdctools_3_50_08_24_core/packages/xdc/bld/xdc_rules.mak:307: *** Error: Specified build configuration file '' is not found. Stop.
js: "C:/ti/ccs1110/xdctools_3_50_08_24_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-1219968833-inproc] Error 1
gmake[1]: *** [build-1219968833] Error 2
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
mss/subdir_rules.mk:16: recipe for target 'build-1219968833' failed
makefile:171: recipe for target 'all' failed
**** Build Finished ****
The message that I get in the console when using Industrial Tool Industrial Toolbox (4.11.0) :
**** Build of configuration Debug for project 3D_people_count_68xx_mss ****
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
rm -f "C:/Users/manan/Desktop/Biopsin/Firmware_mmwave/3D_people_count_68xx_mss/3D_people_count_68xx_demo.bin"
makefile:205: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/manan/Desktop/Biopsin/Firmware_mmwave/3D_people_count_68xx_mss/3D_people_count_68xx_demo.bin, ...) failed.
gmake[1]: [pre-build] Error 2 (ignored)
Building file: "../mss/pcount3D_mss.cfg"
Invoking: XDCtools
"C:/ti/ccs1110/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4Ft -p ti.platforms.cortexR:IWR68XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss/pcount3D_mss.cfg"
mss/subdir_rules.mk:19: recipe for target 'build-1219968833-inproc' failed
6425 [main] ? (3216) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x31F88E0/0x31488E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] ? (-14584) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x31F88E0/0x32888E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
1 [main] ? (-5732) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x31F88E0/0x31C88E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] ? (-14128) C:\ti\ccs1110\xdctools_3_50_08_24_core\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x31F88E0/0x32188E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
2 [main] sh 9016 fork: child -1 - died waiting for longjmp before initialization, retry -1, exit code 0xC0000142, errno 11
C:/Users/manan/AppData/Local/Temp/make1868-1.sh: Cannot fork: Resource temporarily unavailable
C:/ti/ccs1110/xdctools_3_50_08_24_core/packages/xdc/bld/xdc_rules.mak:307: *** Error: Specified build configuration file '' is not found. Stop.
js: "C:/ti/ccs1110/xdctools_3_50_08_24_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-1219968833-inproc] Error 1
gmake[1]: *** [build-1219968833] Error 2
gmake[1]: Target 'main-build' not remade because of errors.
gmake: *** [all] Error 2
mss/subdir_rules.mk:16: recipe for target 'build-1219968833' failed
makefile:171: recipe for target 'all' failed
**** Build Finished ****
Now, question is, how do I set up things correctly so that I don't get these errors, by using mmWave SDK 03.05.00.04 (06 Jan 2021) instead of mmWave SDK 03.06.00.00-LTS (14 Jun 2022) I stopped getting the warning message but it doesn't matter if I use Industrial Toolbox 4.12.0 or 4.11.0 I still get the same errors
gmake[2]: *** [build-1219968833-inproc] Error 1
gmake[1]: *** [build-1219968833] Error 2
Another thing to note here is, I have installed TIcloudAgent but I don't connect MMWAVEICBOOST board, and neither the IWR6843ISK-ODS board is connected to the MMWAVEICBOOST board.
So, far what my understanding has been that even though I don't connect the boards and still import the 3D people counting lab 68xx MSS code and try to build using CCS it shouldn't be throwing the errors it is throwing right now.
And why does the console keep on giving suggestions about the Cygwin DLL?