arjun.a
rename files
6c7b14a
Ticket Name: CCS/TDA2: how can i do eve work in Visual Studio?
Query Text:
Part Number: TDA2 Tool/software: Code Composer Studio use c_intrinsics_host_port-0_91_00-Setup.exe i can emulation C66 code in Visual Studio. now i am do a eve project ,i am plan to do this in Visual Studio first then i have to move the code into CCS project and run it on the evm board! i make a new Visual Studio project and i put ti_ccsv7\ccsv7\tools\compiler\arp32_1.0.9\include\vcop\vcop.h in the project as many eve function is emulat is vcop.h #define VCOP_HOST_EMULATION 1. arp32.h and vcopmem.h also put in the project but complie have many problems in arp32.h vcop.h 179 IntelliSense: 未定义标识符 "VCOP_MEMVIEW" e:\ti6657\vc_program\eve_sample\eve_sample\vcop.h 2323 22 eve_sample 170 IntelliSense: 未定义标识符 "builtin" e:\ti6657\vc_program\eve_sample\eve_sample\arp32.h 108 14 eve_sample 153 IntelliSense: 不允许使用不完整的类型 e:\ti6657\vc_program\eve_sample\eve_sample\arp32.h 83 14 eve_sample 147 IntelliSense: 不允许使用不完整的类型 e:\ti6657\vc_program\eve_sample\eve_sample\arp32.h 73 14 eve_sample 错误 107 error C2374: “__attribute__”: 重定义;多次初始化 e:\ti6657\vc_program\eve_sample\eve_sample\arp32.h 82 1 eve_sample
Responses:
Shuai, For visual studio build you only need to include vcop.h and define VCOP_HOST_EMUlATION in the build. EVE SW build system already supports host emulation build and you can use the following command ( after setting all the environment variables and visual studio environment variables) : gmake TARGET_PLATFORM=PC ( run this command from the top most directory of EVE SW). Regards, Anshu
Hi Anshu I am no want to build all the eve SW . i make a new Visual Studio project , in this try to run median3x3. i move code in the Visual Studio project (ti_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\kernels\imgsiglib\vcop_median3x3) like the image upstairs post.
Shuai, As mentioned earlier you need to define in your build VCOP_HOST_EMULATION = 1 for host emulation build. Regards, Anshu