Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-08 Thread Harry van der Wolf
2010/10/8 Kornel Benko 

> Am Mittwoch, 6. Oktober 2010 schrieb Ken Turkowski:
> > sudo ldconfig does the trick, on Linux.
> > This should be n INSTALL_cmake.
>
> Somehow we should manipulate post-install for debian (and maybe for rpm
> too)
> Will try to do for debian at home.
>
> > However, that doesn't help on the Mac:
> >  sudo: ldconfig: command not found
> >
>
> Don't know Mac. But a google search gives:
>
>Q: Is there a parallel command to Linux's LDCONFIG for Mac OS X's
> Terminal?
>A: The answer is no. But you can still configure the search path via
> environment variables, see dyld(1).
>
> Since I don't have Mac, I give up here.
>
>Kornel
>
>
ldconfig or something similar isn't necessary on OSX. OSX uses a completely
different mechanism where the path to dependent libraries is always set as
metadata in the library.
For example: when I do a "otool -L /usr/local/lib/libhuginbasewx.0.0.dylib"
(the mentioned library in Kens post), I get:
/usr/local/lib/libhuginbasewx.0.0.dylib:
/usr/local/lib/libhuginbasewx.0.0.dylib (compatibility version 0.0.0,
current version 0.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
(compatibility version 1.0.0, current version 275.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
(compatibility version 2.0.0, current version 152.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 15.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
125.2.0)
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
(compatibility version 1.0.0, current version 1742.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility
version 1.0.0, current version 1.0.0)
/opt/local/lib/libwx_macu_gl-2.8.0.dylib (compatibility version 8.0.0,
current version 8.0.0)
/opt/local/lib/libwx_macu-2.8.0.dylib (compatibility version 8.0.0,
current version 8.0.0)
/usr/local/lib/libhuginbase.0.0.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libboost_thread-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libboost_date_time-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libboost_regex-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libboost_filesystem-mt.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/lib/libboost_iostreams-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libpano13.2.dylib (compatibility version 3.0.0, current
version 3.0.0)
/opt/local/lib/libGLEW.1.5.1.dylib (compatibility version 0.0.0, current
version 0.0.0)
/usr/local/lib/libhuginvigraimpex.0.0.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/lib/libjpeg.8.dylib (compatibility version 9.0.0, current
version 9.2.0)
/opt/local/lib/libImath.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libIlmImf.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libIex.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libHalf.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libIlmThread.6.dylib (compatibility version 7.0.0,
current version 7.0.0)
/opt/local/lib/libpng12.0.dylib (compatibility version 45.0.0, current
version 45.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
/usr/local/lib/libmakefilelib.0.0.dylib (compatibility version 0.0.0,
current version 0.0.0)
/opt/local/lib/libexiv2.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/opt/local/lib/libtiff.3.dylib (compatibility version 13.0.0, current
version 13.4.0)
/System/Library/Frameworks/GLUT.framework/Versions/A/GLUT (compatibility
version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version
7.9.0)

OSX doesn't need ldconfig. Every library/binary knows exactly where to find
which other dependent library.
And in case you want to change that, e.g. for a bundle, you use the
install_name_tool.

Please have a look at which architectures are in your libs as mentioned in
my previous post.

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

Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-08 Thread Kornel Benko
Am Mittwoch, 6. Oktober 2010 schrieb Ken Turkowski:
> sudo ldconfig does the trick, on Linux.
> This should be n INSTALL_cmake.

Somehow we should manipulate post-install for debian (and maybe for rpm too)
Will try to do for debian at home.

> However, that doesn't help on the Mac:
>  sudo: ldconfig: command not found
> 

Don't know Mac. But a google search gives:  

Q: Is there a parallel command to Linux's LDCONFIG for Mac OS X's 
Terminal?
A: The answer is no. But you can still configure the search path via 
environment variables, see dyld(1).

Since I don't have Mac, I give up here.

Kornel



signature.asc
Description: This is a digitally signed message part.


Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-08 Thread Ken Turkowski
sudo ldconfig does the trick, on Linux. This should be n INSTALL_cmake.

However, that doesn't help on the Mac:
 sudo: ldconfig: command not found

On Oct 6, 2010, at 1:40 AM, Tim Nugent wrote:

> Did you do this after sudo make install:
> 
> sudo ldconfig
> 
> usually helps,
> 
> Cheers,
> 
> Tim
> 
> 
> On 6 October 2010 10:37, Ken Turkowski  wrote:
> On Ubuntu, I get:
> 
> usr/local/bin$ ./hugin
> ./hugin: error while loading shared libraries: libhuginbase.so.0.0: cannot 
> open shared object file: No such file or directory
> 
> 
> 
> On Wed, Oct 6, 2010 at 12:10 AM, Ken Turkowski  
> wrote:
> The first time, the build failed while compiling IForgetWhat.cpp, actually 
> complaining about IForgetWhat.s not found. I ran make a second time, and it 
> finished to completion.
> After a make clean and a make, it built without incident.
> 
> There were a few warnings:
> 
> --
> In file included from 
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:42:
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2: 
> warning: #warning LAPACK not available, LU will be used for matrix inversion 
> when computing the covariance; this might be unstable at times
> 
> In file included from 
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:57:
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2: 
> warning: #warning LAPACK not available, LU will be used for matrix inversion 
> when computing the covariance; this might be unstable at times
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/lmlec.c:39:2: 
> warning: #warning Linearly constrained optimization requires LAPACK and was 
> not compiled!
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:
>  In member function ‘int HuginBase::CalculateOptimalROI::autocrop()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:334:
>  warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp: In 
> function ‘void map_points()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp:182: 
> warning: deprecated conversion from string constant to ‘char*’
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In 
> member function ‘const char* lensFunc::camDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685: 
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In 
> member function ‘const char* lensFunc::lensDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701: 
> warning: deprecated conversion from string constant to ‘char*’
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp: In 
> function ‘int linePts2lineList(vigra::BImage&, int, double, 
> std::vector >, 
> std::allocator > > 
> >&)’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:664:
>  warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:665:
>  warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:666:
>  warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:667:
>  warning: deprecated conversion from string constant to ‘char*’
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In 
> member function ‘const char* lensFunc::camDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685: 
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685: 
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In 
> member function ‘const char* lensFunc::lensDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701: 
> warning: deprecated conversion from string constant to ‘char*’
> 
> ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, 
> missing required architecture x86_64 in file
> ld: warning: in /usr/lib/libwx_macud_gl-2.8.dylib, missing required 
> architecture x86_64 in file
> ld: warning: in /usr/lib/libwx_macud-2.8.dylib, missing required architecture 
> x86_64 in file
> ld: warning: duplicate dylib /usr/lib/libz.dylib
> 
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:
>  In function ‘T vigra_ext::zeroNegative(T) [with T = unsigned char]’:
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/

Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-06 Thread Harry van der Wolf
Hi,

2010/10/6 Bruno Postle 

> On Wed 06-Oct-2010 at 00:10 -0700, Ken Turkowski wrote:
>
>  /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2:
>> warning: #warning LAPACK not available, LU will be used for matrix inversion
>> when computing the covariance; this might be unstable at times
>>
>
> Hugin can be built with or without lapack, but it doesn't seem to make much
> difference either way so we don't require it.
>
>
>  The "deprecated conversion from string constant to ‘char*" can be fixed by
>> using "const char*" in the API.
>>
>> The "warning: format ‘%d’ expects type ‘int’, but argument 3 has type
>> ‘long int’" message is solvable by using "%ld" because it was declared as a
>> long; some other cases might need, e.g. PRId64 from .
>>
>> The "comparison is always false due to limited range of data type" message
>> can probably be ignored.
>>
>
> I'm wary of fixing these at such a late stage in the release cycle without
> having a specific bug that is known to effect users.  Now is a good time to
> fix them in the development 'trunk' though.
>
>
>  I got a runtime error when I ran
>>
>
>   Symbol not found: __ZN12wxConfigBase10ms_pConfigE
>>  Referenced from: /usr/local/lib/libhuginbasewx.0.0.dylib
>>  Expected in: flat namespace
>>
>
>  So, it looks like
>>  wxConfigBase::ms_pConfig
>> is missing.
>>
>> I found it in
>>wx-2.8/wx/confbase.h
>> but it looks like it was just declared inside the class definition, but
>> not allocated outside of the class definition. There needs to be a
>>wxConfigBase *wxConfigBase::ms_pConfig;
>> somewhere, perhaps #ifdef'ed by __APPLE__, __linux__,  wxMAJOR_VERSION,
>> wxMINOR_VERSION, wxRELEASE_NUMBER, wxSUBRELEASE_NUMBER
>>
>
> I wonder why this hasn't been reported before, my understanding is that the
> OS X build is ok.
>
> Can the OS X builders comment on this?  I'm not in a position to do
> anything about it since I'm running Hugin on Linux.
>
> --
> Bruno
>
>
This has most probably to do with incorrect architecture versions linking
against each other. wxmac28 can only  be compiled as 32bit on OSX and
wxmac29 is not yet supported in Hugin. wxmac28 being 32bit also means that
hugin needs to be compiled as 32bit. On Snow Leopard everything is compiled
as 64bit by default, also hugin and friends.
Please do a "lipo -info" on your libwxmac* libraries and also on your
"libhugin*" libraries and please let us know whether I'm correct.
This "ifdef" rule is definitely not necessary.
This mismatch between 32bit and 64bit has been discussed in a two threads
(1,2) regarding recent builds from users also on snow Leopard.

Before cmaking and making hugin do a complete clean of your build directory
and then a:
export CFLAGS="-arch i386 -I/opt/local/include -L/opt/local/lib"
export CXXFLAGS="-arch i386 -I/opt/local/include -L/opt/local/lib"
export LDFLAGS="-L/opt/local/lib"

before doing a new cmake/make (this assumes you are using macports, for Fink
change accordingly).

With regard to LAPACK: Lapack is slower than LU on OSX, probably because it
is not optimized enough. After some "pushing" ;) by
 Lukáš Jirkovský last year I did tests on "equal" builds with and without
Lapack and I found it didn't bring anything. I also released a bundle with
lapack but again, it didn't bring anything extra even though it should in
theory.

Harry

1: <
http://old.nabble.com/Hugin-2010.3.0-crashes-on-startup-on-OS-X-10.6.4-td29625929r0.html
>
2: 

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


Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-06 Thread Bruno Postle

On Wed 06-Oct-2010 at 00:10 -0700, Ken Turkowski wrote:


/Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2: 
warning: #warning LAPACK not available, LU will be used for matrix inversion 
when computing the covariance; this might be unstable at times


Hugin can be built with or without lapack, but it doesn't seem to 
make much difference either way so we don't require it.



The "deprecated conversion from string constant to ‘char*" can be fixed by using 
"const char*" in the API.

The "warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’" message is 
solvable by using "%ld" because it was declared as a long; some other cases might need, e.g. 
PRId64 from .

The "comparison is always false due to limited range of data type" message can 
probably be ignored.


I'm wary of fixing these at such a late stage in the release cycle 
without having a specific bug that is known to effect users.  Now is 
a good time to fix them in the development 'trunk' though.



I got a runtime error when I ran



 Symbol not found: __ZN12wxConfigBase10ms_pConfigE
 Referenced from: /usr/local/lib/libhuginbasewx.0.0.dylib
 Expected in: flat namespace



So, it looks like
  wxConfigBase::ms_pConfig
is missing.

I found it in
wx-2.8/wx/confbase.h
but it looks like it was just declared inside the class definition, but not 
allocated outside of the class definition. There needs to be a
wxConfigBase *wxConfigBase::ms_pConfig;
somewhere, perhaps #ifdef'ed by __APPLE__, __linux__,  wxMAJOR_VERSION, 
wxMINOR_VERSION, wxRELEASE_NUMBER, wxSUBRELEASE_NUMBER


I wonder why this hasn't been reported before, my understanding is 
that the OS X build is ok.


Can the OS X builders comment on this?  I'm not in a position to do 
anything about it since I'm running Hugin on Linux.


--
Bruno

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


Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-06 Thread Tim Nugent
Did you do this after sudo make install:

sudo ldconfig

usually helps,

Cheers,

Tim


On 6 October 2010 10:37, Ken Turkowski  wrote:

> On Ubuntu, I get:
>
> usr/local/bin$ ./hugin
> ./hugin: error while loading shared libraries: libhuginbase.so.0.0: cannot
> open shared object file: No such file or directory
>
>
>
> On Wed, Oct 6, 2010 at 12:10 AM, Ken Turkowski wrote:
>
>> The first time, the build failed while compiling IForgetWhat.cpp, actually
>> complaining about IForgetWhat.s not found. I ran make a second time, and it
>> finished to completion.
>> After a make clean and a make, it built without incident.
>>
>> There were a few warnings:
>>
>>
>> --
>> In file included from
>> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:42:
>> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2:
>> warning: #warning LAPACK not available, LU will be used for matrix inversion
>> when computing the covariance; this might be unstable at times
>>
>> In file included from
>> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:57:
>> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2:
>> warning: #warning LAPACK not available, LU will be used for matrix inversion
>> when computing the covariance; this might be unstable at times
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/lmlec.c:39:2:
>> warning: #warning Linearly constrained optimization requires LAPACK and was
>> not compiled!
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:
>> In member function ‘int HuginBase::CalculateOptimalROI::autocrop()’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:334:
>> warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp: In
>> function ‘void map_points()’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp:182:
>> warning: deprecated conversion from string constant to ‘char*’
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
>> member function ‘const char* lensFunc::camDesc()’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685:
>> warning: deprecated conversion from string constant to ‘char*’
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
>> member function ‘const char* lensFunc::lensDesc()’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701:
>> warning: deprecated conversion from string constant to ‘char*’
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:
>> In function ‘int linePts2lineList(vigra::BImage&, int, double,
>> std::vector >,
>> std::allocator >
>> > >&)’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:664:
>> warning: deprecated conversion from string constant to ‘char*’
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:665:
>> warning: deprecated conversion from string constant to ‘char*’
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:666:
>> warning: deprecated conversion from string constant to ‘char*’
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:667:
>> warning: deprecated conversion from string constant to ‘char*’
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
>> member function ‘const char* lensFunc::camDesc()’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685:
>> warning: deprecated conversion from string constant to ‘char*’
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685:
>> warning: deprecated conversion from string constant to ‘char*’
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
>> member function ‘const char* lensFunc::lensDesc()’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701:
>> warning: deprecated conversion from string constant to ‘char*’
>>
>> ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime,
>> missing required architecture x86_64 in file
>> ld: warning: in /usr/lib/libwx_macud_gl-2.8.dylib, missing required
>> architecture x86_64 in file
>> ld: warning: in /usr/lib/libwx_macud-2.8.dylib, missing required
>> architecture x86_64 in file
>> ld: warning: duplicate dylib /usr/lib/libz.dylib
>>
>> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:
>> In function ‘T vigra_ext::zeroNegative(T) [with T = unsigned char]’:
>> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:145:
>>   instantiated from ‘void
>> vigra_ext::transformImageIntern(vigra::triple,
>> vigra::triple, std::pair> DestAccessor>, TRANSFORM&, PixelTransform&, vigra::Diff2D, Int

Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-06 Thread Ken Turkowski
On Ubuntu, I get:

usr/local/bin$ ./hugin
./hugin: error while loading shared libraries: libhuginbase.so.0.0: cannot
open shared object file: No such file or directory


On Wed, Oct 6, 2010 at 12:10 AM, Ken Turkowski wrote:

> The first time, the build failed while compiling IForgetWhat.cpp, actually
> complaining about IForgetWhat.s not found. I ran make a second time, and it
> finished to completion.
> After a make clean and a make, it built without incident.
>
> There were a few warnings:
>
>
> --
> In file included from
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:42:
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2:
> warning: #warning LAPACK not available, LU will be used for matrix inversion
> when computing the covariance; this might be unstable at times
>
> In file included from
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:57:
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2:
> warning: #warning LAPACK not available, LU will be used for matrix inversion
> when computing the covariance; this might be unstable at times
>
> /Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/lmlec.c:39:2:
> warning: #warning Linearly constrained optimization requires LAPACK and was
> not compiled!
>
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:
> In member function ‘int HuginBase::CalculateOptimalROI::autocrop()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:334:
> warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
>
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp: In
> function ‘void map_points()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp:182:
> warning: deprecated conversion from string constant to ‘char*’
>
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
> member function ‘const char* lensFunc::camDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685:
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
> member function ‘const char* lensFunc::lensDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701:
> warning: deprecated conversion from string constant to ‘char*’
>
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:
> In function ‘int linePts2lineList(vigra::BImage&, int, double,
> std::vector >,
> std::allocator >
> > >&)’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:664:
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:665:
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:666:
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:667:
> warning: deprecated conversion from string constant to ‘char*’
>
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
> member function ‘const char* lensFunc::camDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685:
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685:
> warning: deprecated conversion from string constant to ‘char*’
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In
> member function ‘const char* lensFunc::lensDesc()’:
> /Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701:
> warning: deprecated conversion from string constant to ‘char*’
>
> ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime,
> missing required architecture x86_64 in file
> ld: warning: in /usr/lib/libwx_macud_gl-2.8.dylib, missing required
> architecture x86_64 in file
> ld: warning: in /usr/lib/libwx_macud-2.8.dylib, missing required
> architecture x86_64 in file
> ld: warning: duplicate dylib /usr/lib/libz.dylib
>
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:
> In function ‘T vigra_ext::zeroNegative(T) [with T = unsigned char]’:
> /Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:145:
>   instantiated from ‘void
> vigra_ext::transformImageIntern(vigra::triple,
> vigra::triple, std::pair DestAccessor>, TRANSFORM&, PixelTransform&, vigra::Diff2D, Interpolator,
> bool, AppBase::MultiProgressDisplay&) [with SrcImageIterator =
> vigra::ConstBasicImageIterator,
> vigra::RGBValue**>, SrcAccessor =
> vigra::RGBToGrayAccessor >,
> DestImageIterator = vigra::BasicImageIterator, DestAccesso

Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-06 Thread Ken Turkowski
The first time, the build failed while compiling IForgetWhat.cpp, actually 
complaining about IForgetWhat.s not found. I ran make a second time, and it 
finished to completion.
After a make clean and a make, it built without incident.

There were a few warnings:

--
In file included from 
/Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:42:
/Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2: 
warning: #warning LAPACK not available, LU will be used for matrix inversion 
when computing the covariance; this might be unstable at times

In file included from 
/Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc.c:57:
/Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/misc_core.c:566:2: 
warning: #warning LAPACK not available, LU will be used for matrix inversion 
when computing the covariance; this might be unstable at times

/Users/turk/Downloads/hugin-2010.2.0/src/foreign/levmar/lmlec.c:39:2: warning: 
#warning Linearly constrained optimization requires LAPACK and was not compiled!

/Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:
 In member function ‘int HuginBase::CalculateOptimalROI::autocrop()’:
/Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/algorithms/basic/CalculateOptimalROI.cpp:334:
 warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’

/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp: In 
function ‘void map_points()’:
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/MapPoints.cpp:182: 
warning: deprecated conversion from string constant to ‘char*’

/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In member 
function ‘const char* lensFunc::camDesc()’:
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685: 
warning: deprecated conversion from string constant to ‘char*’
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In member 
function ‘const char* lensFunc::lensDesc()’:
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701: 
warning: deprecated conversion from string constant to ‘char*’

/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp: In 
function ‘int linePts2lineList(vigra::BImage&, int, double, 
std::vector >, 
std::allocator > > 
>&)’:
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:664: 
warning: deprecated conversion from string constant to ‘char*’
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:665: 
warning: deprecated conversion from string constant to ‘char*’
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:666: 
warning: deprecated conversion from string constant to ‘char*’
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/find_N8_lines.cpp:667: 
warning: deprecated conversion from string constant to ‘char*’

/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In member 
function ‘const char* lensFunc::camDesc()’:
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685: 
warning: deprecated conversion from string constant to ‘char*’
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:685: 
warning: deprecated conversion from string constant to ‘char*’
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp: In member 
function ‘const char* lensFunc::lensDesc()’:
/Users/turk/Downloads/hugin-2010.2.0/src/lens_calibrate/lensFunc.cpp:701: 
warning: deprecated conversion from string constant to ‘char*’

ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, 
missing required architecture x86_64 in file
ld: warning: in /usr/lib/libwx_macud_gl-2.8.dylib, missing required 
architecture x86_64 in file
ld: warning: in /usr/lib/libwx_macud-2.8.dylib, missing required architecture 
x86_64 in file
ld: warning: duplicate dylib /usr/lib/libz.dylib

/Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:
 In function ‘T vigra_ext::zeroNegative(T) [with T = unsigned char]’:
/Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:145:
   instantiated from ‘void 
vigra_ext::transformImageIntern(vigra::triple, 
vigra::triple, std::pair, TRANSFORM&, PixelTransform&, vigra::Diff2D, Interpolator, bool, 
AppBase::MultiProgressDisplay&) [with SrcImageIterator = 
vigra::ConstBasicImageIterator, 
vigra::RGBValue**>, SrcAccessor = 
vigra::RGBToGrayAccessor >, 
DestImageIterator = vigra::BasicImageIterator, DestAccessor = 
vigra::StandardValueAccessor, TRANSFORM = vigra_ext::RotateTransform, 
PixelTransform = vigra_ext::PassThroughFunctor, AlphaImageIterator = 
vigra::BasicImageIterator, AlphaAccessor = 
vigra::StandardValueAccessor, Interpolator = vigra_ext::interp_cubic]’
/Users/turk/Downloads/hugin-2010.2.0/src/hugin_base/vigra_ext/ImageTransforms.h:566:
   instantiated 

Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-02 Thread Bruno Postle

On Sat 02-Oct-2010 at 11:43 +0200, Simon Oosthoek wrote:


I also have a question: what is the default optimisation that 
hugin does when you first load images, generate CPs and then 
presto it presents the first preview. I was unable to improve on 
that (apart from adding a mask), so I'm wondering what it is that 
makes this a good optimisation?


Ok, the defaults seem to work rather well for me, but I suppose they 
can be tuned even further...
AFAIK there's no way for me to choose this optimisation from the GUI 
in this release, is there?


You can click on the Align... button in the Assistant any time.

--
Bruno

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


Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-02 Thread Simon Oosthoek

On 02/10/10 00:21, Bruno Postle wrote:

On Thu 30-Sep-2010 at 12:09 +0200, Simon Oosthoek wrote:


I also have a question: what is the default optimisation that hugin 
does when you first load images, generate CPs and then presto it 
presents the first preview. I was unable to improve on that (apart 
from adding a mask), so I'm wondering what it is that makes this a 
good optimisation?
A lot of this could be made into user preferences, not because users 
should be continually tinkering with these settings, but there is no 
other way I can think of of determining a good set of defaults.




Ok, the defaults seem to work rather well for me, but I suppose they can 
be tuned even further...
AFAIK there's no way for me to choose this optimisation from the GUI in 
this release, is there?


Cheers

Simon

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


Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-10-01 Thread Bruno Postle

On Thu 30-Sep-2010 at 12:09 +0200, Simon Oosthoek wrote:


I also have a question: what is the default optimisation that 
hugin does when you first load images, generate CPs and then 
presto it presents the first preview. I was unable to improve on 
that (apart from adding a mask), so I'm wondering what it is that 
makes this a good optimisation?


It's SmartOptimise::smartOptimize in 
src/hugin_base/algorithms/optimizer/PTOptimizer.cpp


There are some heuristics and at least two passes:

First it optimises just positions, if the final panorama is 360° 
then it will optimise field of view of the photos in the next step.


It looks at the spread of control points and either optimises just 
'b' or 'a,b,c' lens parameters depending on this spread.


If the photos are wider than 60° then d,e will be optimised too.

It does some checks with the result of this second step, if the 
v,a,b,c,d,e parameters are not credible then it backs out and 
optimises the project again but with less parameters.


Looking at this code, some of the default thresholds could be 
better, e.g. I think it is safe to optimise field of view if the 
panorama is greater than about 150°, the a,b,c thresholds are too 
high, and the d,e threshold should be a proportion of the photo 
width rather than a pixel value.


A lot of this could be made into user preferences, not because users 
should be continually tinkering with these settings, but there is no 
other way I can think of of determining a good set of defaults.


--
Bruno

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


Re: [hugin-ptx] hugin-2010.2.0_rc2 released

2010-09-30 Thread Simon Oosthoek

On 29/09/10 00:37, Bruno Postle wrote:

Hugin is a Panorama stitcher and more.  A powerful software package
for creating and processing panoramic images.

A hugin-2010.2.0_rc2 (release candidate 2) tarball is available here:
https://sourceforge.net/projects/hugin/files/hugin-2010.2_beta/

This is a release candidate, i.e. The final release may be identical.

More information about this release can be found in the full ChangeLog below
and the final release notes:
http://hugin.sourceforge.net/releases/2010.2.0/

   


I just tried it, it seems to work really well for me (kubuntu 10.04.1), 
the only things I noticed were:
- I had an older enblend (compiled with older library), failing to run 
it hung the stitch-now window completely (that's ugly from a user's 
perspective)
- the GLpreview window's photometrics looks a lot darker than in the 
final output. That should be more calibrated IMO.


I also have a question: what is the default optimisation that hugin does 
when you first load images, generate CPs and then presto it presents the 
first preview. I was unable to improve on that (apart from adding a 
mask), so I'm wondering what it is that makes this a good optimisation?


Anyway, good work!

Cheers

Simon

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


[hugin-ptx] hugin-2010.2.0_rc2 released

2010-09-28 Thread Bruno Postle
Hugin is a Panorama stitcher and more.  A powerful software package
for creating and processing panoramic images.

A hugin-2010.2.0_rc2 (release candidate 2) tarball is available here:
https://sourceforge.net/projects/hugin/files/hugin-2010.2_beta/

This is a release candidate, i.e. The final release may be identical.

More information about this release can be found in the full ChangeLog below
and the final release notes:
http://hugin.sourceforge.net/releases/2010.2.0/

Summary of changes since 2010.2.0_rc1:

* Updated Russian translation.

* Activate autocrop on all projections.

* Don't override loaded crop factor from project file.

* Fixes incorrect masks in combination with translations parameters.

* Minor GUI, build and packaging fixes.

libpano13-2.9.17 is required, this was released on 10th September 2010.

See README, ChangeLog and INSTALL_cmake for more information.

SHA1SUM:
f0676f28cd3fbebcf4086f55af7cf09566772899  hugin-2010.2.0_rc2.tar.gz

This release is equivalent to hg branch 2010.2 -r 4431:d8ce0ba947cc

A detailed ChangeLog of every commit since 2010.2.0_rc1 follows:

2010-09-27  tmodes  

* src/hugin_base/panodata/Mask.cpp,
src/hugin_base/panodata/Panorama.cpp:
Fixes incorrect masks in combination with translations parameters
[3076130]
[8418676e8a53]

2010-09-26  Bruno Postle  

* src/foreign/vigra/vigra_impex/CMakeLists.txt:
Fix -lpthread fix
[3936a26214ba]

* src/foreign/vigra/vigra_impex/CMakeLists.txt:
explicitly use -lpthread when available, fixes build failure on
fedora f14
[c8ed7735f41d]

2010-09-25  Bruno Postle  

* src/translations/ru.po:
Russian translation update (Alexandre Prokoudine)
[e4b691911336]

2010-09-24  tmodes  

* src/hugin1/hugin/PanoPanel.cpp:
Enable autocrop for all projections also on pano panel
[7d8bddbbd13e]

2010-09-23  tmodes  

* src/hugin1/hugin/GLPreviewFrame.cpp:
Activate autocrop on all projections
[efa643db4383]

2010-09-19  harryvanderwolf  

* src/hugin1/hugin/xrc/assistant_panel.xrc:
set lens type wxchoice pulldown on assistant tab to correct size
[c9b073555204]

2010-09-18  harryvanderwolf  

* mac/copyExtraTools.sh:
[OSX] add enblend and enfuse to copyExtraTools.sh script
[09d36ef1f80c]

2010-09-17  tmodes  

* Merged
[3343ab49deed]

* src/hugin_base/panodata/SrcPanoImage.cpp:
Don't override loaded crop factor from project file
[ca1bbd638e77]

2010-09-15  Bruno Postle  

* ChangeLog:
update ChangeLog for likely rc1
[23e34640f870] [hugin-2010.2.0_rc1]



pgpi5MaOyO4tD.pgp
Description: PGP signature