xmeng525 / RealTimeDenoisingNeuralBilateralGrid

[EGSR2020] Real-time Monte Carlo Denoising with the Neural Bilateral Grid
MIT License
66 stars 13 forks source link

Recompile the bilateral kernels is unsuccessful #8

Closed Songxinlei closed 1 year ago

Songxinlei commented 1 year ago

I try to recompile the bilateral kernels ,but it is not successful .First ,it reports "nvcc warning, the -std=c++11 is not supported by host compile the flag will be ignored".Then ,I change c++11 to c++17 ,and it can not find the "“unsupported/Eig en/CXX11/Tensor”". I dont know how to recompile it successful .

Songxinlei commented 1 year ago

nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored. bilateral_kernels.cu.cc cl: 命令行 warning D9002 :忽略未知选项“-fPIC” bilateral_kernels.cu.cc C:/ProgramData/Anaconda3/envs/MCDenoising/lib/site-packages/tensorflow/include\third_party/eigen3/unsupported/Eigen/CXX11/Tensor(1): fatal error C1083: 无法打开包括文件: “unsupported/Eig en/CXX11/Tensor”: No such file or directory In file included from C:\ProgramData\Anaconda3\envs\MCDenoising\lib\site-packages\tensorflow\include/tensorflow/core/framework/op_def_builder.h:24, from C:\ProgramData\Anaconda3\envs\MCDenoising\lib\site-packages\tensorflow\include/tensorflow/core/framework/op.h:23, from bilateral_kernels.cc:5: C:\ProgramData\Anaconda3\envs\MCDenoising\lib\site-packages\tensorflow\include/tensorflow/core/framework/op_def.pb.h:9:10: fatal error: google/protobuf/stubs/common.h: No such file or dir ectory

include <google/protobuf/stubs/common.h>

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

xmeng525 commented 1 year ago

Hi Xinlei, I compiled with CUDA 10.0. What is your CUDA version?

Songxinlei commented 1 year ago

我用的cuda11 ,那我去把11卸载了用10再试试,谢谢你哈!

---Original--- From: "Xiaoxu @.> Date: Fri, Aug 12, 2022 10:55 AM To: @.>; Cc: @.**@.>; Subject: Re: [xmeng525/RealTimeDenoisingNeuralBilateralGrid] Recompile thebilateral kernels is unsuccessful (Issue #8)

Hi Xinlei, I compiled with CUDA 10.0. What is your CUDA version?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xmeng525 commented 1 year ago

Sure. Let me know if you have any other questions! :)

Songxinlei commented 1 year ago

你好,我想问下,这个编译只能在Unbuntu 系统下进行吗?在windows系统下有办法编译成功吗?我换了cuda 10之后,还是不能编译成功

xmeng525 commented 1 year ago

hi,我只在ubuntu上面尝试过。没有在windows下尝试过

On Fri, Aug 12, 2022 at 1:26 AM Mo_Eagle @.***> wrote:

你好,我想问下,这个编译只能在Unbuntu 系统下进行吗?在windows系统下有办法编译成功吗?我换了cuda 10之后,还是不能编译成功

— Reply to this email directly, view it on GitHub https://github.com/xmeng525/RealTimeDenoisingNeuralBilateralGrid/issues/8#issuecomment-1212860416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGC2OPOM22TNB6WTERNTWOLVYYDEZANCNFSM56HG75PA . You are receiving this because you modified the open/close state.Message ID: <xmeng525/RealTimeDenoisingNeuralBilateralGrid/issues/8/1212860416@ github.com>

-- Xiaoxu Meng