News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Info about packaging app.

Started by wrenhal, September 19, 2009, 12:28:47 AM

Previous topic - Next topic

wrenhal

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.

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

wrenhal

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???

stahta01

#3
Quote from: wrenhal on September 19, 2009, 04:05:09 AM
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.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

Quote from: wrenhal on September 19, 2009, 04:05:09 AM
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]