You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to go through the "C66 DSP programming with OpenCL" examples that are listed under Cloud9 AI->c66->README.md but I am running into compile errors when doing. I've gone through the Introduction_to_OpenCL_slides.pdf listed in the README and copied the examples to my home folder, but I am seeing the following errors for some of the examples.
Ex:
`cp -r /usr/share/ti/examples/opencl .
make`
I was able to get passed the SDL errors by installing SDL 1.2 (would have preferred SDL2), but the RTOS one I can not find info on.
=============== mandelbrot =================
Compiling main.cpp
main.cpp:30:21: fatal error: SDL/SDL.h: No such file or directory
#include <SDL/SDL.h>
^
compilation terminated.
../make.inc:238: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
=============== simple =======
=============== mandelbrot =================
Compiling main.cpp
=============== simple =================
=============== matmpy =================
=============== sgemm =================
/usr/bin/ld: libcblas_atlas_arm/libcblas.a(cblas_errprn.o): relocation R_ARM_THM_MOVW_ABS_NC against `stderr' can not be used when making a shared object; recompile with -fPIC
libcblas_atlas_arm/libcblas.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:16: recipe for target 'sgemm' failed
make[1]: *** [sgemm] Error 1
Also, I am not sure what to set PSDK_RTOS to to resolve these issues.
=============== persistent_kernel_timeout =================
../make.inc:205: *** Environment variable PSDK_RTOS is not defined; set PSDK_RTOS to point at the target RTOS PSDK for automatic configuration or set XDC_DIR to the corresponding package directories. Stop.
=============== persistent_task_concurrent =================
../make.inc:205: *** Environment variable PSDK_RTOS is not defined; set PSDK_RTOS to point at the target RTOS PSDK for automatic configuration or set XDC_DIR to the corresponding package directories. Stop.
=============== persistent_messageq_concurrent =================
../../make.inc:205: *** Environment variable PSDK_RTOS is not defined; set PSDK_RTOS to point at the target RTOS PSDK for automatic configuration or set XDC_DIR to the corresponding package directories. Stop.
Makefile:5: recipe for target 'persistent_messageq_concurrent' failed
make[1]: *** [persistent_messageq_concurrent] Error 2
=============== persistent_clock_concurrent =================
../make.inc:205: *** Environment variable PSDK_RTOS is not defined; set PSDK_RTOS to point at the target RTOS PSDK for automatic configuration or set XDC_DIR to the corresponding package directories. Stop.
=============== persistent_clock_spanning =================
../make.inc:205: *** Environment variable PSDK_RTOS is not defined; set PSDK_RTOS to point at the target RTOS PSDK for automatic configuration or set XDC_DIR to the corresponding package directories. Stop.
=============== persistent_task_spanning =================
../make.inc:205: *** Environment variable PSDK_RTOS is not defined; set PSDK_RTOS to point at the target RTOS PSDK for automatic configuration or set XDC_DIR to the corresponding package directories. Stop.
Makefile:43: recipe for target 'all' failed
make: *** [all] Error 2
Cheers,
Jon
The text was updated successfully, but these errors were encountered:
I'm attempting to go through the "C66 DSP programming with OpenCL" examples that are listed under Cloud9 AI->c66->README.md but I am running into compile errors when doing. I've gone through the Introduction_to_OpenCL_slides.pdf listed in the README and copied the examples to my home folder, but I am seeing the following errors for some of the examples.
Ex:
`cp -r /usr/share/ti/examples/opencl .
make`
I was able to get passed the SDL errors by installing SDL 1.2 (would have preferred SDL2), but the RTOS one I can not find info on.
Installing SDL 1.2 as follows resolves this:
sudo apt-get install libsdl1.2-dev
This one I do not know.
Also, I am not sure what to set PSDK_RTOS to to resolve these issues.
Cheers,
Jon
The text was updated successfully, but these errors were encountered: