Confirmed. I haven't compiled hugin via cmake for a very long time and it worked and works in the XCode project. I just compiled twice via cmake: without and with your patch, and then again in XCode.
I applied your patch to trunk and to 2010.0 branch. Thanks a lot. Kind regards, Harry 2010/3/1 davetow <[email protected]> > Hi, > Since SVN rev # 4789 I've had trouble compiling Hugin (error > compiling src/hugin1/hugin/GLViewer.cpp ). Looking at the changes > between 4788 and 4789 I saw the comment code added in src/hugin1/hugin/ > CPEditorPanel.cpp: > // often necessary before panoinc.h > #ifdef __APPLE__ > #include "panoinc_WX.h" > #endif > // standard hugin include > #include "panoinc.h" > // both includes above need to come before other wx includes on OSX > > In src/hugin1/hugin/GLViewer.cpp , if we add: > #ifdef __APPLE__ > #include "panoinc_WX.h" > #endif > > *Before the "#include panoinc.h" line things compile fine. Could > somebody commit this if it makes sense to. I can include the error > message anybody wants to see what this fixes..... > > Dave > > -- > 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]<hugin-ptx%[email protected]> > For more options, visit this group at > http://groups.google.com/group/hugin-ptx -- 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
