Skip to content

Unable to build tensorflow.dll / tensorflow_cc.dll  #21

@Scorillo47

Description

@Scorillo47

First - thanks for the script - it works great in generating a wheel!

However, I have trouble generating a tensorflow.dll/tensorflow_cc.dll (not sure which one I need?). I need the C++ API to implement custom operations, which now seems to be broken since the switch from CMake to Bazel was made.

So with TF 1.12.0 I tried specifying a target such as //tensorflow:tensorflow_cc.dll or //tensorflow:tensorflow.dll but i get an error:
image

Any idea how can I generate the DLL?

BTW, your script mentions generating .so files in Windows, however, I am not sure how to use these if I want to build custom GPU operations in CUDA for use the GPU version of TensorFlow (should I somehow run TensorFlow under MSYS?). This was working just fine before (with CMake) but it's unclear how to make it work with Bazel

Any response is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions