Torben Dannhauer wrote:
Hi,

to deliver my software, I use MS Visual Studio setup projekt. I add my complete 
osg binary folder (of course only release build) to my project as well as my 
application binary to the project. The dependencies regarding the compiler etc. 
are solved by VS.
If you are building your application project with CMake, you could probably just add

                       SET(CMAKE_INSTALL_MFC_LIBRARIES 1)
                       INCLUDE(InstallRequiredSystemLibraries)

Then you should get required MSxx dll installed side your app, so you do not require runtime pachage to be installed
(a thing that I really hate to be forced to do)
For my Firefox extension, As Torben do, I bundle all osg dll + plugins + deps + system libs as a "bin" folder. Not know how it goes with wxwidgets, if you can build it statically, then you do not need to include it. For this reason I build jpeg,png,zip,curl,freetype statically, so I do not have to include them.
I have a CMake project to build that stuff based on external project.
The only problem I got, (on some win32 setups) are related to OSG plugins residing in a separate folder. Sometimes has happened that plugins were not able to load as they searched MSVC dll's in their folder, even if they were already loaded (real mystery .....). I worked around by putting all the plugin dll in the same bin folder

Why do I add my complete large binary folder? Well, I can't foresee which 
models my clients will use, so I deliver all plugins. Maybe this is'nt the best 
solution, but it's fast to build, easy to use and thanks to broadband, the 
transfer of the installer is fast enough.
Completely agreed

Hope it helps

Luigi
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to