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

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

Open
lin-girl opened this issue Jul 30, 2021 · 7 comments

Comments

@lin-girl
Copy link

No description provided.

@jiaxiangshang
Copy link
Owner

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

@moranli19
Copy link

moranli19 commented Nov 23, 2021

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/

@lxzlwhy
Copy link

lxzlwhy commented Apr 28, 2022

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

@jiaxiangshang
Copy link
Owner

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/

@lxzlwhy
Copy link

lxzlwhy commented Apr 28, 2022 via email

@jiaxiangshang
Copy link
Owner

Then, solve the build problems?

@cavalier501
Copy link

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.

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

5 participants