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

Issues on Windows 11 error: MitsubaImporter.dll is not a shared library #3

Closed
chenbixuan2017 opened this issue Apr 25, 2023 · 3 comments

Comments

@chenbixuan2017
Copy link

chenbixuan2017 commented Apr 25, 2023

Hello!
Thanks for posting such amazing work!
I am interested in this project and am trying to use it for trial, but got stuck in the initial step "Building/Configure Presets"
when I was trying to use the instruction "cmake --build build/windows-vs2019", the error below came.

ImportError: Failed to load plugin library from E:\PLTFalcor\build\windows-vs2019\bin\Debug\plugins\MitsubaImporter.d
ll. File is not a shared library.
Stacktrace:
0# 0x0000004dd11ec8b0 ( ?? )
1# 0x00007ffed800be60 (RtlGetCurrentServiceSessionId)

I am sure I have met all the conditions mentioned in your prerequisites except for the operation system (mine is Windows 11)
Have you tested your work on Windows 11? If so, could you let me know how to solve the above problem?
Thanks in advance.

@chenbixuan2017 chenbixuan2017 changed the title Windows 11 got an error: MitsubaImporter.dll is not a shared library Issues on Windows 11 error: MitsubaImporter.dll is not a shared library Apr 25, 2023
@ssteinberg
Copy link
Owner

mitsuba2 is a dependency. You can find precompiled release binaries in external/mitsuba)/bin/.

@rongduo
Copy link

rongduo commented Jul 24, 2023

@chenbixuan2017 Hi, have you resolved this issue? I met the same issue...

@udemegane
Copy link

I have encountered this problem too. It happens when PLTFalcor is a debug build, and the Mitsuba Importer depends on several other dlls, including TBB. The problem is that for some reason the MitsubaImporter.dll in the Debug build requires tbb.dll for release builds, not tbb_debug.dll. (I don't understand why this is)
In my environment, copying tbb.dll from bin/Release/ to bin/Debug/ in the build directory solved this error.

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

4 participants