Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Employee
97 Views

How to build "standalone" app (for Windows) using demo app sample source code in openVINO toolkit?

Jump to solution

Hi,

How to build "standalone" app (for Windows) using sample demo app source code in openVINO toolkit?

I could build & run sample demo apps in openVINO toolkit. However, these executables are not standalone image and lots of library should be exists in same computer.

I want to copy only demo app executable and pre-trained model to another computer for demo preparation.

Rgds, SHK

0 Kudos

Accepted Solutions
Highlighted
Moderator
73 Views

Hi SHK,

 

Building a "standalone" app would require to use the libraries as static links.

I have tried to do this and have yet to succeed.

I am not sure whether static linking everything is possible.

 

Alternatively, you could try packing the executable with its required dll files and it should be able to run.

 

Try placing the executable in an empty folder and try running it without setupvars.

Then try running it and it will show errors of missing dlls.

I used Search Everything software to locate the dll files, you can try using the same or any other file indexing tools.

After all the dll files are included, try running the executable again to make sure it is able to run.

When it is able to run, put your model and input file in the same folder and zip it.

The final result should be a zip file containing everything that is required to run the demo.

 

Regards,

Rizal


View solution in original post

3 Replies
Highlighted
Moderator
74 Views

Hi SHK,

 

Building a "standalone" app would require to use the libraries as static links.

I have tried to do this and have yet to succeed.

I am not sure whether static linking everything is possible.

 

Alternatively, you could try packing the executable with its required dll files and it should be able to run.

 

Try placing the executable in an empty folder and try running it without setupvars.

Then try running it and it will show errors of missing dlls.

I used Search Everything software to locate the dll files, you can try using the same or any other file indexing tools.

After all the dll files are included, try running the executable again to make sure it is able to run.

When it is able to run, put your model and input file in the same folder and zip it.

The final result should be a zip file containing everything that is required to run the demo.

 

Regards,

Rizal


View solution in original post

Highlighted
Employee
63 Views

Good idea! Thanks for your support! -SHK

0 Kudos
Highlighted
Moderator
58 Views

Hi SHK,


Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question.


Regards,

Rizal


0 Kudos