  | 
    
 
  
    
    
      
        
          
         Author | 
        
         Topic: serial and code folder causes error!  (Read 1099 times) | 
       
     
     | 
   
 
  
    
    
      
        
        
          
            
            mKoser 
 
                  
      
             | 
            
            
            
              
                
                serial and code folder causes error! 
                «  on: Mar 10th, 2004, 11:18pm » | 
                
                
 
                 | 
               
             
             
            
            hi,      i am doing building a project with some serial stuff, and i wanted to use Ariel's controller stuff:   http://www.processing.co.il/toolkit/controller/      however, importing that into my project, caused this error to be spewed:    Code:   Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java.library.path      serial port not working     |  
  |         ...it turns out that this has nothing to do with ariels cotroller class though (no offense ariel, but for a short while i had you under suspicion!)      when creating this simple piece of code:    Code:   void setup(){     beginSerial("COM7", 9600);   }      void loop(){   }     |  
  |         everything works ... BUT ... if you create an empty /code/ folder in the sketch-folder, you get this error:       Code:   Error loading win32com: java.lang.UnsatisfiedLinkError: no win32com in java.library.path     |  
  |         It seems to me that you can't use serial in combination with external classes (through the use of the code-folder) .... can i implement Ariels controller classes in any other way? (unzipping them and sticking them somewhere else?)      + mikkel 
            
             | 
           
            
            
            
             mikkel crone koser | www.beyondthree.com   |    http://processing.beyondthree.com
             | 
           
         
         | 
       
     
     | 
   
 
  
    
    
      
        
        
          
            
            fry 
 
 
        
      
             | 
            
            
            
              
                
                Re: serial and code folder causes error! 
                « Reply #1 on: Mar 11th, 2004, 12:23am » | 
                
                
 
                 | 
               
             
             
            
            yup, this is the same problem as that quicktime code folder bug. copy the win32com.dll from the top-level folder of processing, also the comm.jar and javax.comm.properties from the lib folder all into your code folder, and see how that goes. 
            
             | 
           
            | 
            
            
            
             | 
           
         
         | 
       
     
     | 
   
 
 
 |