RE: hxclientkit question
Tran Hoang Thanh <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thanks a lot Eric and Daniel, you are really kind :) I successfully built hxclientkit with your instruction. I also tested with "test" folder. I also followed with "python /home/mobile-odh-root/HelixDNA/build/bin/umake.py" to create makefile in "test" folder. The messages were as follows: mobile-odh-root@LinuxPC3:~/HelixDNA/helix/player/hxclientkit/test$ sudo python /home/mobile-odh-root/HelixDNA/build/bin/umake.py [#-00000001][2008-08-01 14:22:01][-1210115888][INFO ] : Ribosome v2.4.11 [#-00000002][2008-08-01 14:22:01][-1210115888][INFO ] : Using Python v2.5.1 [#-00000003][2008-08-01 14:22:01][-1210115888][INFO ] : Log dir: /home/mobile-odh-root/HelixDNA/helix/player/hxclientkit/test/ribosome_logs [#-00000005][2008-08-01 14:22:01][-1210115888][INFO ] : Running tool: umake UMAKE: Umakefil -> Makefile in player/hxclientkit/test UMAKE: Applying profile /home/mobile-odh-root/HelixDNA/build/umakepf/helix-client-all-defines.pf mobile-odh-root@LinuxPC3:~/HelixDNA/helix/player/hxclientkit/test$ sudo make clean rm -f dbg/testkit dbg/obj/lib dbg/testkit_libs.a dbg/obj/main.o mobile-odh-root@LinuxPC3:~/HelixDNA/helix/player/hxclientkit/test$ sudo python /home/mobile-odh-root/HelixDNA/build/bin/umake.py [#-00000001][2008-08-01 14:23:40][-1210160944][INFO ] : Ribosome v2.4.11 [#-00000002][2008-08-01 14:23:40][-1210160944][INFO ] : Using Python v2.5.1 [#-00000003][2008-08-01 14:23:40][-1210160944][INFO ] : Log dir: /home/mobile-odh-root/HelixDNA/helix/player/hxclientkit/test/ribosome_logs [#-00000005][2008-08-01 14:23:40][-1210160944][INFO ] : Running tool: umake UMAKE: Umakefil -> Makefile in player/hxclientkit/test UMAKE: Applying profile /home/mobile-odh-root/HelixDNA/build/umakepf/helix-client-all-defines.pf mobile-odh-root@LinuxPC3:~/HelixDNA/helix/player/hxclientkit/test$ sudo make g++ -pipe -Wall -Wreturn-type -Wno-non-virtual-dtor -fno-exceptions --permissive -Wno-ctor-dtor-privacy -fno-rtti -march=pentium -mcpu=pentium -O0 -g -DDEBUG -D_DEBUG -I../../../common/runtime/pub -I/usr/X11R6/include -I../../../player/hxclientkit/pub -I./pub -I. -include dbg/player_hxclientkit_test_ribodefs.h -o dbg/obj/main.o -c main.cpp `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. python /home/mobile-odh-root/HelixDNA/build/bin/armerge.py -a ar -d dbg/obj/lib dbg/testkit_libs.a ../../../player/hxclientkit/dbg/libhxclient.a [#-00000001][2008-08-01 14:23:45][1075537600][INFO ] : Ribosome v2.4.11 [#-00000002][2008-08-01 14:23:45][1075537600][INFO ] : Using Python v2.5.1 [#-00000003][2008-08-01 14:23:45][1075537600][INFO ] : Log dir: /home/mobile-odh-root/HelixDNA/helix/player/hxclientkit/test/ribosome_logs [#-00000005][2008-08-01 14:23:45][1075537600][INFO ] : Running tool: armerge g++ -o dbg/testkit dbg/obj/main.o dbg/testkit_libs.a -L/usr/X11R6/lib -lX11 -lpthread -ldl rm "dbg/testkit_libs.a" Am I right when assuming that there was no error? However, when I tested "testkit" in "dbg" folder I got error as follows: mobile-odh-root@LinuxPC3:~/HelixDNA/helix/player/hxclientkit/test$ HELIX_LIBS=/usr/local/helix/HelixPlayer dbg/testkit file:///home/mobile-odh-root/Thanh/C++/Streaming/1.mp3 HX_ASSERT failed: (m_pIPrefs)... File plghand2.cpp, Line 6259 Aborted (core dumped) For your information, I do not have RealPlayer, I only installed HelixPlayer in "/usr/local/helix/HelixPlayer". In this folder, I saw: "Bin", "codecs", "common", "doc", "mozilla", "plugins", "postinst", "share" folders and hxplay, hxplay.bin, install.log, license, readme files. Thanks a lot for your time and support so far. Best regards, Tran Hoang Thanh --- On Fri, 8/1/08, ljun <[email protected]> wrote: > From: ljun <[email protected]> > Subject: RE: [Helix-client-dev] hxclientkit question > To: [email protected], "'Milko Boic'" <[email protected]> > Cc: [email protected] > Date: Friday, August 1, 2008, 2:09 PM > Comments inline. > > Best regards > > Eric Li (李军) > > www.realnetworks.com > > > -----Original Message----- > > From: Tran Hoang Thanh [mailto:[email protected]] > > Sent: Friday, August 01, 2008 1:28 PM > > To: 'Milko Boic'; [email protected] > > Cc: [email protected] > > Subject: RE: [Helix-client-dev] hxclientkit question > > > > Hi Eric, > > > > 1. Did you mean I should run "python > umake.py"? > [Eric Li] No. > > > > When I did so, I got the error:"python: can't > open the file 'umake.py': [Errno 2] No such file or > directory > > > > In fact, in > /home/mobile-odh-root/HelixDNA/helix/player/hxclientkit > folder, there was no umake.py or Umake.py file, there was > only > > Umakefil, Umakefil.orig... > > > > 2. I also tested running "python > /home/mobile-odh-root/HelixDNA/build/umake/umake.py > [Eric Li] It's something like. I prefer to use > "umake.py" or "python > /home/mobile-odh-root/HelixDNA/build/bin/umake.py". > Note: it's > "bin/umake.py", not "umake/umake.py". > If you have add /home/mobile-odh-root/HelixDNA/build/bin/ > to your PATH, certainty you can run > "umake.py" directly. > > I got the following error: > > > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 68: This file is the execution enviornment for Umake. > Within the umake.py > > namespace, all the *.upp (post-processed > Umakefil/*.pcf files) are > > executed. Try to keep the namespace clean, to > discourage the use of utility > > functions by over zealous Umakefil writiers > (that's developers). This is > > also the namespace where the platform configuration > files (*.cf) are > > executed.: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 70: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 71: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 72: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 73: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 74: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 75: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 77: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 78: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 79: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 81: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 82: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 83: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 84: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 85: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 87: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 89: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 90: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 91: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 92: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 93: import: not found > > /home/mobile-odh-root/HelixDNA/build/umake/umake.py: > 94: Syntax error: word unexpected (expecting ")") > > > > Thanks for your time. > > > > Best regards, > > > > Tran Hoang Thanh > > > > > > > > --- On Fri, 8/1/08, ljun <[email protected]> wrote: > > > > > From: ljun <[email protected]> > > > Subject: RE: [Helix-client-dev] hxclientkit > question > > > To: [email protected], "'Milko > Boic'" <[email protected]> > > > Cc: [email protected] > > > Date: Friday, August 1, 2008, 1:04 PM > > > Try "umake.py" rather than > "umake". Tell > > > me what happens. > > > Umake.py is used to generate Makefile. > > > > > > > > > Best regards > > > > > > Eric Li (李军) > > > > > > www.realnetworks.com > > > > > > > -----Original Message----- > > > > From: Tran Hoang Thanh > [mailto:[email protected]] > > > > Sent: Friday, August 01, 2008 11:57 AM > > > > To: 'Milko Boic'; [email protected] > > > > Cc: [email protected] > > > > Subject: RE: [Helix-client-dev] hxclientkit > question > > > > > > > > Hi Eric, > > > > > > > > Thanks a lot for your fast response. I have > gone > > > through my build process again and would like to > post my > > > steps for your > > > convenient > > > > check. > > > > > > > > 1. Yes, I went through all the steps in > > > > https://helixcommunity.org/developers/get_connected_to_cvs/quickstart > > > > where my BUILD_ROOT and PATH as follows > > > > > > > > My build folder is at > > > /home/mobile-odh-root/HelixDNA/build > > > > > > > > export > BUILD_ROOT=/home/mobile-odh-root/HelixDNA/build > > > > export PATH=$BUILD_ROOT/bin:$PATH > > > > export SYSTEM_ID=linux-2.2-libc6-gcc32-i586 > > > > > > > > Then, I created "helix" directory > in > > > /home/mobile-odh-root/HelixDNA, cd to helix and > run build > > > by "python > > > > > > > > /home/mobile-odh-root/HelixDNA/build/bin/build.py" > > > > > > > > 2. After that, I chose options as follows > > > > > > > > # Select option '0' (Set BIF > Branch) > > > > > > > > * Choose option '17' > > > (hxclient_1_5_0_cayenne) > > > > > > > > # Select option '1' (Set Target) > > > > > > > > * Choose option '3' (Player > Targets) > > > > o Choose option '0' > > > (player_hxclientkit) > > > > > > > > # Select option '2' (Set Profile) > > > > > > > > * Choose option '2' > > > (helix-client-all-defines) > > > > > > > > # Select option '3' (Run Build) > > > > > > > > Everything went fine (the last message > showed > > > "Build complete in 00:02, 0 of 5 modules > failed") > > > > > > > > 3. Until this point, I cd to > > > /home/mobile-odh-root/HelixDNA/helix/hxclientkit > > > > and run > > > > 3.1 make clean ==>there was no error > > > > 3.2 umake (==> bash: umake: command not > found) > > > > 3.3 make ==> there was no error > > > > > > > > 4. I cd to "test" directory and > saw the > > > following files: GPL.txt, LICENSE.txt, > linux2.pcf, > > > main.cpp, RCSL.txt, RPSL.txt, Umakefil, > > > unix.pcf > > > > I rerun make clean, umake, make and still > got the same > > > errors. > > > > > > > > May you give me any advice for this issue? > Thanks a > > > lot for your time. > > > > > > > > Best regards, > > > > > > > > Tran Hoang Thanh > > > > > > > > > > > > > > > > --- On Fri, 8/1/08, ljun > <[email protected]> wrote: > > > > > > > > > From: ljun <[email protected]> > > > > > Subject: RE: [Helix-client-dev] > hxclientkit > > > question > > > > > To: [email protected], > "'Milko > > > Boic'" <[email protected]> > > > > > Cc: [email protected] > > > > > Date: Friday, August 1, 2008, 11:22 AM > > > > > Comments inline. > > > > > > > > > > Best regards > > > > > > > > > > Eric Li (李军) > > > > > > > > > > www.realnetworks.com > > > > > > -----Original Message----- > > > > > > From: > > > [email protected] > > > > > > > > > [mailto:[email protected]] On > > > > > Behalf Of Tran Hoang > > > > > Thanh > > > > > > Sent: Friday, August 01, 2008 > 10:37 AM > > > > > > To: Milko Boic > > > > > > Cc: > [email protected] > > > > > > Subject: [Helix-client-dev] > hxclientkit > > > question > > > > > > > > > > > > Hi Milko, > > > > > > > > > > > > I am using Helix DNA for > integrating it into > > > Moblin. > > > > > However, I got the following issues > when working > > > with > > > > > hxclientkit: > > > > > > > > > > > > 1. I have downloaded and followed > > > instructions at > > > > > > > > > > > > > > > https://player.helixcommunity.org/2005/doc/hxclientkit/build-instructions.html#hxclientkit_Specifics > > > > > > However, when building > hxclientkit, I could > > > not run > > > > > "umake", my error was: umake: > command > > > not found > > > > > [Eric Li] You haven't setup helix > build > > > system yet. > > > > > Have you installed python? And make > sure > > > you've checked > > > > > out the ribosome/build > > > > > and "ribosome/build/bin" is > in your > > > PATH > > > > > variable. You can refer to this page: > > > > > > > > > https://helixcommunity.org/developers/get_connected_to_cvs/quickstart > > > > > > > > > > > Then, I still run make, everything > went fine > > > > > > > > > > > > 2. I cd to test directory in order > to test > > > > > "main.cpp". At this point, I > could not > > > run make > > > > > clean, umake or make. The errors were > > > > > as > > > > > > follows: > > > > > > make: *** No rule to make target > > > "clean". > > > > > Stop > > > > > > umake: command not found > > > > > > make: *** No targets specified and > no > > > makefile found. > > > > > Stop > > > > > [Eric Li] I suppose that you have not > generated > > > Makefile > > > > > via umake command, so you can't > make. Set up > > > Helix > > > > > build system and run > > > > > umake firstly. > > > > > > > > > > > > 3. I tested to build > "main.cpp" > > > (which is in > > > > > test directory) by Eclipse. I also > included > > > > > libhxclient.so.1.0. as a shared library > > > > > for > > > > > > compilation. However, when I built > the code, > > > I got the > > > > > errors as follows: > > > > > > > > > > > > undefined reference to > > > 'ClientPlayerClose' > > > > > > undefined reference to > > > 'ClientPlayerCreate' > > > > > > undefined reference to > > > 'ClientPlayerOpenUrl' > > > > > > undefined reference to > > > 'ClientPlayerPlay' > > > > > [Eric Li] Setup build system and then > use make, > > > after that > > > > > see if these errors still exist. > > > > > > > > > > > > Do you have any idea or advice for > me? > > > Anyway, thanks > > > > > a lot for your time > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Best regards, > > > > > > > > > > > > Tran Hoang Thanh > > > > > > > > > > > > > > > > > > > > > > > > --- On Fri, 8/1/08, Milko Boic > > > <[email protected]> > > > > > wrote: > > > > > > > > > > > > > From: Milko Boic > <[email protected]> > > > > > > > Subject: [Helix-client-dev] > Re: .mp4 > > > progressive > > > > > download using RTP > > > > > > > To: "Shivaji Patil" > > > > > <[email protected]> > > > > > > > Cc: > [email protected] > > > > > > > Date: Friday, August 1, 2008, > 4:01 AM > > > > > > > Shivaji, > > > > > > > > > > > > > > Capture of standard RTP > stream and its > > > recording > > > > > into a mp4 > > > > > > > file format > > > > > > > would be accomplished via > dtdriver > > > framework. > > > > > > > The framework would use > rtspfformat as > > > the > > > > > source. Some > > > > > > > modifications to > > > > > > > this format would be needed > to support > > > .sdp files > > > > > > > (extensions) to be able > > > > > > > to open RTP streams w/o any > RTSP. > > > > > > > Modification to the existing > renderer > > > plugins > > > > > would be > > > > > > > needed to support > > > > > > > packet assembly w/o decoding. > > > > > > > mp4 filewriter would be used > to > > > write-out the > > > > > file. > > > > > > > > > > > > > > Documents on mp4 file format > are > > > available from > > > > > ISO and RTP > > > > > > > from IETF. > > > > > > > dtdriver framework > information is > > > available in > > > > > Helix > > > > > > > Community at > > > > > > > > > > > > > > > > https://datatype.helixcommunity.org/2005/devdocs/DTR-USR-DtdriveFramework.txt > > > > > > > . > > > > > > > > > > > > > > Please direct specific > questions in > > > regard what > > > > > you would > > > > > > > like to do to > > > > > > > > [email protected]. > > > > > > > > > > > > > > Thanks, > > > > > > > Milko > > > > > > > > > > > > > > At 09:36 AM 7/31/2008, > Shivaji Patil > > > wrote: > > > > > > > >Hi, > > > > > > > > I am working on .mp4 > file > > > progressive > > > > > download > > > > > > > using RTP. Please > > > > > > > > proved me some documents > or info > > > if > > > > > possible. > > > > > > > > > > > > > > > >Many Thanks > > > > > > > >-Shivaji > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > Helix-client-dev mailing list > > > > > > > > [email protected] > > > > > > > > > > > > > > > > http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Helix-client-dev mailing list > > > > > > > [email protected] > > > > > > > > > > > > > > > http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev