Distributing binary files
Posted: Wed Feb 21, 2007 6:58 pm
Hello,
I'm relatively new to wxWidgets, but I've managed to put together a very simple application that simulates the dice game CeeLo. http://bingweb.binghamton.edu/~ecoonra1
It works great when I compile it on each machine that I want to run it on, but in both linux and windows when I manually move the compiled binary file to another machine running the same OS it (usually) does not run.
I'm using wxWidgets 2.8.0 with MS Visual Studio 2005 on Windows, and g++ on linux. I imagine (at least for windows) that VS is including some DLLs that are unique to my system, and therefore the program won't run anywhere else.
I'd like to know how to be able to compile once and run anywhere. Are there possibly compiler or linker options that I can change in VS to make this work? Or is there some way to determine what DLLs a program requires so I can distribute them with the compiled exe?
Thanks
I'm relatively new to wxWidgets, but I've managed to put together a very simple application that simulates the dice game CeeLo. http://bingweb.binghamton.edu/~ecoonra1
It works great when I compile it on each machine that I want to run it on, but in both linux and windows when I manually move the compiled binary file to another machine running the same OS it (usually) does not run.
I'm using wxWidgets 2.8.0 with MS Visual Studio 2005 on Windows, and g++ on linux. I imagine (at least for windows) that VS is including some DLLs that are unique to my system, and therefore the program won't run anywhere else.
I'd like to know how to be able to compile once and run anywhere. Are there possibly compiler or linker options that I can change in VS to make this work? Or is there some way to determine what DLLs a program requires so I can distribute them with the compiled exe?
Thanks