Closed GoogleCodeExporter closed 8 years ago
here the complete exception:
INFO - Initializing TUIO input on port: 3333
Caught java.lang.UnsatisfiedLinkError: no JSynV144 in java.library.path
Caught java.lang.UnsatisfiedLinkError: no JSynNative in java.library.path
Exception in thread "Animation Thread" com.softsynth.jsyn.SynthException: JSyn
error:
Could not access JSyn synthesis engine. - JSyn not properly installed, or web
page
is not calling smart_embed_jsyn.js!, 0x0=0, 0x0=0
at com.softsynth.jsyn.SynthContext.checkEngineAccess(SynthContext.java:60)
at com.softsynth.jsyn.SynthContext.<init>(SynthContext.java:48)
at com.softsynth.jsyn.Synth.initialize(Synth.java:361)
at com.softsynth.jsyn.Synth.startEngine(Synth.java:251)
at com.softsynth.jsyn.Synth.startEngine(Synth.java:299)
at TestTable.<init>(TestTable.java:44)
at Starter.startUp(Starter.java:14)
at org.mt4j.MTApplication.setup(MTApplication.java:382)
at processing.core.PApplet.handleDraw(PApplet.java:1400)
at processing.core.PApplet.run(PApplet.java:1328)
at java.lang.Thread.run(Unknown Source)
Original comment by maigra...@googlemail.com
on 31 Mar 2010 at 12:45
You have to add the directory where the JSynV144.dll is to the java library
path via
command line, for example:
"Djava.library.path=C:\Workspace\MT4jProject\windows";
If you use the Eclipse IDE you can do that automatically by going to the project
properties->Java Build Path->Select and expand the jsyn.jar->Native library
location->Edit..->enter the path to the .dll file
Im not sure why it dosent work when put into the MT4j root folder because that
folder
is already added as a library path..anyway, this way should work.
Original comment by sirhc.f...@gmail.com
on 31 Mar 2010 at 11:24
Thanks for your help. Of cause I am using eclipse.
I changed the Native library location and i works know.
I changed it to the Project-Root-folder (where the other dlls are and where the
JSyn.dll is as well). It works the same way when i change it to C:\Windows
I don't unterstand why the project-root is not a Native library location by
default
as it is in other projects (like in my JSyn test Project)....
So you might want to investigate why it is not working by default with the Mt4J
root
folder or you might write it in the tutorial that you have to edit the path
manually
for other progammers who have the same issue
Thank you very much! Great project! *Frauenhofer rulez* ;)
Original comment by maigra...@googlemail.com
on 1 Apr 2010 at 10:05
Original comment by sirhc.f...@gmail.com
on 5 Apr 2010 at 8:40
Original issue reported on code.google.com by
maigra...@googlemail.com
on 31 Mar 2010 at 12:39