Hi, I failed to build app.out in codec engine example $(CE_INSTALL_DIR)/examples/ti/sdo/ce/examples/apps/video_copy with DVSDK_4_01_00_09 on rowboat android.
The reason for me to do this is I need to develop android applications with codec engine.
Here is my steps:(1) go to directory configuro/evm3530
(2) modify config.bld with android toolchain gcc, cflags and ldflags.
(3) modify makefile with android toolchain gcc, cflags and ldflags.Because Android toolchain dosen't support -lpthread and it implements thread functions in libc,so I changed "app.out: app.o main_native.o $(LINKER_FILE) $(CC) -o $@ $^ -lpthread "to "app.out: app.o main_native.o $(LINKER_FILE) $(CC) -o $@ $^ $(ANDROID_LD_FLAGS) "
(4) modify xdcpaths.mak
(5) execute "make"It complainted "collect2: ld terminated with signal 11 [segmentation fault]" simply beacause I delete "-lpthread". But when I added it back it just complainted "-lpthread not found"
Is there a way for toolchains like android to get away from "-lpthread" ?
I posted to rowboat google group but. Hope someone could help me. Thanks in advance.
please refer to project in hardware/ti/omx/, which is a app component based on codec engine and DMAI.
Hi, Bin LiuThanks for your reply. Now I can compile the video_copy app.out(or app_remote.xv5T) sucessfully. But When I load app.out and all.x64P on my beagleboard, it shows "App-> ERROR: can't open codec viddec_copy"Seems like it couldn't connect to codec.And I tried to rebuild codecs in examples/ti/sdo/ce/examples/codec and sucessed. but it still remains the same.
After that I build DVSDK_04_01_00_09 alone with arm-none-linux-gnu- to compile elsewhere. The app.out or app_remote.xv5T here can sucessfully run with all.x64P built from rowboat-android on linux, so it means all.x64P is fine.
So there is something wrong with the app. I'm new with Codec Engine, I don't know what went wrong. Thanks.Attach with CE_DEBUG=3 debuginfo. 7181.debuginfo.TXT
Hi, Bin Liu
I solved my problem. I added viddec and videnc codec to cs.x64P server, and it worked.
Thank you for your help!
Hi Cooper L,
I'm facing similar problems while trying to compile and run the codec engine examples in a Rowboat Android (FroYo) environment.
I'd really appreciate if you could send me the makefile you used to compile the video_copy example.
Thanks in advance!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.