Compiling BlendLuxCore for Blender 2.93.0 Alpha on Windows 10

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
Noah
Posts: 3
Joined: Fri Mar 12, 2021 12:33 am

Compiling BlendLuxCore for Blender 2.93.0 Alpha on Windows 10

Post by Noah »

Good evening,

As this occurrence pertains to an unsupported version of Blender, I believed it more appropriate to submit this as a question, rather than as a bug report. If this would be better asked elsewhere, please let me know and I would be more than happy to move it. Over the last few days, I have been trying to build a version of BlendLuxCore that would function under the Alpha release of Blender 2.93.0. Understanding the necessity for the end-user to produce a compatible build, I closely followed the suggested README instructions preset under the "WindowsCompile" repository. I feel it is important to note that outside of these last few days, my technical prowess in relation to Python, or any programing language for that matter, is rather non-existent, but I saw it as an opportunity to learn something new and gave it my best. In this post I will outline the steps that were taken, and their results.

I began by deriving a version of the aforementioned instructions in a manner that would allow myself easier followability and backtracking if something went adversely. I have listed those steps below:

______________________________________________________________________________________________________________________________

1 | Download and install:
  • NOTE: Once the initial installer completes, the application will initialize and a window featuring the available options will prompt. By default, you should be in the "Workloads" tab. Immediately under this tab's title you should see "Visual C++ build tools" within the "Windows" section, select this. This will produce the "Installation details" on the right-hand side. Under "Optional" select "Windows 8.1 SDK and UCRT SDK". This additional option will be necessary during the build process.
  • cmake (v3.11.2 or better)
  • NOTE: During installation, and following the End-user License Agreement, you will be asked if you want CMake added to the system path; you must add Cmake to the system path. This will be necessary during the build process.

2 | In a non-specific area of your computer, create a folder named "luxcorerender".


3 | Clone the "LuxCore" and "WindowsCompile" repositories into the "luxcorerender" folder you just created.
  • This can be accomplished by:
    1. Opening the repositories (through the links listed below), clicking the green-dropdown button titled "Code" and selecting "Download ZIP".
    2. Once downloaded, open the respective ZIP file and drag its single containing folder into the "luxcorerender" folder. Do this for both repositories.
    3. If done correctly, the "luxcorerender" folder should now contain folders "Luxcore" and "WindowsCompile" (i.e. the clones of the repositories).
  • REPOSITORIES:

4 | Following the installation of Build Tools for Visual Studio 2017, run "x64 Native Tools Command Prompt for VS 2017".
  • This is done easiest by clicking the magnifying glass icon (next to the Windows icon) located in the lower left-hand corner of your screen, and typing/pasting "x64 Native Tools Command Prompt for VS 2017" in the "Type here to search" field. Run the resulting command prompt.
  • Once open, enter and execute (execute by clicking Enter) the following commands:
    • NOTE: 1. These are two separate command executions. 2.*your_path* is to be replaced with the file path leading to the "luxcorerender" folder you created in Step 2. 3. *build's_python_version* is to be replaced with the version of Python that is utilized in the version of Blender you intend to build.
      • cd *your_path*\luxcorerender\WindowsCompile
        • .\cmake-build-x64.bat /python*build's_python_version*
    • EXAMPLE:
      • cd C:\luxcorerender\WindowsCompile
        • .\cmake-build-x64.bat /python39
  • The execution of the second command will start the build process. This can take upwards of 15 or more minutes to complete. This is dependent on your hardware specifications. There will be several pauses throughout this process, this is normal. Once the build has completed, and if successful, "Build succeeded." will display in green text towards the bottom of the command prompt.
  • If you encounter a failure, specifically during the late-stage portions of the build, and if classified as a CMAKE issue (with CMake having been installed correctly), a restart of the building process might be enough to resolve, and subsequently complete the build successfully.
  • Following a successful build:
    1. Navigate to your "luxcorerender" folder. In addition to the "LuxCore" and "WindowsCompile" folders, a third folder named "WindowsCompileDeps" should now be present. If so, continue to the next step.

5 | In a non-specific area of your computer, using the process from Step 3, clone the latest "BlendLuxCore" repository (using instead the link below).
  • REPOSITORY:

6 | Navigate to the newly added "BlendLuxCore" folder.
  1. Within, there should be a folder named "bin", proceed into that folder.
  2. Among the present files, there should be one named "get_binaries", if so, continue on to Step 7.

7 | Again, run the "x64 Native Tools Command Prompt for VS 2017".
  • Once open, enter and execute the following commands:
    • NOTE: 1. These are two separate command executions. 2.*your_path_1* is to be replaced with the file path leading to the "BlendLuxCore" folder you created in Step 5. 3. *your_path_2* is to be replaced with the file path leading to the "luxcorerender" folder you created in Step 2.
      • cd *your_path_1*\BlendLuxCore\bin
        • get_binaries.py *your_path_2*\luxcorerender
    • EXAMPLE:
      • cd C:\BlendLuxCore\bin
        • get_binaries.py C:\luxcorerender
  • The execution of the second command will start the build process. You will be prompted with several requests to overwrite files contained within the "bin" folder, with files from the build you created. On the command line, type and execute "y" for each of the subsequent requests. Following this, proceed to Step 8.
