Author Topic: Using HADesigner: The Screencasts  (Read 31344 times)

blackoper

  • Veteran
  • ***
  • Posts: 110
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #15 on: May 14, 2008, 08:24:41 pm »
ok understood

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #16 on: May 15, 2008, 08:03:23 am »
New Screencast:

http://www.localeconcept.com/HADesigner-Screencasts/ogg/11_Monitor_mode.ogg

In this one: Monitor Mode, how Broadcast Video DesignObjs work, and designing the monitor mode screens for all variations and the smallUI skin for the Cisco 7970

Large screencast, most of the UI placement edited out.

-Thom

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #17 on: April 17, 2009, 06:55:26 am »
Hi,
I am new to LinuxMCE.I have followed all the screencast .I didnot find any information regarding the command ScreenGen. Actually I have designed a new Menu and have placed a button on Main menu. I have updated the database as well linking the designobj(MenuCreated)with the screen and added a new screen.This button actually requires to show the menu but whenever I click the button on the log it shows ScreenHandler:BadGotoScreen.. error.
Can you please explain about Screenhandler and Where is ScreenGen command as explained in wiki .. at http://wiki.linuxmce.org/index.php/Integrating_custom_controls_in_Orbiter

Please help I just want to add a new menu and want that menu to show whenever i click a button.

Thanks..

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #18 on: April 17, 2009, 06:58:17 am »
You have to check out a copy of the SVN, and go to src/ScreenGen, and build a copy of ScreenGen and run it. You then build a new copy of Orbiter.

-Thom

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #19 on: April 17, 2009, 07:10:03 am »
Sorry Thom,
I didnot understand. I have the SVN and I can see the folder ScreenGen and has the ScreenGen.cpp file as well.. what do you meant by "build a copy of ScreenGen ... and build a new copy of Orbiter "? .
I have setup the development environment as shown on wiki.

Thanks..

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #20 on: April 17, 2009, 07:29:51 am »
You need to prep the makefiles for ScreenGen and Orbiter.

ScreenGen can be built with 'make'

Orbiter can be built with 'make bin' and 'make -f Makefile_opengl bin'

-Thom

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #21 on: April 17, 2009, 08:15:06 am »
Hi,
Now I have build the ScreenGen as well as the orbiter .
What is the next step?
do I have to copy the ScreenGen and Orbiter  to /usr/pluto/bin ?

Can you please explain step by step  on how to compile after finishing the design in HADesigner ? I think this part is missing in your screencast .

Thanks,

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #22 on: April 17, 2009, 08:17:30 am »
no, you run ScreenGen from the same folder you built it from.

./ScreenGen

this generates the new header files for the screen handler.

You can then build Orbiter using the method I described above, and copy the resulting Orbiter files to /usr/pluto/bin

If you have any other orbiters, You will have to copy or build the new Orbiter binary for them.

-Thom

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #23 on: April 17, 2009, 08:28:41 am »
Hi ,
I got this error
/linuxmce@dcerouter:~/trunk/src/ScreenGen$ ./ScreenGen
05      04/16/09 23:26:55.432           Generating classes... <0xb6dd2940>
Segmentation fault

What am I doing wrong ?

Thanks



tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #24 on: April 17, 2009, 08:30:23 am »
copy the contents of /usr/pluto/lib to src/lib

and rebuild screengen, and try again.

-Thom

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #25 on: April 17, 2009, 08:55:04 am »
Hi Thom,
I am getting this errro while trying to copy the files.

linuxmce@dcerouter:~/trunk/src/lib$ cp /usr/pluto/lib/* /trunk/src/lib/
cp: target `/trunk/src/lib/' is not a directory: No such file or directory

Thanks,
sameer

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #26 on: April 17, 2009, 09:02:15 am »
try cp /usr/pluto/lib/* .

instead,

since you're already in the target directory.

-Thom

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #27 on: April 17, 2009, 09:05:49 am »
I did it .
with this error :

linuxmce@dcerouter:~/trunk/src/lib$ cp /usr/pluto/lib/*
cp: target `/usr/pluto/lib/libSerial.so' is not a directory

After that i rebuild the ScreenGen but I got the same error .What is missing ?

Thanks,


samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #28 on: April 17, 2009, 10:02:42 am »
Hi Thom,
Thanks for your help. I solved. Obviously I was not following the whole steps as described.I solved it . It working now.

One small question, I want to change the mouse pointer in the UI , I like the mouse pointer of UI2.How can I change it ? which command should I implement?
Thanks again for your help.

samir

  • Regular Poster
  • **
  • Posts: 20
    • View Profile
Re: Using HADesigner: The Screencasts
« Reply #29 on: April 18, 2009, 10:39:26 am »
Hi ,
I am getting an error while trying to run ./ScreenGen .

Generating classes... <0xb6dde940>
Segmentation fault

Please help;