Karsten Schmidt is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

postspectacular / toxiclibs http://toxiclibs.org/

Building blocks for computational design with Java & Processing. LGPLv2 licensed.

Clone this repository (size: 27.1 MB): HTTPS / SSH
hg clone https://bitbucket.org/postspectacular/toxiclibs
hg clone ssh://hg@bitbucket.org/postspectacular/toxiclibs

Issues

#30 Build trouble

Reported anonymously (last edited )

Hello, Toxiclibs is great! Except I'm trying to get my hands on a bug fix from last June. I cloned the repo and I'm trying to build. I'm on a Max OSX 10.5. When I build with Java 1.6 I get these errors (build_all.xml):

compile: [mkdir] Created dir: /Users/daryl/Downloads/toxiclib_tip/bin [javac] /Users/daryl/Downloads/toxiclib_tip/ant/build_core.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 181 source files to /Users/daryl/Downloads/toxiclib_tip/bin [javac] /Users/daryl/Downloads/toxiclib_tip/src.core/toxi/geom/mesh/MeshVertexColorCompiler.java:3: package toxi.color does not exist [javac] import toxi.color.ReadonlyTColor; [javac] ^ [javac] /Users/daryl/Downloads/toxiclib_tip/src.core/toxi/geom/mesh/MeshVertexColorCompiler.java:12: cannot find symbol [javac] symbol : class ReadonlyTColor [javac] location: class toxi.geom.mesh.MeshVertexColorCompiler [javac] ReadonlyTColor c = (ReadonlyTColor) index.forID(vn[0]); [javac] ^

When I switch to Java 1.5 I get errors concerning XML binding:

[javac] /Users/daryl/Downloads/toxiclib_tip/src.core/toxi/geom/Triangle2D.java:59: cannot find symbol [javac] symbol : class XmlElement [javac] location: class toxi.geom.Triangle2D [javac] @XmlElement(required = true) [javac] ^

even though jaxb is clearly in the lib folder.

Any help appreciated.

/Daryl

Status: resolved Responsible: Karsten Schmidt Type: bug Priority: blocker
Milestone: none Component: core Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Anonymous

    written

    I ended up copying the source into my own project and it compiles, so unless you feel there might be a problem on your end with the published build code, don't worry about it. Keep up the good work.

    /Daryl

  2. #2 Karsten Schmidt

    written

    • Changed priority from minor to blocker.
    • Changed component from nothing to core.
    • Changed responsible from nobody to postspectacular.
    • Changed type from task to bug.
    • Changed status from new to open.

    Sorry for the trouble and delay... this is caused by a recently introduced & unintended circular dependency between the core & colorutils packages, specifically toxi.geom.mesh.MeshVertexColorCompiler, which is part of a new mesh architecture. Really should have put this on an experimental branch, but was too late...

  3. #3 Karsten Schmidt

    written

    • Changed status from open to resolved.

    fixed with this changeset: 599d2a58cdf6

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?