8 | Preparing your build for installation into your intended Blender version.
  • In order to use the "Install..." option under the "Add-ons" section in Blender (2.8 and above), you will need archive your "BlendLuxCore" folder. To do this:
    1. Navigated to the area containing said folder.
    2. Through WinRAR, this is simply done by right-clicking on the "BlendLuxCore" folder, and selecting "Add to archive...".
    3. This will prompt the "Archive name and parameters" menu. Matching the method of previous BlendLuxCore releases, select "ZIP" for the archive format, and "Normal" for the compression method.
    4. Click "OK" to close the prompt and begin archiving the folder.
    5. Upon completion, a duplicate of the BlendLuxCore folder, formatted as a ZIP, will generate in the same directory.
    6. Proceed to Step 8.

9 | You are now ready to install your compiled build of BlendLuxCore.
  • Open the version of Blender you intend on installing your build of BlendLuxCore on.
    1. Through "Preferences", click "Add-ons" and select "Install...". From the resulting window, navigate to the directory containing your "BlendLuxCore" ZIP, single-click it and press "Install Add-on" at the bottom right-hand corner. This will close the window and, generally, the addon will isolate from the other addons panels, if not, you will need to search, or scrolls down, to find it.
    2. Upon locating the addon's panel, named "Render: LuxCore", select the empty box to the left of it to enable the addon. The box will illuminate with a white check mark, as well as the text from a dark gray to white. The addon was enabled successfully.

Process complete.
______________________________________________________________________________________________________________________________

Following the above process, I encountered my first error when attempting Step 8. Below you will find a side-by-side compilation of the information accumulated in my Info Log and System Console during my attempts at enabling the addon (REF_1).

Image

To note, a single attempt at enabling the addon would only produce a single Traceback instance, and in turn a single instance in the System Console as well. It was only during repeat attempts, under the same session, that it would output the string of errors presented in my compilation (REF_1). Curiously, following the last attempt that yielded an error, upon attempting again, the addon would enable, but would be almost entirely featureless (REF_2).

Image

Expounding further, upon initiating another Blender session (with the addon disabled) and duplicating the process outlined for (REF 1), the order at which the errors occurred were seemingly random, as they are structured differently than in my previous attempt(s). I an unaware if this is a pertinent detail, but I thought I would include it, as well as a full copy of the System Console from this particular session:

Code: Select all

Read prefs: C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\config\userpref.blend
register_class(...):
Warning: 'DNOISEPanel' does not contain '_PT_' with prefix and suffix
Imported Modeling Cloth
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\sketch_style\__init__.py", line 794, in <module>
    SketchStyle_Props.__dict__['__annotations__'][k][1]['description'] = v
TypeError: '_PropertyDeferred' object is not subscriptable
register
DEBUG:BlenderGIS-master.core.checkdeps:GDAL Python binding unavailable
DEBUG:BlenderGIS-master.core.checkdeps:PyProj unavailable
DEBUG:BlenderGIS-master.core.checkdeps:Pillow unavailable
DEBUG:BlenderGIS-master.core.checkdeps:ImageIO Freeimage plugin available
Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreWorldProps" registration error: image_user could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreImagepipeline" registration error: tonemapper could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: CollectionProperty(...): expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreOnlineLibraryUpload" registration error: add_list could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreHair" registration error: image_user could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreOnlineLibraryUI" registration error: assetbar could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreNodeTexImagemap" registration error: image_user could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreConfig" registration error: path could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: CollectionProperty(...): expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreNodeTexBand" registration error: ramp_items could not register


Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
    if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'

Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreScene" registration error: denoiser could not register


BlendLuxCore 2.5RC1 registered (with pyluxcore 2.5rc1)
Below you will find a list of supplementary information. I was uncertain as to what would actually be usefully from a troubleshooting standpoint, so I decided to throw everything but the kitchen sink at this post in the hope that it might prove useful, although I suspect that this issue will be significantly less of a brain teaser for the people who populate this forum than it is for me.
  1. The process from Step 8. was conducted on a fresh install of Blender 2.93.0a. The results were identical.
  2. The process from Step 8. was conducted on an install of Blender 2.93.0a, with every addon removed, outside of BlendLuxCore and Cycles. The results were identical.
  3. Modified the BlendLuxCore's addon folder location to that of the "addons" folder in a Blender 2.93.0a directory, located under Program Files. This was done by adding a "config" folder to its "2.93" folder. Succeeding that, the process from Step 8. was conducted, and produced identical results.
  4. In an attempt at determining if the conflict lied with the version of BlendLuxCore 2.5 I was employing (latest), I began the process again, compiling instead the BlendLuxCore v2.5beta1. The results were identical.
