Re: hxclientkit question
Daniel Yek <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <[email protected]> |
Tran Hoang Thanh wrote: > Hi Daniel, > > Thanks a lot for your instruction, I will test with ogg files soon (I > am at home now :)) > > I still have other questions: > > 1. What is the difference between Helix player and Helix Client? Helix Player is the Top-level GUI project using Helix client. Helix Player is a shipping product. Helix client is the Helix (client-side) infrastructure, which is used in all players based on Helix (such as the player for Symbian, MID, etc.), and can be thought of as the splay (Simple PLAYer) command line program. Splay is a test app. used extensively in Helix client core development. It is not a shipping product. > 2. May you give me instruction to build a simple app which use > hxclientkit as API to call Helix DNA client's library? You have been looking at it! The simple app., the hxclientkit testkit, is: player/hxclientkit/test/main.cpp A more complicated one with GTK+ GUI called gtktest is at: player/gtk/test/main.cpp https://player.helixcommunity.org/2005/dev/overview.html > I tested to build the main.cpp (the file was in "test" folder), but it > failed with error like "***error". I included > |$HELIX_ROOT/source/player/hxclientkit/dbg/libhxclient.so.1.0|. as a > shared library (I used eclipse as IDE) We only support building testkit and gtktest using Ribosome's build.py or umake.py commands. If you want to use Eclipse to build them, you can figure out the libraries necessary by examining the Makefile generated by umake.py. It shouldn't be difficult. -- Daniel Yek. > but there was still error. So, do I need to include other libraries in > compilation process? > Thanks a lot for your time and help so far > > > Best regards, > > Tran Hoang Thanh > > > --- On *Mon, 8/4/08, Daniel Yek /<[email protected]>/* wrote: > From: Daniel Yek <[email protected]> > Subject: Re: [Helix-client-dev] hxclientkit question > To: "Tran Hoang Thanh" <[email protected]> > Cc: [email protected] > Date: Monday, August 4, 2008, 11:11 PM > > Tran Hoang Thanh wrote: > > <snip> > > I tested with your suggestion, but I have the following error: > > > > mobile-odh-root@LinuxPC3:~/HelixDNA/helix/player/hxclientkit/test$ > > HX_DEBUGLEVEL=2 HELIX_LIBS=/usr/local/helix/HelixPlayer dbg/testkit > > > file:///home/mobile-odh-root/Thanh/C++/Streaming/1.mp3 > > Hi Tran, > > Helix Player (the specific player product!) only supports Open Source > (GPL-licensed) codecs. MP3 is patent-incumbered and thus cannot be > supported as part of its GPL-licensed codecs. > > Try OGG clips, or either use RealPlayer or Helix client (which isn't > shipped as a product; as opposed to Helix Player); both of these > supports MP3. > > -- > Daniel Yek. > > > > > HX_ASSERT failed: (m_pIPrefs)... File plghand2.cpp, Line 6259 > > OnVolumeChanged > > HX_ASSERT failed: (m_pPreferences)... File hxflsrc.cpp, Line 351 > > OnContentStateChanged > > OnTitleChanged > > HX_ASSERT failed: (m_pPreferences)... File hxflsrc.cpp, Line 351 > > OnGroupsChanged > > OnErrorOccurred > > > > Do you have any idea for this? Thanks in advance. > > > > > > Best regards, > > > > Tran Hoang > Thanh > > > > > > > > --- On Sat, 8/2/08, Daniel Yek <[email protected]> wrote: > > > >> From: Daniel Yek <[email protected]> > >> Subject: Re: [Helix-client-dev] hxclientkit question > >> To: "Tran Hoang Thanh" <[email protected]> > >> Cc: [email protected] > >> Date: Saturday, August 2, 2008, 2:30 AM > >> Tran Hoang Thanh wrote: > >> > >>> 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 > >> > >>> <snip> > >>> > >>> > >>> 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) > >>> > >>> > >> That is a debug assertion about Preferences that can be > >> ignored. > >> > >> Try this: > >> $ HX_DEBUGLEVEL=2 HELIX_LIBS=/usr/local/helix/HelixPlayer > >> dbg/testkit > >> file:///home/mobile-odh-root/Thanh/C++/Streaming/1.mp3 > >> > >> Setting debug level to 2 causes the assert to print out the > >> same error > >> message and then ignore it. > >> > >> -- > >> Daniel Yek. > >> > >> > >> > >>> 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 > >>> _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev