如何部署代码块gcc C ++程序? [英] How do I deploy a codeblocks gcc C++ program?

查看:119
本文介绍了如何部署代码块gcc C ++程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


i使用codeblocks和gcc c ++在我的windows pc上写了一个程序。



i无法搞清楚如何打包和部署程序给我的儿子,这样他就可以在他们的Windows PC上安装和运行程序,而无需安装代码块?



i在codeblocks上发布了问题论坛但没有收到回复



jerry .. wa0h ..年龄77



我尝试了什么:



i在codeblocks论坛上发布了这个问题,但没有收到回复

hi
i wrote a program on my windows pc using codeblocks and gcc c++.

i can't figure out how to package and deploy the program to my son so he can install and run the program on their windows pc without having to install codeblocks?

i posted the question on the codeblocks forum but did not receive a reply

jerry .. wa0h .. age 77

What I have tried:

i posted the question on the codeblocks forum but did not receive a reply

推荐答案

当你传递可执行文件时,你需要确保它是完整的。如果它只使用静态库,那么它应该按原样运行。如果它使用DLL,那么如果它们不是标准Windows集的一部分,则需要添加这些文件。它应该足够简单来测试。
You need to make sure that the executable is complete when you pass it over. If it uses only static libraries then it should run as is. If it uses DLLs then you will need to add those files if they are not part of the standard Windows set. It should be simple enough to test.


这篇关于如何部署代码块gcc C ++程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