Difference between revisions of "Startup Info For Developers"

From LinuxMCE
Jump to: navigation, search
m ('''First Steps in making your own device driver''' (WIP))
m ('''First Steps in making your own device driver''' (WIP))
Line 14: Line 14:
 
  3- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/
 
  3- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/
  
  4- cp /usr/pluto/lib/* /usr/lib
+
  4- cp /usr/pluto/lib/* /usr/src/lmce/LinuxMCE-0810/src/lib
  
 
  5- export SNR_LDFLAGS=" "
 
  5- export SNR_LDFLAGS=" "
 
       export SNR_CPPFLAGS=" "
 
       export SNR_CPPFLAGS=" "
  
6- make
 
  
7- Create the template via WebAdmin (add new device?)
+
6- Create the template via WebAdmin (add new device?)
  
8-  Sqlcvs update to DCE via WebAdmin
+
7-  Sqlcvs update to DCE via WebAdmin
  
  9-  run /usr/pluto/bin/DCEGen -d templatenumber
+
  8-  run /usr/pluto/bin/DCEGen -d templatenumber
  
  10-  run /usr/pluto/bin/sql2cpp
+
  9-  run /usr/pluto/bin/sql2cpp
  
  11-  cd /src/nameofdevice
+
  10-  cd /src/nameofdevice
  
  12-  make bin
+
  11-  make bin
  
  13- cp /src/nameofdevice /usr/pluto/bin
+
  12- cp /src/nameofdevice /usr/pluto/bin
  
14- Add device via WebAdmin (advanced>configuration>devices)
+
13- Add device via WebAdmin (advanced>configuration>devices)
  
  
 
Thanks to TSCHAKeee2
 
Thanks to TSCHAKeee2

Revision as of 15:52, 23 March 2010

First Steps in making your own device driver (WIP)

1- sudo apt-get install pluto-dcegen
      sudo apt-get install pluto-sql2cpp
      sudo apt-get install build-essential
      sudo apt-get install subversion
2- cd /usr/src
      sudo mkdir lmce
      sudo chown "youruser" lmce
      cd lmce
3- svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/
4- cp /usr/pluto/lib/* /usr/src/lmce/LinuxMCE-0810/src/lib
5- export SNR_LDFLAGS=" "
      export SNR_CPPFLAGS=" "


6- Create the template via WebAdmin (add new device?)

7- Sqlcvs update to DCE via WebAdmin

8-  run /usr/pluto/bin/DCEGen -d templatenumber
9-  run /usr/pluto/bin/sql2cpp
10-  cd /src/nameofdevice
11-  make bin
12- cp /src/nameofdevice /usr/pluto/bin

13- Add device via WebAdmin (advanced>configuration>devices)


Thanks to TSCHAKeee2