Hi all, I've fixed most of the problems I had building libpano (SVN1093 a.k.a. beta3) with CMake on windows, but there's one little thing I still can't get right. First the solved problems:
I had to replace "ADD_DEFINITIONS(-D__Win__)" in Cmakelists.txt with "ADD_DEFINITIONS(-D__Ansi__)" to get rid of some unresolved symbol errors (thanks for the tip Jim Watters) In fftn.c, the following line of code produced 'not found' errors # include __FILE__ so I replaced it by # include "fftn.c" Then, there is apparently some confusion about where the pano13.lib is supposed to be located. When building the debug version, it is created in the folder 'Debug', which is created under the build directory. But subsequent tools sometimes expect it to be in the 'tools' folder. Copying pano13.lib there eliminates the errors. <edit> upgrading to svn1098 also After this, a lot of unresolved symbol errors related to getopt kept showing up. Copying the compat_win32 folder all over the place didn't help. Finally, I managed to get rid of them by adding the following line to PTCommon.c: #include "tools/compat_win32/getopt.c" Only the .h file was included, apparently this was not enough. I don't know if all of these solutions I found by trial and error are good practice, but they seem to have worked. Suggestions for how to do it better are welcome. All tools build now, except for PTBlender. This gives an error that says: "pano13.lib(ColourBrightness.obj) : error LNK2019: unresolved external symbol _ht...@4 referenced in function _OutputPhotoshopCurve" Any idea what could cause that? Allard --~--~---------~--~----~------------~-------~--~----~ 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 hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---