Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use plex-viewer #9

Open
tmelorc opened this issue Sep 27, 2016 · 3 comments
Open

How to use plex-viewer #9

tmelorc opened this issue Sep 27, 2016 · 3 comments

Comments

@tmelorc
Copy link

tmelorc commented Sep 27, 2016

I'm starting to learn javaplex and I found here a link to plex-viewer here.

I tried some example with

./run_x86.sh -complex rips_simplices.txt -points rips_points.txt

from the README file. But I got the errors below.

Do you have some idea how to fix or maybe some other software to
create simplicial complexes from data created by javaplex?

Regards and thanks in advance.

Thiago de Melo
www.rc.unesp.br/tmelo

Exception in thread "main" java.lang.NoClassDefFoundError:
edu/stanford/math/plex4/io/SimplexStreamReaderWriter
        at edu.stanford.math.plex_viewer.SimplexStreamViewer.renderFromFiles(Unknown
Source)
        at edu.stanford.math.plex_viewer.SimplexStreamViewer.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
edu.stanford.math.plex4.io.SimplexStreamReaderWriter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 2 more
@michiexile
Copy link
Contributor

Ping @henryadams , @OgDet -- I'm not really familiar with plex_viewer myself.

@henryadams
Copy link
Contributor

I've never used plex_viewer either, but as you say maybe @OgDet has comments.

Best, Henry

@ghost
Copy link

ghost commented Feb 14, 2017

I got the two README examples of plex-viewer to work by adding the javaplex jar file to CPATH in the .sh scripts.

e.g. copy javaplex-4.2.5.jar to 'examples', and change CPATH in the .sh scripts to:
CPATH="plex-viewer.jar:../lib/ext/gluegen-rt.jar:../lib/ext/jogl.jar:javaplex-4.2.5.jar"

I downloaded the files (which include the opengl lib files) from: https://github.com/ogdet/plex-viewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants