Re: [osg-users] Easiest way to bundle an OSG app
I no lawyer either :) (thankfully) but some libraries do not allow static linking We had a long useful set of posts on the subject of static linking and its implications quite a while ago, a search of the archive might show those posts up and might or might not be useful to y'all For the majority of OSG this is not really a problem, but something to consider and ensure compliance, I know our company to be very strict on ensuring the licensing terms are adhered to and that we can actually use them as we want according to the licensing terms etc ( and rightly so is the litigious age we live in) Gordon Tomlinson Product Manager 3d Technology Project Wyvern Overwatch(r) An Operating Unit of Textron Systems -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Luigi Calori Sent: Monday, March 01, 2010 8:58 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Easiest way to bundle an OSG app Tomlinson, Gordon wrote: One caveat not all the 3rdparty plugins and possible dependencies are LGPL and thus don't allow static linking Not sure about legal issues, but it seem to me that linking restrictions apply only to closed source projects: if you distribute the source you can use the linking you want, or am i wrong? Regards Luigi Gordon Tomlinson Product Manager 3d Technology Project Wyvern Overwatch(r) An Operating Unit of Textron Systems -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin Beckett Sent: Monday, March 01, 2010 12:29 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Easiest way to bundle an OSG app Not know how it goes with wxwidgets, if you can build it statically, then you do not need to include it. You can do either, it's LGPL + static allowed. If you use dll's you have the option of only shipping the parts you use - so leaving out say database or webbrowser components. The other advantage of using dynmaic libs is you can update your app more easily - you only have to send a new, relatively small, .exe -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25015#25015 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph. or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph. org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Easiest way to bundle an OSG app
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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Easiest way to bundle an OSG app
Not know how it goes with wxwidgets, if you can build it statically, then you do not need to include it. You can do either, it's LGPL + static allowed. If you use dll's you have the option of only shipping the parts you use - so leaving out say database or webbrowser components. The other advantage of using dynmaic libs is you can update your app more easily - you only have to send a new, relatively small, .exe -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25015#25015 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Easiest way to bundle an OSG app
One caveat not all the 3rdparty plugins and possible dependencies are LGPL and thus don't allow static linking Gordon Tomlinson Product Manager 3d Technology Project Wyvern Overwatch(r) An Operating Unit of Textron Systems -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin Beckett Sent: Monday, March 01, 2010 12:29 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Easiest way to bundle an OSG app Not know how it goes with wxwidgets, if you can build it statically, then you do not need to include it. You can do either, it's LGPL + static allowed. If you use dll's you have the option of only shipping the parts you use - so leaving out say database or webbrowser components. The other advantage of using dynmaic libs is you can update your app more easily - you only have to send a new, relatively small, .exe -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25015#25015 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Easiest way to bundle an OSG app
Tomlinson, Gordon wrote: One caveat not all the 3rdparty plugins and possible dependencies are LGPL and thus don't allow static linking Not sure about legal issues, but it seem to me that linking restrictions apply only to closed source projects: if you distribute the source you can use the linking you want, or am i wrong? Regards Luigi Gordon Tomlinson Product Manager 3d Technology Project Wyvern Overwatch(r) An Operating Unit of Textron Systems -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin Beckett Sent: Monday, March 01, 2010 12:29 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Easiest way to bundle an OSG app Not know how it goes with wxwidgets, if you can build it statically, then you do not need to include it. You can do either, it's LGPL + static allowed. If you use dll's you have the option of only shipping the parts you use - so leaving out say database or webbrowser components. The other advantage of using dynmaic libs is you can update your app more easily - you only have to send a new, relatively small, .exe -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25015#25015 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Easiest way to bundle an OSG app
Hi, I have a question for all the MSVS programming experts using OSG. I want the most straight forward way of bundling the program so I can install it on student's laptops. harvesting appropriate DLLs, etc. I built the GUI side under wxWindows (thanks to others out there for their help and tips with this). Any recommendations or hints, or 'cookbooks' would be very much appreciated. Thank you all Cheers, Ted -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=24987#24987 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Easiest way to bundle an OSG app
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. 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. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=24992#24992 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org