This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSEVM6678: Type #35 #error directive: "Unsupported OS! Please specify either LIB_OPENCL or LIB_RTOS" .ccsproject /OMPDSP line 38, external location: C:\ti\libarch_1_0_0_0\packages\ti\libarch\src\lib_cachecfg.h C/C++ Problem

Expert 1320 points

Replies: 0

Views: 38

Part Number: TMDSEVM6678

I am trying to build the below example:

fftlib/src/fft_omp_sp_1d_c2c/fft_omp_sp_1d_c2c_d.c

But I get the below error message:

Type #35 #error directive: "Unsupported OS! Please specify either LIB_OPENCL or LIB_RTOS" .ccsproject /OMPDSP line 38, external location: C:\ti\libarch_1_0_0_0\packages\ti\libarch\src\lib_cachecfg.h C/C++ Problem

Any clue is much appreciate it!

Regards


**** Clean-only build of configuration Debug for project OMPDSP ****

"C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O

DEL /F "OMPDSP.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "OMPDSP.out"
DEL /F "fft\fft_omp_sp_1d_c2c_d.obj"
DEL /F "fft\fft_omp_sp_1d_c2c_d.d"
RMDIR /S/Q "configPkg\"
Could Not Find C:\Users\Mehdi-laptop\workspace_v9_2\OMPDSP\Debug\OMPDSP.hex
Could Not Find C:\Users\Mehdi-laptop\workspace_v9_2\OMPDSP\Debug\OMPDSP.out
Could Not Find C:\Users\Mehdi-laptop\workspace_v9_2\OMPDSP\Debug\fft\fft_omp_sp_1d_c2c_d.obj
Finished clean

**** Build Finished ****

**** Build of configuration Debug for project OMPDSP ****

"C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

Building file: "../omp_config.cfg"
Invoking: XDCtools
"C:/ti/ccs920/xdctools_3_60_01_27_core/xs" --xdcpath="C:/ti/openmp_dsp_c667x_2_06_03_00/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/mathlib_c66x_3_1_2_4/packages;C:/ti/pdk_c667x_2_0_15/packages;C:/ti/ctoolslib_2_2_0_0/packages;C:/ti/linalg_1_2_0_0/packages;C:/ti/edma3_lld_2_12_05_30C/packages;C:/ti/ipc_3_50_04_07/packages;C:/ti/libarch_1_0_0_0/packages;C:/ti/ndk_3_61_01_01/packages;C:/ti/bios_6_76_02_02/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;C:/ti/openmp_dsp_c667x_2_06_03_00/packages/ti/runtime/openmp/platforms/evm6678;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.runtime.openmp.platforms.evm6678 -r release -c "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c6000_8.3.4" "../omp_config.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring omp_config.xe66 from package/cfg/omp_config_pe66.cfg ...
Configuring OpenMP runtime for device: TMS320C6678
generating custom ti.sysbios library makefile ...
Linking with library ti.drv.qmss:./lib/c66/ti.drv.qmss.ae66
Linking with library ti.csl:./lib/c6678/c66/release/ti.csl.ae66
Starting build of library sources ...
making C:/Users/Mehdi-laptop/workspace_v9_2/OMPDSP/src/sysbios/sysbios.ae66 ...
Build of libraries done.
cle66 package/cfg/omp_config_pe66.c ...
Finished building: "../omp_config.cfg"

Building file: "../fft/fft_omp_sp_1d_c2c_d.c"
Invoking: C6000 Compiler
"C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c6000_8.3.4/bin/cl6x" -mv6600 --include_path="C:/ti/openmp_dsp_c667x_2_06_03_00/packages" --include_path="C:/ti/mathlib_c66x_3_1_2_4/packages/ti/mathlib" --include_path="C:/ti/fftlib_3_1_0_0/packages" --include_path="C:/Users/Mehdi-laptop/workspace_v9_2/OMPDSP" --include_path="C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c6000_8.3.4/include" -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --openmp --preproc_with_compile --preproc_dependency="fft/fft_omp_sp_1d_c2c_d.d_raw" --obj_directory="fft" --cmd_file="configPkg/compiler.opt" "../fft/fft_omp_sp_1d_c2c_d.c"

>> Compilation failure
fft/subdir_rules.mk:9: recipe for target 'fft/fft_omp_sp_1d_c2c_d.obj' failed
"C:\ti\libarch_1_0_0_0\packages\ti\libarch\src/lib_cachecfg.h", line 38: fatal error #35: #error directive: "Unsupported OS! Please specify either LIB_OPENCL or LIB_RTOS"
1 catastrophic error detected in the compilation of "../fft/fft_omp_sp_1d_c2c_d.c".
Compilation terminated.
gmake: *** [fft/fft_omp_sp_1d_c2c_d.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****