Success! I finally got Hugin Pre-Release 2010.3.0.2c1cfdf75b1b to
build and run under OS X 10.6.4, but I don't understand why I had to
work so hard at it when others have had no problems. Basically, the
problem was that the make completely ignored my CFLAGS and CXXFLAGS
environment variables, I guess because they were being overridden by
in Makefile. To get libpano13 to compile as a 32 bit lib I had to edit
the Makefile created by bootstrap and append "-arch i386" to the end
of the CFLAGS and CXXFLAGS variables in those files. I had to do this
despite the fact that my environment already contained CFLAGS and
CXXFLAGS that included "-arch i386".

The same problem came up when building Hugin. After running "cmake ../
hugin" in the "hugin_build" directory, I had to edit the files
CMakeCCompiler.cmake and CMakeCXXCompiler.cmake in the CMakeFiles
subdirectory and change: SET(CMAKE_C_COMPILER_ARG1 "") to
SET(CMAKE_C_COMPILER_ARG1 "-arch i386").

My question for Harry and any others who haven't had to jump through
these hoops is, what's different about my environment that makes this
necessary? I seem not to be the only one who's had this problem as
google does turn up sporadic references to cases of CFLAGS being
ignored. E.g. http://gcc.gnu.org/ml/gcc/2010-05/msg00080.html. it
makes some sense to me that if the Makefile sets CFLAGS it takes
precedence over my environment variable, but why hasn't this been a
problem for everyone else?

BTW, I am now using the 2.9.17-rc2 version of libpano13, which I
compiled from the tarball.

On Sep 10, 4:19 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
> Hi Darrel,
>
> This really needs some further investigation. I really can't reproduce your
> issues, not even with completely removed and clean installed new trunk
> versions. Did you try that b.t.w.?
>
> Apparently Martin got it working [0].
>
> Please try the 
> 2.9.17-rc2<http://sourceforge.net/projects/panotools/files/libpano13/libpano13-2...>.tar.gz
> version. Or the rc1. That version is completely up-to-date. See if
> you get that working according the wiki.
>
> Harry
>
> [0]: <http://groups.google.com/group/hugin-ptx/browse_thread/thread/a5e0e30...
>
>

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

Reply via email to