Hullo Yuv,

On Jan 24, 1:49 pm, Yuv <[email protected]> wrote:
> Hi all
>
> I've staged a clean Ubuntu 9.10 on a new hard drive and I've taken it
> as a chance to go through the instructions at [0] and check if they do
> work on a clean install. Indeed there were a couple of dependencies
> and small changes to add to the instructions. The one thing that no
> longer works for me is Pablo's CP detector from Launchpad [1].
>
> cmake quits with the following error message:
>
> CMake Error at CMakeModules/FindVIGRA.cmake:49 (MESSAGE):
>   Could not find VIGRA
> Call Stack (most recent call first):
>   CMakeLists.txt:30 (FIND_PACKAGE)
>
> I swear it used to work on my previous 9.10 (upgraded and updated over
> the years from 6.06).
>
> what am I doing wrong?

You need to have vigraimpex lib installed on the system. It may be
able to be built using the vigra in hugin but I haven't managed that.
A solution was given in this thread (thanks to Harry)...

http://groups.google.com/group/hugin-ptx/browse_thread/thread/22215e19c32d753b

and the essential bits were...

- cd inside the panomatic-lib source directory (not src)
- make a build directory like "mkdir build"
- cd build;
- issue the following commands to set CFLAGS and so on correctly:
export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
export CFLAGS="-I/opt/local/include -L/opt/local/lib"
export CXXFLAGS=$CFLAGS

- still inside the build directory issue the command "cmake
-DCMAKE_BUILD_TYPE=RelWithDebInfo .." or simply "cmake  .."
- make

I had to edit this for Fedora for my include and lib dir.
I then installed the binary in my /usr/local/bin and the library in
my /usr/local/lib64, and all worked like a bought one.

Hope this helps.

Cheers,
Terry



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