|
blackoper
|
 |
« Reply #15 on: May 14, 2008, 07:24:41 pm » |
|
ok understood
|
|
|
|
|
Logged
|
|
|
|
|
|
|
samir
|
 |
« Reply #17 on: April 17, 2009, 05: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_OrbiterPlease help I just want to add a new menu and want that menu to show whenever i click a button. Thanks..
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #18 on: April 17, 2009, 05: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
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #19 on: April 17, 2009, 06: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..
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #20 on: April 17, 2009, 06: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
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #21 on: April 17, 2009, 07: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,
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #22 on: April 17, 2009, 07: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
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #23 on: April 17, 2009, 07: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
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #24 on: April 17, 2009, 07:30:23 am » |
|
copy the contents of /usr/pluto/lib to src/lib
and rebuild screengen, and try again.
-Thom
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #25 on: April 17, 2009, 07: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
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #26 on: April 17, 2009, 08:02:15 am » |
|
try cp /usr/pluto/lib/* .
instead,
since you're already in the target directory.
-Thom
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #27 on: April 17, 2009, 08: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,
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #28 on: April 17, 2009, 09: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.
|
|
|
|
|
Logged
|
|
|
|
|
samir
|
 |
« Reply #29 on: April 18, 2009, 09:39:26 am » |
|
Hi , I am getting an error while trying to run ./ScreenGen .
Generating classes... <0xb6dde940> Segmentation fault
Please help;
|
|
|
|
|
Logged
|
|
|
|
|