Yea, I did it. I installed wxWidgets by doing (sudo port install
wxWidgets).

I tried again (just in case) and it says:

$ sudo port install wxWidgetsSkipping org.macports.activate
(wxWidgets ) since this port is already active
--->  Cleaning wxWidgets

Nevertheless, I tried again with the exports that you gave me and now
he ask me for GLEW_LIBRARIES variable.


$ rm CMakeCache.txt
$ cmake -DINSTALL_OSX_BUNDLE_DIR=/opt/local/bin ../hugin
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Current SVN revision is 3508
-- Found TIFF: /opt/local/include
-- Found JPEG: /opt/local/include
-- Found ZLIB: /usr/include
-- Found PNG: /usr/X11R6/include
-- Found OPENEXR: /opt/local/lib/libImath.dylib;/opt/local/lib/
libIlmImf.dylib;/opt/local/lib/libIex.dylib;/opt/local/lib/
libHalf.dylib;/opt/local/lib/libIlmThread.dylib
-- Found Exiv2 release >= 0.12
-- Found Exiv2: /opt/local/lib/libexiv2.dylib
-- Program msgfmt found (/opt/local/bin/msgfmt)
*** Will install application bundles in /opt/local/bin, set
INSTALL_OSX_BUNDLE_DIR to change the location
-- Using shared internal libraries
Using these CMAKE_CXX_FLAGS : -I/opt/local/include -L/opt/local/lib  -
flat_namespace -undefined suppress -O3
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
GLEW_LIBRARIES


I will never install it!

Thanks for all and sorry for bothering.




On 21 oct, 19:40, "Harry van der Wolf" <[EMAIL PROTECTED]> wrote:
> Hi Guillermo,
>
> You could use the wxWidgets 2.8.4 version standard on Leopard, but it is
> better not to use that one.
> You'd better install the macports version (sudo port install wxWidgets).
> This will install 2.8.8
> To do a full-proof compilation, use the following commands.
> $ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
> $ export CFLAGS="-I/opt/local/include -L/opt/local/lib"
> $ export CXXFLAGS=$CFLAGS
> $ cmake -DINSTALL_OSX_BUNDLE_DIR=/opt/local/bin ../hugin
> $ make
> $ sudo make install
>
> This will install Hugin.app in /opt/local/bin. You can start it (from the
> terminal) with
> $ open /opt/local/bin/Hugin.app &
>
> Harry
>
> 2008/10/21 Guillermo <[EMAIL PROTECTED]>
>
>
>
> > Arrrg!
>
> > Hi again.
>
> > Still a problem, but this time for sure is because the path of the
> > wxWidgets is not found.
>
> > macbook-de-guillermo-suarez-de-tangil:hugin_build guille$ cmake --
> > version
> > cmake version 2.4-patch 8
> > macbook-de-guillermo-suarez-de-tangil:hugin_build guille$ rm
> > CMakeCache.txt
> > macbook-de-guillermo-suarez-de-tangil:hugin_build guille$ cmake ../
> > hugin
> > -- Check for working C compiler: /usr/bin/gcc
> > -- Check for working C compiler: /usr/bin/gcc -- works
> > -- Check size of void*
> > -- Check size of void* - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Current SVN revision is 3508
> > CMake Error: wxWidgets required, please specify it's location.
> > -- Configuring done
>
> > Which one is the correct wx library? Because if this one (/usr/include/
> > wx-2.8-macLeopard ) have a problem. Where is the wx-2.8.7 and why is
> > not specified the location?
>
> > Thanks for all!
>
> > On 20 oct, 19:03, "Harry van der Wolf" <[EMAIL PROTECTED]> wrote:
> > > Hi Guillermo,
>
> > > It was already in your previous post but I didn't spot it. You are using
> > > cmake 2.6 ( /usr/local/share/cmake-2.6/Modules/FindwxWidgets.cmake:765).
> > > I can't compile hugin either with cmake 2.6 (just tried). Hugin obviously
> > > does not work yet with cmake 2.6. Please uninstall it and install 2.4.8
> > and
> > > try again.
>
> > > (I can't compile other packages either with 2.6. I suppose a lot of
> > > developers need to change their cmake build files, or cmake 2.6 OSX
> > contains
> > > an error)
>
> > > Harry
>
> > > 2008/10/20 Guillermo <[EMAIL PROTECTED]>
>
> > > > Hi Harry.
>
> > > > Thanks for all.
>
> > > > I did it and I still have the problem.
>
> > > > This is the output:
>
> > > > macbook-de-guillermo-suarez-de-tangil:hugin_build guille$ rm
> > > > CMakeCache.txt
> > > > macbook-de-guillermo-suarez-de-tangil:hugin_build guille$ cmake ../
> > > > hugin-- The C compiler identification is GNU
> > > > -- The CXX compiler identification is GNU
> > > > -- Check for working C compiler: /usr/bin/gcc
> > > > -- Check for working C compiler: /usr/bin/gcc -- works
> > > > -- Detecting C compiler ABI info
> > > > -- Detecting C compiler ABI info - done
> > > > -- Check for working CXX compiler: /usr/bin/c++
> > > > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > > > -- Detecting CXX compiler ABI info
> > > > -- Detecting CXX compiler ABI info - done
> > > > -- Current SVN revision is 3508
> > > > CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:51
> > > > (MESSAGE):
> > > >  Could not find REQUIRED package wxWidgets
> > > > Call Stack (most recent call first):
> > > >  /usr/local/share/cmake-2.6/Modules/FindwxWidgets.cmake:765
> > > > (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
> > > >  CMakeLists.txt:106 (FIND_PACKAGE)
>
> > > > -- Configuring incomplete, errors occurred!
>
> > > > It seams to be not installed the wxWidget (but i did proper "sudo port
> > > > install ... wxWidgets...") or is not in the path.
>
> > > > Any idea?
>
> > > > If you need something else don't hesitate in asking me,
> > > > Guillermo.
--~--~---------~--~----~------------~-------~--~----~
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