timellka.blogg.se

Make program portable
Make program portable









make program portable

If you want it to beĬommercial-grade portable, you must test, test, test on variousĬombinations of operating system, hardware, and version andĬonfiguration of operating system. Your target systems, and hope for the best. If you want your program to be casually portable, you can build on (You can also “cross-compile” and “cross-build,” but You would normally do this by building on each of the platforms you Possibly for different hardware platforms and different versions of

make program portable

Separately for each operating system you want to run on, and Please note that for portability, you will have to build your program I want my program being portable and no need to install extra dependencies on new computers. If so, how to achieve that, or what flags and path should I set in the CMAKE? Link to some libraries, and provide dynamic libraries for other libraries. Note, you can use a mixture of the two methods – statically Yes, these are the two methods you can use to make your program I found it’s because of missing dynamic libraries in libtorch, but I cannot assume everyone has it.











Make program portable