Comments (22)
You could also try to build from the command line using the following command (this works for me):
cmake .
cmake --build .
It should build the entire solution (here assuming we build from the root directory).
from mitsuba2.
Building from the command line indeed solved the issue. All relevant files are in dist
now. Thank you and keep up the great work!
from mitsuba2.
Hi @LeonidMill,
Could you try adding scalar_rgb
as an extra mode? This seemed to fix issue #5.
from mitsuba2.
Hi @merlinND,
thank you for your answer. I added scalar_rgb
as extra mode, however the same errors still occur during compilation:
compilation errors with spectral_rgb.txt
from mitsuba2.
This has been fixed in 3df7a05. Could you please try again?
from mitsuba2.
Hi @Speierers,
almost all errors are gone now, however the compilation still failed due LNK1104: cannot open file 'optix.lib'
and LNK1104: cannot open file '..\librender\Debug\mitsuba-render.lib'
errors.
Log:
24>Generating Code...
24> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/OpenEXR/IlmImf/Debug/IlmImf.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/OpenEXR/IlmImf/Debug/IlmImf.exp
24>IlmImf.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Debug\IlmImf.dll
25>------ Build started: Project: mitsuba-core (mitsuba-core\mitsuba-core), Configuration: Debug x64 ------
25>Building Custom Rule D:/Mitsuba2/mitsuba2/src/libcore/CMakeLists.txt
25> Creating library D:/Mitsuba2/mitsuba2/src/libcore/Debug/mitsuba-core.lib and object D:/Mitsuba2/mitsuba2/src/libcore/Debug/mitsuba-core.exp
25>mitsuba-core.vcxproj -> D:\Mitsuba2\mitsuba2\src\libcore\Debug\mitsuba-core.dll
26>------ Build started: Project: mitsuba-render (mitsuba-render\mitsuba-render), Configuration: Debug x64 ------
26>Building Custom Rule D:/Mitsuba2/mitsuba2/src/librender/CMakeLists.txt
26>LINK : fatal error LNK1104: cannot open file 'optix.lib'
26>Done building project "mitsuba-render.vcxproj" -- FAILED.
27>------ Build started: Project: mitsuba, Configuration: Debug x64 ------
27>Building Custom Rule D:/Mitsuba2/mitsuba2/src/mitsuba/CMakeLists.txt
27>mitsuba.cpp
27>D:\Mitsuba2\mitsuba2\src\mitsuba\mitsuba.cpp(99,9): warning C4566: character represented by universal-character-name '\u274C' cannot be represented in the current code page (1252)
27>LINK : fatal error LNK1104: cannot open file '..\librender\Debug\mitsuba-render.lib'
27>Done building project "mitsuba.vcxproj" -- FAILED.
========== Build: 25 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
from mitsuba2.
Hi @LeonidMill,
Could you maybe try to add \path\to\OptiX SDK 6.5.0\bin64
to your PATH
?
Also you might have to replace the following line in src/librender/CMakeLists.txt
(line 96)
- target_link_libraries(mitsuba-render PRIVATE optix)
+target_link_libraries(mitsuba-render PRIVATE optix.6.5.0)
I will try to make this cmake more robust on Windows. Let me know if this solves your problem.
from mitsuba2.
Adding \...\OptiX SDK 6.5.0\bin64
to PATH
with your suggested changes in the src/librender/CMakeLists.txt
seems to resolve the compilation issues. However, after the compilation system errors are thrown because mitsuba-render.dll
, mitsuba-core.dll
and tbb.dll
are not found.
from mitsuba2.
Could you try maybe to re-compile from a clean build?
from mitsuba2.
I tried several times, also without the gpu_autodiff_spectral
variant, but nothing worked. Although the compilation succeeds, the mitsuba.exe - System Error
still exists as mitsuba-render.dll
could not be found. Complementary to the error I get strange warnings The project 'ALL_BUILD' has been modified outside the environment
and The project 'mitsuba-render (mitsuba-render\mitsuba-render)' has been modified outside the environment
.
from mitsuba2.
from mitsuba2.
Hi @merlinND,
thank you for your answer. Yes, the errors (missing .dll
files) only occur when running mitsuba.exe, after compilation and linking has fully succeeded. Running the setpath
script does not resolve the issue. However, when I copy all .dll files in a folder and manually add it to the PATH
the mitsuba.exe runs without errors. But doing so, I still can not find a mitsuba.pyd?
from mitsuba2.
Do you run mitsuba.exe from the same command prompt (cmd.exe
) in which you have previously executed the setpath.bat
script? Does the main Mitsuba directory contain a subfolder dist
that contains the build products?
from mitsuba2.
Hi @wjakob,
using the same command prompt did indeed worked, but the python
subdirectory in the dist
folder was still empty.
I tried to compile the whole system from scratch today (7075f0c) to make sure that I did not mess up between the building steps, however now I again get the same errors (namespace
,
MSB3721
and LNK1181
) as previously during compilation:
18>Done building project "mitsuba-render-obj.vcxproj".
19>------ Build started: Project: rgb2spec, Configuration: Release x64 ------
19>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/rgb2spec/CMakeLists.txt
6>D:/Mitsuba2/mitsuba2/ext/enoki/src/cuda/horiz.cu(81): error : namespace "std" has no member "min"
6>
17>private_server.cpp
6>1 error detected in the compilation of "C:/Users/adminlab/AppData/Local/Temp/tmpxft_00003f30_00000000-7_horiz.cpp1.ii".
6>horiz.cu
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.2.targets(764,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_61,code=\"compute_61,compute_61\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64" -x cu -ID:\Mitsuba2\mitsuba2\ext\enoki\include -ID:\Mitsuba2\mitsuba2\ext\enoki\ext\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart shared -Xcompiler=-Ob2 -DNDEBUG -DENOKI_CUDA_COMPUTE_CAPABILITY=61 -DENOKI_CUDA=1 -DENOKI_BUILD=1 -DENOKI_AUTODIFF=1 -D"CMAKE_INTDIR=\"Release\"" -Denoki_cuda_EXPORTS -D"CMAKE_INTDIR=\"Release\"" -Denoki_cuda_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdenoki-cuda.dir\Release\vc142.pdb /FS /Zi /MD " -o enoki-cuda.dir\Release\horiz.obj "D:\Mitsuba2\mitsuba2\ext\enoki\src\cuda\horiz.cu"" exited with code 1.
6>Done building project "enoki-cuda.vcxproj" -- FAILED.
17>Generating Code...
19>rgb2spec.c
6>common.cu
19>rgb2spec.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\rgb2spec\Release\rgb2spec.lib
17>Compiling...
17>queuing_mutex.cpp
7>Generating eLut.h
7>Generating toFloat.h
7>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/IlmBase/Half/CMakeLists.txt
17>queuing_rw_mutex.cpp
17>reader_writer_lock.cpp
6>jit.cu
7>half.cpp
17>recursive_mutex.cpp
17>semaphore.cpp
7> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Half/Release/Half.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/IlmBase/Half/Release/Half.exp
7>LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
7>Half.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\IlmBase\Half\Release\Half.dll
20>------ Build started: Project: CopyIlmBaseLibs, Configuration: Release x64 ------
17>spin_mutex.cpp
17>spin_rw_mutex.cpp
17>task.cpp
21>------ Build started: Project: enoki-autodiff, Configuration: Release x64 ------
17>task_group_context.cpp
17>tbb_main.cpp
17>tbb_misc.cpp
20>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/CMakeLists.txt
17>tbb_misc_ex.cpp
22>------ Build started: Project: b44ExpLogTable, Configuration: Release x64 ------
23>------ Build started: Project: dwaLookups, Configuration: Release x64 ------
21>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/enoki/CMakeLists.txt
22>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
17>tbb_statistics.cpp
17>tbb_thread.cpp
23>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
17>x86_rtm_rw_mutex.cpp
22>b44ExpLogTable.cpp
23>dwaLookups.cpp
17>rml_tbb.cpp
21>autodiff.cpp
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<float>::s_tape': class 'std::unique_ptr<enoki::Tape<float>,std::default_delete<enoki::Tape<float>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<float>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<float>,std::default_delete<enoki::Tape<float>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1222): message : see reference to class template instantiation 'enoki::Tape<float>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<double>::s_tape': class 'std::unique_ptr<enoki::Tape<double>,std::default_delete<enoki::Tape<double>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<double>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<double>,std::default_delete<enoki::Tape<double>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1225): message : see reference to class template instantiation 'enoki::Tape<double>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1228): message : see reference to class template instantiation 'enoki::Tape<enoki::DynamicArray<enoki::Packet<float,8>>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<float,8>>>::m_value': struct 'enoki::DynamicArray<enoki::Packet<float,8>>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<float,8>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1228): message : see declaration of 'enoki::DynamicArray<enoki::Packet<float,8>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1229): message : see reference to class template instantiation 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<float,8>>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>,std::default_delete<enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1231): message : see reference to class template instantiation 'enoki::Tape<enoki::DynamicArray<enoki::Packet<double,8>>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<double,8>>>::m_value': struct 'enoki::DynamicArray<enoki::Packet<double,8>>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<double,8>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1231): message : see declaration of 'enoki::DynamicArray<enoki::Packet<double,8>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1232): message : see reference to class template instantiation 'enoki::DiffArray<enoki::DynamicArray<enoki::Packet<double,8>>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::CUDAArray<float>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<float>>,std::default_delete<enoki::Tape<enoki::CUDAArray<float>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::CUDAArray<float>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<float>>,std::default_delete<enoki::Tape<enoki::CUDAArray<float>>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1235): message : see reference to class template instantiation 'enoki::Tape<enoki::CUDAArray<float>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::CUDAArray<float>>::m_value': struct 'enoki::CUDAArray<float>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::CUDAArray<float>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1235): message : see declaration of 'enoki::CUDAArray<float>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1236): message : see reference to class template instantiation 'enoki::DiffArray<enoki::CUDAArray<float>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122,1): warning C4251: 'enoki::Tape<enoki::CUDAArray<double>>::s_tape': class 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<double>>,std::default_delete<enoki::Tape<enoki::CUDAArray<double>>>>' needs to have dll-interface to be used by clients of struct 'enoki::Tape<enoki::CUDAArray<double>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(122): message : see declaration of 'std::unique_ptr<enoki::Tape<enoki::CUDAArray<double>>,std::default_delete<enoki::Tape<enoki::CUDAArray<double>>>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1238): message : see reference to class template instantiation 'enoki::Tape<enoki::CUDAArray<double>>' being compiled
21>D:\Mitsuba2\mitsuba2\ext\enoki\include\enoki/autodiff.h(1410,1): warning C4251: 'enoki::DiffArray<enoki::CUDAArray<double>>::m_value': struct 'enoki::CUDAArray<double>' needs to have dll-interface to be used by clients of struct 'enoki::DiffArray<enoki::CUDAArray<double>>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1238): message : see declaration of 'enoki::CUDAArray<double>'
21>D:\Mitsuba2\mitsuba2\ext\enoki\src\autodiff\autodiff.cpp(1239): message : see reference to class template instantiation 'enoki::DiffArray<enoki::CUDAArray<double>>' being compiled
17>Generating Code...
22>LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
22>b44ExpLogTable.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Release\b44ExpLogTable.exe
17>scheduler.cpp
23>LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
23>dwaLookups.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Release\dwaLookups.exe
24>------ Build started: Project: IlmImf, Configuration: Release x64 ------
24>Generating b44ExpLogTable.h
24>Generating dwaLookups.h
24> Building acceleration for DwaCompressor, 0.00 %
24> Building acceleration for DwaCompressor, 6.10 %
24> Building acceleration for DwaCompressor, 12.21 %
24> Building acceleration for DwaCompressor, 18.31 %
17> Creating library D:/Mitsuba2/mitsuba2/ext_build/tbb/Release/tbb.lib and object D:/Mitsuba2/mitsuba2/ext_build/tbb/Release/tbb.exp
17>LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
24> Building acceleration for DwaCompressor, 24.41 %
24> Building acceleration for DwaCompressor, 30.52 %
17>tbb.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\tbb\Release\tbb.dll
24> Building acceleration for DwaCompressor, 36.62 %
24> Building acceleration for DwaCompressor, 42.72 %
24> Building acceleration for DwaCompressor, 48.83 %
24> Building acceleration for DwaCompressor, 54.93 %
24> Building acceleration for DwaCompressor, 61.04 %
24> Building acceleration for DwaCompressor, 67.14 %
24> Building acceleration for DwaCompressor, 73.24 %
24> Building acceleration for DwaCompressor, 79.35 %
24> Building acceleration for DwaCompressor, 85.45 %
24> Building acceleration for DwaCompressor, 91.55 %
24> Building acceleration for DwaCompressor, 97.66 %
24>Building Custom Rule D:/Mitsuba2/mitsuba2/ext/openexr/OpenEXR/IlmImf/CMakeLists.txt
24>ImfB44Compressor.cpp
21>LINK : fatal error LNK1181: cannot open input file 'Release\enoki-cuda.lib'
21>Done building project "enoki-autodiff.vcxproj" -- FAILED.
24>ImfDwaCompressor.cpp
24>Generating Code...
24> Creating library D:/Mitsuba2/mitsuba2/ext_build/openexr/OpenEXR/IlmImf/Release/IlmImf.lib and object D:/Mitsuba2/mitsuba2/ext_build/openexr/OpenEXR/IlmImf/Release/IlmImf.exp
24>LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
24>IlmImf.vcxproj -> D:\Mitsuba2\mitsuba2\ext_build\openexr\OpenEXR\IlmImf\Release\IlmImf.dll
25>------ Build started: Project: mitsuba-core (mitsuba-core\mitsuba-core), Configuration: Release x64 ------
25>Building Custom Rule D:/Mitsuba2/mitsuba2/src/libcore/CMakeLists.txt
25>LINK : fatal error LNK1181: cannot open input file '..\..\ext_build\enoki\Release\enoki-autodiff.lib'
25>Done building project "mitsuba-core.vcxproj" -- FAILED.
26>------ Build started: Project: mitsuba-render (mitsuba-render\mitsuba-render), Configuration: Release x64 ------
26>Building Custom Rule D:/Mitsuba2/mitsuba2/src/librender/CMakeLists.txt
26>LINK : fatal error LNK1181: cannot open input file '..\libcore\Release\mitsuba-core.lib'
26>Done building project "mitsuba-render.vcxproj" -- FAILED.
27>------ Build started: Project: mitsuba, Configuration: Release x64 ------
27>Building Custom Rule D:/Mitsuba2/mitsuba2/src/mitsuba/CMakeLists.txt
27>mitsuba.cpp
27>D:\Mitsuba2\mitsuba2\src\mitsuba\mitsuba.cpp(99,9): warning C4566: character represented by universal-character-name '\u274C' cannot be represented in the current code page (1252)
27>LINK : fatal error LNK1181: cannot open input file '..\librender\Release\mitsuba-render.lib'
27>Done building project "mitsuba.vcxproj" -- FAILED.
========== Build: 22 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========
As variants, I used scalar_rgb
, scalar_spectral
and gpu_autodiff_spectral
. Sorry for bothering you guys.
from mitsuba2.
Hi,
D:/Mitsuba2/mitsuba2/ext/enoki/src/cuda/horiz.cu(81): error : namespace "std" has no member "min"
This was supposed to be fixed in enoki
last week. Did you run git submodule update --recursive
after pulling from master?
from mitsuba2.
Jepp, I cloned the repository using git clone --recursive https://github.com/mitsuba-renderer/mitsuba2
. I also tried git pullall
as described in the docs, but the compilation still fails.
from mitsuba2.
Could you try again after running:
git pull --rebase origin master
git submodule update --recursive
The mitsuba repo now points to the latest enoki commit.
from mitsuba2.
Hi @Speierers,
thank you for your answer. It now does compile successfully with your previously suggested changes in src/librender/CMakeLists.txt
with a mitsuba.exe
being created in src/mitsuba/Release.
However, running mitsuba.exe
does not seem to do anything, although calling setpath
in the same command prompt. Additionally, the dist/python/mistuba
subdirectory is empty and there is no mitsuba python module being created in the site-packages
subdirectoy of python.
from mitsuba2.
This sounds to me more like a MSVC-specific issue. Perhaps you did not build the full "solution"?
The relevant mitsuba.exe
binary should be in dist
. Note that it is a command line executable, so it is not surprising that calling it does not do anything -- you'll have to run it with a scene as input.
from mitsuba2.
Sorry to bother you again, but how do I correctly install the mitsuba
python package without coping files from the dist
folder into the site-packages
of the python installation path? Since pybind11
is used I was expecting that the mitsuba python package will be installed automatically.
from mitsuba2.
There is currently no mechanism for installing Mitsuba system-wide. For now, the only way to use it is from the dist
folder by setting setpath.sh
.
from mitsuba2.
Thank you for the clarification.
from mitsuba2.
Related Issues (20)
- [🔨 compilation issue] 'cmake -GNinja' step HOT 3
- [❔ other question] How to convert/extract enoki.autodiff_cuda.Float32 type array from Bitmap class? HOT 4
- [❔ other question]runtime API error = 0719 HOT 1
- [🐛 bug report] importing Pytorch after mitsuba => Segmentation fault (core dumped) HOT 1
- [❔ other question] Performance on Windows much lower than Linux? HOT 5
- [🐛 bug report] hdrfilm.cpp: duplicate channel detection HOT 3
- [❔ other question] how to uninstall mitsuba2 in linux? HOT 4
- The examples of Differentiable rendering applications HOT 2
- [🐛 bug report] OptiX "arithmetic involving uninitialized variable!" with Certain Scenes HOT 1
- [✨ feature request] Tutorial on differential rendering material acquisition HOT 1
- Something about code HOT 1
- Caught a critical exception: main [properties.cpp:401] └1∩Æ∞☺
- [✨ feature request] Does the mitsuba2 support bsdf for cloth model? HOT 1
- 用java或C++用物件導向的概念設計程式解下面的問題:讀取一組時間,計算出時針與分針的夾角,時間的格式是0:00到12:00,小時數可能為1或2位數,分鐘數總是2位數,00到59之間。輸出腳讀為0到180之間的值,角度的精確度到千分之一。例如9:00是90.000度,不是-90,也不是270,2:00則是60 HOT 1
- Rendered polarized images' intensity doesn't change according to the change of polarization angle- [❔ other question] HOT 1
- [❔ other question] setting the variant("llvm_spectral_polarized"), the code didn't work HOT 2
- [❔ other question]How can we output UV map in python? HOT 1
- - [❔ other question] I want to optimize the values in the transform component of my sensor plugin HOT 1
- Unable to compile: Windows 10: Visual Studio Community 2022 HOT 1
- White noise in spectral rendering - [❔ other question] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitsuba2.