Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: wrenhal on September 19, 2009, 12:28:47 am
-
I hope this is the correct thread. Just started to learn C++ and got everything working with C::B and wxWidgets and MinGW on Vista. Now that I got it working I made a Hello World app from the tutorial. So, what do I do now to get the program working on another computer?? How do I make sure that all required dll files are packaged with it to move to another system? Is there a way to compile the .dll's into the .exe?? I don't know how this all works, but I wanted to send the file to my wife's computer for her to see it.
-
This is really not an Code::Blocks related topic; so, it might get locked.
I would look for "NSIS" and "Inno Setup" on other Windows programming sites.
Tim S.
-
So there's no way in C::B to find all the linked .dll's??? or a way to compile the .dll's into the .exe???
-
So there's no way in C::B to find all the linked .dll's??? or a way to compile the .dll's into the .exe???
If you or someone else writes a plugin; then yes it is possible.
But, I consider it a bad idea to do it all inside Code::Blocks.
Code::Blocks is a IDE not an code packager. If I wanted what you want, I would try to decide which code packager would work best with Code::Blocks.
NSIS is a good choice, in my opinion. The only cross platform open source code packager, I know about. Then I would try to export from Code::Blocks what ever I could to use the NSIS application to do the heavy work.
Never used NSIS myself; so, I have no idea what it needs to package the code.
Tim S.
-
So there's no way in C::B to find all the linked .dll's??? or a way to compile the .dll's into the .exe???
Re-reading you posts; I see that I can NOT assumed you stated the subject correctly "Info about packaging app".
Are you creating the DLLs, you wish to package? If yes, why not use a static library?
Note: I am guessing you know about the basic util Dependency Walker (depends.exe)
If not, please read up on it. http://www.dependencywalker.com/
Tim S.