|   | 40 | == 2.2. creating a component (in C++) == | 
          
          
            |   | 41 | The information on how to do this can be found in /html/Howto.html under the doxygen generated docs for nox. As the steps require file creation, compilation, ect, you may need root privelages on the machine. The rough steps are as follows: | 
          
          
            |   | 42 |  | 
          
          
            |   | 43 | 1. Run nox-new-c-app.py from coreapps, netapps, or webapps (all three directories are found in ${NOXPATH}/nox/src/nox).  | 
          
          
            |   | 44 | {{{ | 
          
          
            |   | 45 |  /home/openflow/nox/src/scripts/nox-new-c-app.py -v cnf-test | 
          
          
            |   | 46 | }}} | 
          
          
            |   | 47 |  | 
          
          
            |   | 48 |  nox-new-c-app.py basically creates a directory containing the framework for your application (Makefile, meta.json, ect), basing it on coreapps/simple_c_app. Your app gets created in whichever directory you run nox-new-c-app.py from; in this case we created a new app "cnf-test" in directory netapps. | 
          
          
            |   | 49 |  | 
          
          
            |   | 50 | 2. run `boot.sh` and `configure` so nox can find and load the app when it starts up: | 
          
          
            |   | 51 | {{{ | 
          
          
            |   | 52 | sh /home/openflow/nox/boot.sh  | 
          
          
            |   | 53 | /home/openflow/nox/configure | 
          
          
            |   | 54 | }}}   | 
          
          
            |   | 55 |  | 
          
          
            |   | 56 |  |