Author Topic: Info about packaging app.  (Read 4459 times)

Offline wrenhal

  • Single posting newcomer
  • *
  • Posts: 3
Info about packaging app.
« 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Info about packaging app.
« Reply #1 on: September 19, 2009, 02:35:31 am »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline wrenhal

  • Single posting newcomer
  • *
  • Posts: 3
Re: Info about packaging app.
« Reply #2 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???

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Info about packaging app.
« Reply #3 on: September 19, 2009, 04:25:30 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.

« Last Edit: September 19, 2009, 04:27:11 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Info about packaging app.
« Reply #4 on: September 19, 2009, 05:08: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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org