2010/7/31 Eric O'Brien <[email protected]>

> So you have made some changes in one or more of the installer files, right?
>
> If I was feeling inspired to try installing again, how should I go about
> it?  That is, "hugin-2010.2.0_beta1.tar.gz" at SourceForge is from July 16.
>
> eo
>
>
>
If you want to try it, you now need the 2010.2 mercurial branch or wait for
the next  "hugin-2010.2.0_beta2.tar.gz".

I also attached a patch to this mail.
- Copy the "CMakeLists.txt.diff"  into the hugin-2010.2.0 folder.
- Issue the command "patch -p0 < CMakeLists.txt.diff"

It should change 2 lines in you CMakeLists.txt file.

It should change:
==
      SET(INSTALL_OSX_BUNDLE_DIR ${CMAKE_INSTALL_PREFIX}/Application CACHE
DOCSTRING "Install directory Hugin and HuginStitchProject application
bundles")

to

      SET(INSTALL_OSX_BUNDLE_DIR ${CMAKE_INSTALL_PREFIX}/Applications CACHE
DOCSTRING "Install directory Hugin and HuginStitchProject application
bundles")
==

And it should add:
         SET (CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib" )
below
         SET (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS}
-flat_namespace -undefined suppress" )
         SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}
-flat_namespace -undefined suppress" )

==

If you are on Snow Leopard you still have a problem.
For 2010.2 you can still use libpano13.2.9.14, which is in MacPorts. If you
want to compile libpano13 yourself you absolutely need to compile it as
32bit, but it doesn't correctly. You need to patch the generated libtool. I
have no time to explain it now as I will go on holiday in 2 hours, this was
just a last mail check.
Then you need to build Hugin as 32bit as well with "cmake
-DCMAKE_OSX_ARCHITECTURES="i386" ..
This all due to the fact that wxMac (aka wxWindows) can only be compiled as
32bit on OSX.

That's what I mentioned about the new complications on Snow Leopard.

If you are on Leopard you can go ahead with only the above mentioned
CMakeLists changes.


Harry

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

Attachment: CMakeLists.txt.diff
Description: Binary data

Reply via email to