Hooray! I managed to compile libpano13-2.9.17 using minGW and cmake.
It was actually quite simple, and having slept over the matter
certainly helped. cmake had no idea it was on minGW. The simple
solution was to run

cmake -G "MSYS Makefiles" ..

in the build directory (being a subdirectory of the sources
directory). Blame my ignorance of cmake for the troubles I had.
Now cmake complained it didn't find wxwidgets - no surprise since I
didn't have them. Downloaded the sources, compiled them (that took a
long time...), called

cmake -G "MSYS Makefiles" ..

again. No more complaints. Now ran

cmake ..
make

slight problem here, again with the use of htons. I modified
ColourBrightness.c to always use a macro for htons, like for the MSVC
version. I think there may be an issue here that should be adressed,
since this problem showed up with both build methods.

make

again, no more problems! The missing references that kept me from
linking the majority of the collateral EXE files did not show up now.
finally did

make install

It installed, but not really in an obvious place - instead of /usr/
local/bin or such, it installed everything into a directory libpano13,
parallel in the file hierarchy to the sources directory. Maybe someone
could hint at how to specify the installation directory to cmake? My
previous attempt with ./configure - make - make install had put the
EXE files it generated in /usr/local/bin. I could move the newly made
ones there, but I'd like cmake to install where I want it to. Then all
would be together and maybe I could write a little text on how I did
it.
Haven't done much testing on whether the new stuff does what it
should, only briefly called all EXEs without arguments and got their
help messages and saying they are 2.9.17 indeed.

with regards
KFJ

-- 
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

Reply via email to