Distribution of Projects

让人想犯罪 __ 提交于 2019-12-13 04:43:11

问题


I am looking to release a 'sneak peak' of my project on my website, in Windows I know how to properly distribute the required files, like .dll's and such. But for Linux (Ubuntu distro) I am having trouble running my program on any other machine but my development machine. I have been able to statically link all dependancies but one

-Tiny XML
-FreeType2
-SDL
-Lua
-LuaBind
-GLU

These all have their own appropriate .a static library's. However OpenGL or lGL as I have linked it, apparently points to a .so dynamically linked library. I am unable to find a static library for OpenGL, I do understand the benefits of using Dynamically linked library's. So my question is, what is the proper process to set up a client computer to run my file? ie. How to install the dependencies (In this case only libGL.so) on their system?

I imagine I will also have to automatically chmod +x the file before it will run for them also.


回答1:


You should create a .deb file with appropriate dependencies, so a tool like synaptic can automatically take care of satisfying the dependencies.



来源:https://stackoverflow.com/questions/10326239/distribution-of-projects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!