We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › library does not work anymore
Pages: 1 2 
library does not work anymore (Read 9983 times)
library does not work anymore
Oct 29th, 2008, 12:36pm
 
hi everyone,
since release 149, processing did undergo several changes and updates. this also did effect some libraries that are available in the libraries section. we are currently trying to identify libraries that might not work as before anymore. if you encounter any errors, problems, or crashes, dont hesitate to post your findings (which library are you referring to what happens when you run a sketch that worked before which version of processing did work with the library) here so we can inform the library developers accordingly. thank you for your help. best,
andreas
Re: library does not work anymore
Reply #1 - Oct 30th, 2008, 4:42pm
 
proSVG http://www.texone.org/prosvg/ is listed in the libraries but does not work with the most current release.

old lines of code:
import processing.core.PGraphics2;
public class SVGOut extends PGraphics2{

new lines of code:
import processing.core.PGraphicsJava2D;
public class SVGOut extends PGraphicsJava2D{

(from http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_libraries_tools;action=display;num=1129402463)

Temporary workaround avaliable, though:
http://sites.google.com/site/kdlprosvg/
Re: library does not work anymore
Reply #2 - Nov 5th, 2008, 1:07am
 
The ProXML library does not work under 0154.  One gets the error "The type XMLElement is ambiguous."
Re: library does not work anymore
Reply #3 - Nov 5th, 2008, 7:55am
 
About ProXML conflict, see polymonkey's solution in xml, xmlPro, whatever.
Re: library does not work anymore
Reply #4 - Nov 6th, 2008, 7:51pm
 
Super!  Thanks, PhiLho.
Re: library does not work anymore
Reply #5 - Nov 21st, 2008, 10:17am
 
Just a heads up - the link to Geomerative from the libraries page should point to http://www.ricardmarxer.com/geomerative/ not http://www.ricardmarxer.com/processing/geomerative/documentation/. The latter is an old version by the looks of things...
Re: library does not work anymore
Reply #6 - Dec 21st, 2008, 4:05pm
 
korantu wrote on Oct 30th, 2008, 4:42pm:
proSVG http://www.texone.org/prosvg/ is listed in the libraries but does not work with the most current release.
[..]

Temporary workaround avaliable, though:
http://sites.google.com/site/kdlprosvg/


Running the minimal kdlprosvg example here http://sites.google.com/site/kdlprosvg/Home/examples , with the corresponding library installed, gives me the following error (in processing 1.0)

"This version of Processing only supports libraries and JAR files compiled for Java 1.5.
A library used by this sketch was compiled for Java 1.6 or later,
and needs to be recompiled to be compatible with Java 1.5."
Re: library does not work anymore
Reply #7 - Dec 26th, 2008, 12:26pm
 
Hello, i'm trying to use the OBJloader library; but i can't get my sketch to load the library. Maybe it's me that i'm a newbie or maybe it's the library that doesn't work properly with processing 1.0.

this is the sketch, it's just the example from the Saito website:

//import processing.opengl.*;

// .OBJ Loader
// by SAITO <http://users.design.ucla.edu/~tatsuyas>
// Placing a virtual structure represented as mathematically
// three-dimensional object.
// SModel.load() reads structure data of the object stored
// as numerical data.
// SModel.draw() gives a visual form to the structure data.
// processing standard drawing functions can be used to manipulate
// the visual form to create deep visual experiences.
// Created 20 April 2005

import saito.objloader.*;

OBJModel model;
float rotX;
float rotY;

void setup()
{
 size(600, 600, P3D);
 framerate(30);
 model = new OBJModel(this);
 model.debugMode();
 model.load("dma.obj");
}
void draw()
{
 background(255);
 lights();
 pushMatrix();
 translate(width/2, height/2, 0);
 rotateX(rotY);
 rotateY(rotX);
 scale(30.0);
 model.draw();
 popMatrix();
}

boolean bTexture = true;
boolean bStroke = true;
void keyPressed(){
 if(key == 't'){
   if(!bTexture){
     model.enableTexture();
     bTexture = true;
   } else {
     model.disableTexture();
     bTexture = false;
   }
 }
 if(key == 's'){
   if(!bStroke){
     stroke(10, 10, 10, 100);
     bStroke = true;
   } else {
     noStroke();
     bStroke = false;
   }
 }
 else if(key=='1')
 model.drawMode(POINTS);
 else if(key=='2')
 model.drawMode(LINE_LOOP);
 else if(key=='3')
 model.drawMode(TRIANGLES);
 else if(key=='4')
 model.drawMode(POLYGON);
}

void mouseDragged()
{
 rotX += (mouseX - pmouseX) * 0.01;
 rotY -= (mouseY - pmouseY) * 0.01;
}
Re: library does not work anymore
Reply #8 - Jan 11th, 2009, 4:44am
 
got the same problem , just replace
model.drawMode(LINE_LOOP);
by  
model.drawMode(LINES)
Re: library does not work anymore
Reply #9 - Jul 15th, 2009, 10:21am
 
Hi,
I'm having troubles using the traer physics library, got this error message:

"Note that release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder."

and i'm sure i've installed the library the right way

did it happened to someone too? how can i fix this? is it related to a different syntax / spelling?

thanks a lot!
Re: library does not work anymore
Reply #10 - Jul 15th, 2009, 12:02pm
 
m666 wrote on Jul 15th, 2009, 10:21am:
i'm sure i've installed the library the right way

Can you elaborate on what is the "right way" for you
Re: library does not work anymore
Reply #11 - Nov 5th, 2009, 4:25am
 
Hi!

I'm trying to use ToonLoop with Processing and even with the library oscP5 installed as desired, it gives me the error: "Note that release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder."

Thanks in advance.
Re: library does not work anymore
Reply #12 - Nov 5th, 2009, 5:27am
 
Well, have you followed the advice given by the error message?
What is your system? The Processing version? The paths you used?
Re: library does not work anymore
Reply #13 - Jan 21st, 2010, 12:49pm
 
Hi,
I'm trying to import the controlP5 library, but Processing won't see it. I put it in the 'libraries' folder in the 'sketchbook' folder, if I say
import controlP5.* it gives me the error:

Note that release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folde

So I followed the advice to no avail. I have v 1.0.7.
Re: library does not work anymore
Reply #14 - Jan 21st, 2010, 2:00pm
 
Same questions as above... Can you give the path to your sketch, and the path to the library? Thanks.
Pages: 1 2