Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : pdf export errors

$
0
0
Hi PhiLho,

Thank you for responding.

Your first statement clarifies my understanding of the relationship between the .pdf export library and Processing. I thought it had been brought 'inside' rather than being something that still needs to be 'imported'.

If its the .pde that you asking about here its just named PdfExortEx1.pde but - as an example of the problems I am having with this issue... I tried just copying one of the Processing Reference examples and pasting it into a sketch in processing 2.0.8 on a Mac running 10.5.8.

This is the Reference example -

start --


import processing.pdf.*;

void setup() {
  size(400, 400);
  beginRecord(PDF, "everything.pdf");
}

void draw() {
  ellipse(mouseX, mouseY, 10, 10);
}

void mousePressed() {
  endRecord();
  exit();
}

end --


If I run the sketch then I get this error (I have pasted a screen grab of the error dialog) which repeats as listed above and have included the text in case the image doesn't come though:-

start --
More than one library is competing for this sketch.
pdf(part of Processing)
pdf(/Users/Davidlk?Documnets/Processing/libraries/pdf)
Extra libraries need to be removed before this sketch can be used.
-- end

dialog --

 -- end

Any ideas?

Many thanks for looking at this.

Regards

David




Viewing all articles
Browse latest Browse all 1768

Trending Articles