Difference between revisions of "Startup Info For Developers"

From LinuxMCE
Jump to: navigation, search
('''First Steps in making your own device driver''' (WIP))
('''First Steps in making your own device driver''' (WIP))
Line 5: Line 5:
  
 
1- cd /usr/src
 
1- cd /usr/src
sudo mkdir lmce
+
    sudo mkdir lmce
sudo chown linuxmce lmce
+
    sudo chown linuxmce lmce
cd lmce
+
    cd lmce
  
 +
2- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-810
  
2-  svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-810
+
3- cp /usr/pluto/lib/* /usr/src/lib
 
+
3-cp /usr/pluto/lib/* /usr/src/lib
+
  
 
4- export SNR_LDFLAGS=" "
 
4- export SNR_LDFLAGS=" "
 
       export SNR_CPPFLAGS=" "
 
       export SNR_CPPFLAGS=" "
  
5-sudo apt-get install pluto-dcegen
+
5- sudo apt-get install pluto-dcegen
sudo apt-get install pluto-sql2cpp
+
      sudo apt-get install pluto-sql2cpp
sudo apt-get install build-essential
+
      sudo apt-get install build-essential
  
6-make
+
6- make
  
 
7- create the template via webadmin (add new device?)
 
7- create the template via webadmin (add new device?)
  
8-sqlcvs update do DCE an web admin
+
8- sqlcvs update do DCE an web admin
  
8- run /usr/pluto/bin/DCEGen -d templatenumber
+
9- run /usr/pluto/bin/DCEGen -d templatenumber
  
9- run /usr/pluto/bin/sql2cpp
+
10- run /usr/pluto/bin/sql2cpp
  
10- cd /src/nameofdevice
+
11- cd /src/nameofdevice
  
11- make bin
+
12- make bin
  
12- cp /src/nameofdevice /usr/pluto/bin
+
13- cp /src/nameofdevice /usr/pluto/bin
  
13- add device via webadmin (advanced>configuration>devices)
+
14- add device via webadmin (advanced>configuration>devices)

Revision as of 21:16, 15 March 2010

First Steps in making your own device driver (WIP)

1- cd /usr/src

    sudo mkdir lmce
    sudo chown linuxmce lmce
    cd lmce

2- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-810

3- cp /usr/pluto/lib/* /usr/src/lib

4- export SNR_LDFLAGS=" "

     export SNR_CPPFLAGS=" "

5- sudo apt-get install pluto-dcegen

     sudo apt-get install pluto-sql2cpp
     sudo apt-get install build-essential

6- make

7- create the template via webadmin (add new device?)

8- sqlcvs update do DCE an web admin

9- run /usr/pluto/bin/DCEGen -d templatenumber

10- run /usr/pluto/bin/sql2cpp

11- cd /src/nameofdevice

12- make bin

13- cp /src/nameofdevice /usr/pluto/bin

14- add device via webadmin (advanced>configuration>devices)