I appreciate anyone who may have taken some time out their day to read over my inquiry. I would be more than happy to provide further information or answer any questions that may be had. In regards to my outline, I decide to format the compilation process steps in as intuitive as a way as I could, in the hopes that it may assist another layperson, like myself, in completing this process successfully. Although I have yet to do that, at least at the latter stages, I intend on updating it with any corrections or necessary information that may come from this posting. As eager as I am to find a solution to my problem, I am equally interested in understanding why it happened to begin with. I think almost anything can be turned into an opportunity to learn something new, and this seems like a perfect circumstance to do just that, so any knowledge on this subject would be greatly appreciated. Lastly, I would like to take a second to say how fantastic I think Luxcore is. Since integrating it into my workflow last year, it has proven itself to be an incredibly useful, and powerful resource.

Thank you for your time,

Noah
Last edited by Noah on Tue Mar 16, 2021 12:35 am, edited 1 time in total.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Compiling BlendLuxCore for Blender 2.93.0 Alpha on Windows 10

Post by B.Y.O.B. »

Noah wrote: Sat Mar 13, 2021 7:54 am as well as a full copy of the System Console from this particular session:
Your console output here contains many error messages raised by other addons. To get a clean log with only errors concering the LuxCore addon, start Blender with factory settings (which disables all addons) and only the BlendLuxCore addon enabled. For example, like this on the command line:

Code: Select all

C:Path\to\blender.exe --factory-startup --addons BlendLuxCore
User avatar
Noah
Posts: 3
Joined: Fri Mar 12, 2021 12:33 am

Re: Compiling BlendLuxCore for Blender 2.93.0 Alpha on Windows 10

Post by Noah »

In hindsight, I should have done that to begin with. I can't imagine that it's all that easy trying to troubleshoot an issue with other addon's variables interlaced throughout LuxCore's. Apologies for that. Here is the requested log, generated per your directives:

Code: Select all

Writing userprefs: 'C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\config\userpref.blend' ok
addon_utils.disable: BlendLuxCore not disabled
Modules Installed (BlendLuxCore) from 'C:\\Users\\NoahB\\Desktop\\Database\\(M1) Media Center\\(M1-6) Blender\\(1C) Assets\\(1C-E) Addons\\(1CE-22) LuxCore\\ACTIVE\\P93\\BlendLuxCore-latest-win64.zip' into 'C:\\Users\\NoahB\\AppData\\Roaming\\Blender Foundation\\Blender\\2.93\\scripts\\addons'
TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreOnlineLibrary" registration error: ui could not register


TypeError: CollectionProperty(...): expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreOnlineLibraryUpload" registration error: add_list could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreHair" registration error: image_user could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreConfig" registration error: noise_estimation could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreScene" registration error: denoiser could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreLightProps" registration error: image_user could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreImagepipelineBackgroundImage" registration error: image_user could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreCameraProps" registration error: imagepipeline could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreImagepipeline" registration error: mist could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreViewLayer" registration error: aovs could not register


TypeError: CollectionProperty(...): expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreDeviceSettings" registration error: devices could not register


TypeError: PointerProperty(...) expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreBokeh" registration error: image_user could not register


TypeError: CollectionProperty(...): expected an RNA type, failed with: RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)

Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93.0a\2.93\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
    auto_load.register()
  File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
    bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreNodeTexBand" registration error: ramp_items could not register


BlendLuxCore 2.5RC1 registered (with pyluxcore 2.5rc1)
To note, in order to get the complete readout of the errors in which I encountered, I would try to enable the addon continually after the first attempt, each time producing one of the listed errors. Eventually, following the last error listed, it would enable, but with empty menus.

Also, the ZIP file's name "BlendLuxCore-latest-win64.zip" is the version I compiled. I just used the name from the release I downloaded off of GitHub.

Thank you for your help!
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Compiling BlendLuxCore for Blender 2.93.0 Alpha on Windows 10

Post by B.Y.O.B. »

I guess something in the Blender API changed again. I won't investigate this until 2.93 is stable, there might be more changes coming in the meantime, so it doesn't make sense.
User avatar
Noah
Posts: 3
Joined: Fri Mar 12, 2021 12:33 am

Re: Compiling BlendLuxCore for Blender 2.93.0 Alpha on Windows 10

Post by Noah »

Totally understandable. Not much point in spending however long working out a solution for something that has no certainty of staying consistent for any stretch that justifies the time. Hopefully it will not cause much of a problem when that time comes to work it out. None the less, I appreciate you taking a look, and for getting back to me so quickly. Best of luck with the upcoming 2.5 release. The available builds have been great.
Post Reply