Re: YafaRay rendering plug-in

by GhyslainB » Sun Aug 02, 2020 10:26 am

Not sure if the question is more for Emmanuel @Puybaret or for @enkonyito, but here it goes: I've tried to use Yafaray (version 1.3.2) with the PhotoVideoRendering plugin (version 2.0) to render a series of images. When I click start in the plugin window, nothing seems to happen, but the console fills in with the now familiar Boost library error messages (copied below). There seems to be a reference to tmp files in ~/Library/Application Support... would this be something on my end or a bug similar to the previous one affecting the plugin? Thanks!

Code: Select all

Exception in thread "pool-14-thread-1" java.lang.UnsatisfiedLinkError: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6400-53cf3a27-5558-44aa-8227-8989291c3488/dll3844500745242148772tmp/libyafaray_v3_core.dylib: dlopen(/Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6400-53cf3a27-5558-44aa-8227-8989291c3488/dll3844500745242148772tmp/libyafaray_v3_core.dylib, 1): Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib
  Referenced from: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6400-53cf3a27-5558-44aa-8227-8989291c3488/dll3844500745242148772tmp/libyafaray_v3_core.dylib
  Reason: image not found
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.loadDLLs(YafarayRenderer.java:272)
	at com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.<clinit>(YafarayRenderer.java:156)
	at sh3dPlugin.AdvancedPhotoPanel.computePhoto(AdvancedPhotoPanel.java:960)
	at sh3dPlugin.AdvancedPhotoPanel.access$23(AdvancedPhotoPanel.java:938)
	at sh3dPlugin.AdvancedPhotoPanel$20.run(AdvancedPhotoPanel.java:929)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Exception in thread "pool-15-thread-1" java.lang.NoClassDefFoundError: Could not initialize class com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer
	at sh3dPlugin.AdvancedPhotoPanel.computePhoto(AdvancedPhotoPanel.java:960)
	at sh3dPlugin.AdvancedPhotoPanel.access$23(AdvancedPhotoPanel.java:938)
	at sh3dPlugin.AdvancedPhotoPanel$20.run(AdvancedPhotoPanel.java:929)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

	[...] 
	And so on and so forth.