When I tried to compile multiblend before using hugin, I use the following
command to compile:
g++ -msse2 -O3 -ltiff -ltiffxx -ljpeg -lpng multiblend.cpp -o
(which is provided in build.txt file under the folder of multiblend)
However, I always got the error shown below:
In file included from multiblend.cpp:51:
*./loadimages.cpp:21:11: **warning: **comparison of unsigned expression >=
0 is*
* always true [-Wtautological-compare]*
while (p>=0) {
* ~^ ~*
*./loadimages.cpp:67:11: **warning: **comparison of unsigned expression >=
0 is*
* always true [-Wtautological-compare]*
while (p>=0) {
* ~^ ~*
In file included from multiblend.cpp:55:
*./write.cpp:26:2: **error: **no matching function for call to
'jpeg_set_quality'*
jpeg_set_quality(&cinfo,g_jpegquality,true);
* ^~~~~~~~~~~~~~~~*
*/usr/local/include/jpeglib.h:991:14: note: *candidate function not viable:
no
known conversion from 'bool' to 'boolean' for 3rd argument
EXTERN(void) jpeg_set_quality JPP((j_compress_ptr cinfo, int quality,
* ^*
In file included from multiblend.cpp:55:
*./write.cpp:27:2: **error: **no matching function for call to
'jpeg_start_compress'*
jpeg_start_compress(&cinfo,true);
* ^~~~~~~~~~~~~~~~~~~*
*/usr/local/include/jpeglib.h:1010:14: note: *candidate function not viable:
no
known conversion from 'bool' to 'boolean' for 2nd argument
EXTERN(void) jpeg_start_compress JPP((j_compress_ptr cinfo,
* ^*
2 warnings and 2 errors generated.
Is anybody meeting this situation?
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/775ecd56-d29f-4860-9a8c-95a4ce7eb842%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.