MGCNet icon indicating copy to clipboard operation
MGCNet copied to clipboard

How can I compile the tf_mesh_render?I couldn't generate the 'rasterize_triangles_kernel.so'.

Open lin-girl opened this issue 3 years ago • 7 comments

lin-girl avatar Jul 30 '21 08:07 lin-girl

In the README.md, we give detailed steps. Totally follow this and you can get the .so

jiaxiangshang avatar Jul 31 '21 04:07 jiaxiangshang

I have met this problem as well, and a feasible solution is:

  1. download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;
  2. cd thirdParty/tf_mesh_renderer/ && bazel build ...
  3. cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

moranli19 avatar Nov 23 '21 06:11 moranli19

@jiaxiangshang In the README.md , i did not see any about how to get the .so . so could you tell this clearly? thanks

lxzlwhy avatar Apr 28 '22 13:04 lxzlwhy

How about the solution step above your question?

I have met this problem as well, and a feasible solution is:

  1. download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;
  2. cd thirdParty/tf_mesh_renderer/ && bazel build ...
  3. cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

jiaxiangshang avatar Apr 28 '22 14:04 jiaxiangshang

你好, 非常感谢那么晚还有你的回信。但我在你的项目文件夹下的目录中,并没有发现这个存在的路径,可能我build的时候直接提示失败了吧。

--------------原始邮件-------------- 发件人:"jiaxiangshang @.>; 发送时间:2022年4月28日(星期四) 晚上10:22 收件人:"jiaxiangshang/MGCNet" @.>; 抄送:"刘旭 @.>;"Comment @.>; 主题:Re: [jiaxiangshang/MGCNet] How can I compile the tf_mesh_render?I couldn't generate the 'rasterize_triangles_kernel.so'. (#43)

How about the solution step above your question?

I have met this problem as well, and a feasible solution is:

download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;

cd thirdParty/tf_mesh_renderer/ && bazel build ...

cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

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

lxzlwhy avatar Apr 28 '22 14:04 lxzlwhy

Then, solve the build problems?

jiaxiangshang avatar Apr 28 '22 14:04 jiaxiangshang

I have met this problem as well, and a feasible solution is:

  1. download and install the bazel == 0.10.0 from bazel-0.10.0-released-link;
  2. cd thirdParty/tf_mesh_renderer/ && bazel build ...
  3. cp bazel-out/k8-fastbuild/genfiles/mesh_renderer/kernels/rasterize_triangles_kernel.so ./mesh_renderer/kernels/

thanks for you answer, but it seems that I can't get the rasterize_triangles_kernel.so file after bazel build, or I get the rasterize_triangles_kernel.so file in some other folder under other bazel and gcc version, but it can't be used in the end. may you offer some more interpretation? thanks anyway.

cavalier501 avatar Dec 16 '22 12:12 cavalier501