2) Install OpenCL (Nvidia current Dev_driver and Cuda)
3) Install dependencies.
4) Compile luxrays from src.luxrender.net/luxrays. "make" returns error on strings 72 and 74.
- Code: Select all
/build/luxrays/src/idevices/openclidevice.cpp: In function ‘std::string oclErrorString(cl_int)’:
/build/luxrays/src/idevices/openclidevice.cpp:72: error: ‘CL_MISALIGNED_SUB_BUFFER_OFFSET’ was not declared in this scope
/build/luxrays/src/idevices/openclidevice.cpp:74: error: ‘CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST’ was not declared in this scope
5) Compile Luxrender and pylux (with python3.1) from current sources.
6) Copy compiled pylux.so and "src/luxrender" folder from luxblend25 package to Blender 2.56beta (compiled from svn) addons folder.
7) Turn on luxrender addon in Blender and render a scene. (Luxblend25 newer than changeset #628 'b228506f0968' exports nothing. Can only work with builds #627 and earlier)
Here is the errorcode which appears at Blender "info" panel, when exporting a scene with new luxblend25:
- Code: Select all
Traceback (most recent call last):
File "/usr/share/blender-beta/2.56/scripts/addons/luxrender/core/__init__.py", line 360, in render
if self.render_scene(scene) == False:
File "/usr/share/blender-beta/2.56/scripts/addons/luxrender/core/__init__.py", line 554, in render_scene
export_result = scene_exporter.export()
File "/usr/share/blender-beta/2.56/scripts/addons/luxrender/export/scene.py", line 152, in export
lux_context.surfaceIntegrator( *scene.luxrender_integrator.api_output(scene.luxrender_engine) )
File "/usr/share/blender-beta/2.56/scripts/addons/luxrender/properties/integrator.py", line 689, in api_output
self.advanced = True
RuntimeError: Writing to ID classes in this context is not allowed: Scene, Scene datablock, error setting luxrender_integrator.advanced
Intel Core2 3.2GHz, NVidia 250 GTS, 4Gb RAM, GCC 4.4.5

