On 4 Jun., 03:02, Matthew Petroff <[email protected]> wrote: > I guess the best method would be to distribute two versions, one > without Python and one with Python. I'll look into extending the > installer to check for Python and allow the user to download and > install it if it is not already installed.
I think this is the best solution. A regular Python install makes sure that all python-related features will run smoothly and as expected by python users. And since the python interface is admittedly taking up quite a bit of space (particularly the _hsi module), this will limit bandwith consumption - many users may be perfectly happy without the plugins (while there are so few) and there's no point transmitting megabytes of stuff to them they never use. When installing hugin on a system with python, the python modules should be placed in the appropriate place inside the python installation, so they can be loaded from any python program running on that system. For example with a Python 2.7 install on my Windows XP system the path would be C:\Python27\Lib\site-packages. As far as I know this is specified in cmake's install rules, so you may be able to pick the correct destination from there. I'm not sure if the construction of your installer is cmake-driven, so if it isn't you may have to set these installation target locations manually. Thomas made sure that the python-enabled version would run on windows, so if you run into difficulties, he should be able to help you put it all into place. He knows much better than I what to do on Windows, I'm a Linux user. I only test on Windows because I've written the interface and would like to see it used on other platforms as well. > Now that you mentioned that you were using a virtual machine, I know > what caused the crash. Your virtual machine does not support the > OpenGL preview. Therefore, unless the interface is set to expert, > Hugin crashes since the new GUI uses the OpenGL preview in the main > interface. So that's another mystery solved! I thought openGL was such an old technology that my oracle virtual box machines with all guest extensions would sure support it... Mind you - initially there is a warning that the openGL preview cannot be used. There, hugin could be gracefully terminated (or switch to 'panorama editing' mode) instead of crashing. But this is not your responsibility. With the old GUI I was able to still use hugin, I just couldn't use the openGL preview, while the 'old' preview still worked correctly. Kay -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
