microemu-maemo

svs
2009-03-27
2013-04-26
  • svs

    svs - 2009-03-27

    Do anybody have working microemulator for N810?
    I've compiled microemulator 2.0.4.
    But can't compile microemu-maemo.
    Also compilation from cvs needs maven.
    I have only ant for maemo.
    Thank you in advance.

     
    • Bartek Teodorczyk

      Last time when I touched maemo port, it was in the beginning of 2006. I don't think that instructions from http://www.microemu.org/maemo/ would work at the moment with the current version of MicroEmulator. It would be nice though to update them since a lot of things in the project has changed. But I'm always out of time, unfortunately.

       
    • svs

      svs - 2009-03-28

      I tried to compile microemu-maemo follow this instruction and got a lot of errors:
      Buildfile: build.xml                                            

      init:

      compile:
          [javac] Compiling 2 source files to /usr/src/microemu-maemo/trunk/microemu-maemo/build
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:18: cannot find symbol
          [javac] symbol  : class Swt                                                                                
          [javac] location: package com.barteo.emulator.app                                                          
          [javac] import com.barteo.emulator.app.Swt;                                                                
          [javac]                               ^                                                                    
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:19: package com.barteo.emulator.app.ui.swt does not exist                                                                                
          [javac] import com.barteo.emulator.app.ui.swt.SwtDeviceComponent;                                            
          [javac]                                      ^                                                               
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:22: cannot find symbol 
          [javac] symbol: class Swt                                                                                    
          [javac] public class Main extends Swt                                                                        
          [javac]                           ^                                                                          
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:35: cannot find symbol 
          [javac] symbol  : variable super                                                                             
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             super.setDevice(maemoDevice);                                                            
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:37: cannot find symbol 
          [javac] symbol  : variable emulatorContext                                                                   
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             maemoDevice.init(emulatorContext);                                                       
          [javac]                              ^                                                                       
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:38: cannot find symbol 
          [javac] symbol  : variable shell                                                                             
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             shell.setSize(shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true));                        
          [javac]                           ^                                                                          
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:38: cannot find symbol 
          [javac] symbol  : variable shell                                                                             
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             shell.setSize(shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true));                        
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:57: cannot find symbol 
          [javac] symbol  : variable menuOpenJADFile                                                                   
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADFile = new MenuItem(fileSubmenu, SWT.PUSH);                                   
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:58: cannot find symbol 
          [javac] symbol  : variable menuOpenJADFile                                                                   
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADFile.setText("Open JAD File...");                                             
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:59: cannot find symbol 
          [javac] symbol  : variable menuOpenJADFileListener                                                           
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADFile.addListener(SWT.Selection, menuOpenJADFileListener);                     
          [javac]                                                        ^                                             
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:59: cannot find symbol 
          [javac] symbol  : variable menuOpenJADFile                                                                   
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADFile.addListener(SWT.Selection, menuOpenJADFileListener);                     
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:61: cannot find symbol 
          [javac] symbol  : variable menuOpenJADURL                                                                    
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADURL = new MenuItem(fileSubmenu, 0);                                           
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:62: cannot find symbol 
          [javac] symbol  : variable menuOpenJADURL                                                                    
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADURL.setText("Open JAD URL...");                                               
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:63: cannot find symbol 
          [javac] symbol  : variable menuOpenJADURLListener                                                            
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADURL.addListener(SWT.Selection, menuOpenJADURLListener);                       
          [javac]                                                       ^                                              
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:63: cannot find symbol 
          [javac] symbol  : variable menuOpenJADURL                                                                    
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuOpenJADURL.addListener(SWT.Selection, menuOpenJADURLListener);                       
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:69: cannot find symbol 
          [javac] symbol  : variable menuExitListener                                                                  
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             menuExit.addListener(SWT.Selection, menuExitListener);                                   
          [javac]                                                 ^                                                    
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:73: cannot find symbol 
          [javac] symbol  : variable devicePanel                                                                       
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             devicePanel = new SwtDeviceComponent(shell);                                             
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:73: cannot find symbol 
          [javac] symbol  : class SwtDeviceComponent                                                                   
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             devicePanel = new SwtDeviceComponent(shell);                                             
          [javac]                               ^                                                                      
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:74: cannot find symbol 
          [javac] symbol  : variable devicePanel                                                                       
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             devicePanel.setLayoutData(new GridData(GridData.FILL_BOTH));                             
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:81: cannot find symbol 
          [javac] symbol  : variable shell                                                                             
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             shell = new Shell(display, SWT.CLOSE | SWT.TITLE | SWT.MIN);                             
          [javac]             ^                                                                                        
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:83: cannot find symbol 
          [javac] symbol  : variable shell                                                                             
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             Main app = new Main(shell);                                                              
          [javac]                                 ^                                                                    
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:104: warning: [deprecation] toURL() in java.io.File has been deprecated                                                                  
          [javac]                                             URL url = file.exists() ? file.toURL() : new URL(args[i]);
          [javac]                                                                           ^                          
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:105: cannot find symbol
          [javac] symbol  : method openJadFile(java.net.URL)                                                           
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]                                             app.openJadFile(url);                                    
          [javac]                                                ^                                                     
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:113: cannot find symbol
          [javac] symbol  : method loadMidlet(java.lang.String,java.lang.Class)                                        
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]                                             m = app.loadMidlet("MIDlet", midletClass);               
          [javac]                                                    ^                                                 
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:120: cannot find symbol
          [javac] symbol  : method getLauncher()                                                                       
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]                     m = app.getLauncher();                                                           
          [javac]                            ^                                                                         
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:123: cannot find symbol
          [javac] symbol  : variable initialized                                                                       
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]             if (app.initialized) {                                                                   
          [javac]                    ^                                                                                 
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:125: cannot find symbol
          [javac] symbol  : method startMidlet(javax.microedition.midlet.MIDlet)                                       
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]                             app.startMidlet(m);                                                      
          [javac]                                ^                                                                     
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:128: cannot find symbol
          [javac] symbol  : variable shell                                                                             
          [javac] location: class org.microemu.maemo.Main                                                              
          [javac]                     shell.pack ();                                                                   
          [javac]                     ^                                                                                
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:129: cannot find symbol
          [javac] symbol  : variable shell
          [javac] location: class org.microemu.maemo.Main
          [javac]                     shell.open ();
          [javac]                     ^
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/Main.java:130: cannot find symbol
          [javac] symbol  : variable shell
          [javac] location: class org.microemu.maemo.Main
          [javac]                     while (!shell.isDisposed ()) {
          [javac]                             ^
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/device/MaemoDevice.java:9: warning: [deprecation] init(com.barteo.emulator.EmulatorContext) in com.barteo.emulator.device.Device has been deprecated
          [javac]       public void init(EmulatorContext context)
          [javac]                   ^
          [javac] /usr/src/microemu-maemo/trunk/microemu-maemo/src/org/microemu/maemo/device/MaemoDevice.java:11: warning: [deprecation] init(com.barteo.emulator.EmulatorContext,java.lang.String) in com.barteo.emulator.device.Device has been deprecated
          [javac]         super.init(context, "/org/microemu/maemo/device/device.xml");
          [javac]              ^
          [javac] 29 errors
          [javac] 3 warnings

      BUILD FAILED
      /usr/src/microemu-maemo/trunk/microemu-maemo/build.xml:14: Compile failed; see the compiler error output for details.

      Total time: 22 seconds

       

Log in to post a comment.