cppflow icon indicating copy to clipboard operation
cppflow copied to clipboard

tensorflow.dll location for running

Open JordanDavis-1 opened this issue 2 years ago • 3 comments

It seems tensorflow.dll has to be in the system32 folder for my application to run correctly. Is there a way to configure cppflow to search from the .dll in the same directory as the application is in? The main reason is that my installer needs to put tensorflow.dll into system32 and it's getting flagged by AV software as malicious.

JordanDavis-1 avatar May 01 '22 20:05 JordanDavis-1

Set in windows path were tensorflow dll is placed or you can set in visual studio in project properties->Debugging ->Enviroment PATH=%PATH%;c:\tensorflow\lib-cpu $(LocalDebuggerEnvironment)

mwindowshz avatar May 04 '22 10:05 mwindowshz

Thank you! Will this just set the path on my machine during debugging? I'm looking for a solution so that my software on the client end can have that Path variable set and it finds tensorflow.dll in a specified folder by the installer that is not in sys32

JordanDavis-1 avatar May 05 '22 01:05 JordanDavis-1

Hi @JordanDavis-1

Sorry for not answering before. DId you manage to fix this?

With the new CMake, the compilation of programs should be easier. You can check again the docs to see an updated way of installing TF C API and cppflow.

serizba avatar Sep 23 '22 11:09 serizba