Anatoliy Lemberskiy Posted March 14 Report Share Posted March 14 Hello everyone, I'm trying to create an executable that uses gRPC library. The project works well from development environment but I get an error 7 when running compiled code: Error 7 occurred at Call Library Function Node in grpc-lvsupport-release.lvlib:Create Client.vi:560002->Voluson_client.lvlib:Create Client.vi:560001->gRPCFunctionCall.vi->Sequence Editor 1.vi LabVIEW: (Hex 0x7) File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct. I tracked it down to "GetServerDLL.vi", which, by default, e.g. when not in run-time, runs the following code: and returns path "C:\Program Files\National Instruments\LabVIEW 2023\vi.lib\gRPC\LabVIEW gRPC Library\Libraries\Win64\labview_grpc_server.dll", which is where the "Libraries" folder is located. At run time, it executes this: which, of course returns location of the exe+Libraries\Win64... I'm not clear on the intention of this or what steps should I take to make it work? Do I need to copy the whole "Libraries" to the same location as the executable manually and then add it to build specs for installer? Thank you for reading. AL Quote Link to comment
infinitenothing Posted March 28 Report Share Posted March 28 You have the right idea. You can add the DLL to your exe build spec instead of your installer though. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.