[ptx] [ hugin-Bugs-1443484 ] Additional checks needed at configure stage.

SourceForge.net noreply at sourceforge.net
Sun Mar 5 12:55:33 GMT 2006


Bugs item #1443484, was opened at 2006-03-05 12:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550441&aid=1443484&group_id=77506

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Adam Buchbinder (gdrago23)
Assigned to: Nobody/Anonymous (nobody)
Summary: Additional checks needed at configure stage.

Initial Comment:
Compiling hugin-0.5 from source on Ubuntu Breezy.

In Ubuntu, libboost is broken up into a number of
subpackages. apt-get install'ing libboost-dev is enough
to get ./configure to run successfully, but it will die
as follows:

In file included from ../../src/include/PT/PTOptimise.h:33,
                 from PanoToolsInterface.cpp:36:
../../src/include/PT/ImageGraph.h:36:40: error:
boost/graph/graph_traits.hpp: No such file or directory
../../src/include/PT/ImageGraph.h:37:42: error:
boost/graph/adjacency_list.hpp: No such file or directory
../../src/include/PT/ImageGraph.h:38:38: error:
boost/graph/properties.hpp: No such file or directory
In file included from PanoToolsInterface.cpp:36:
../../src/include/PT/PTOptimise.h:35:48: error:
boost/graph/breadth_first_search.hpp: No such file or
directory
../../src/include/PT/ImageGraph.h:47: error: 'boost'
has not been declared
../../src/include/PT/ImageGraph.h:47: error: expected
initializer before '<' token
../../src/include/PT/ImageGraph.h:55: error: 'CPGraph'
has not been declared
../../src/include/PT/ImageGraph.h:59: error: 'boost'
has not been declared
../../src/include/PT/ImageGraph.h:59: error: expected
initializer before '<' token
../../src/include/PT/ImageGraph.h:69: error: 'boost'
has not been declared
../../src/include/PT/ImageGraph.h:69: error: expected
initializer before '<' token
../../src/include/PT/ImageGraph.h:78: error:
'OverlapGraph' has not been declared
../../src/include/PT/PTOptimise.h:69: error: 'boost'
has not been declared
../../src/include/PT/PTOptimise.h:70: error: expected
class-name before '{' token
../../src/include/PT/PTOptimise.h: In member function
'void PTools::OptimiseVisitor::discover_vertex(Vertex,
const Graph&)':
../../src/include/PT/PTOptimise.h:95: error: 'boost'
has not been declared
../../src/include/PT/PTOptimise.h:95: error: expected
initializer before '<' token
../../src/include/PT/PTOptimise.h:96: error: 'boost'
has not been declared
../../src/include/PT/PTOptimise.h:96: error: expected
initializer before '<' token
../../src/include/PT/PTOptimise.h:97: error: 'ai' was
not declared in this
scope../../src/include/PT/PTOptimise.h:97: error:
'ai_end' was not declared in this scope
../../src/include/PT/PTOptimise.h:97: error: there are
no arguments to 'tie' that depend on a template
parameter, so a declaration of 'tie' must be available
../../src/include/PT/PTOptimise.h:97: error: (if you
use '-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
../../src/include/PT/PTOptimise.h:101: error: 'boost'
has not been declared
../../src/include/PT/PTOptimise.h:101: error:
'vertex_color' was not declared in this scope
../../src/include/PT/PTOptimise.h:101: error: 'boost'
has not been declared
../../src/include/PT/PTOptimise.h:101: error:
'color_traits' was not declared in this scope
../../src/include/PT/PTOptimise.h:101: error: 'boost'
has not been declared
../../src/include/PT/PTOptimise.h:101: error:
'default_color_type' was not declared in this scope
../../src/include/PT/PTOptimise.h:101: error: '::white'
has not been declared
make[2]: *** [PanoToolsInterface.lo] Error 1

This problem can be solved by installing
libboost-graph-dev. It could be checked for at the
configure stage instead of the build stage by looking
for the required header file
boost/graph/graph_traits.hpp or any of the other
headers from the graph package that it includes.

Also, the program wxrc is part of the wx-common package
in Ubuntu, but configure will complete without it. (The
wx packages I have installed are libwxgtk2.4-1,
libwxgtk2.6-0, libgtk2.6-dev and wx2.6-headers.
Compilation completes without wx-common installed, but
errors like the following pop up while it's going on:

wxrc -g -o ./about.xrs about.xrc
make[4]: wxrc: Command not found
make[4]: [about.xrs] Error 127 (ignored)

It seems to install and run fine without the use of
wxrc, and I can't tell the difference between a version
compiled with and a version compiled without. Is this,
as the error message implies, ignorable?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550441&aid=1443484&group_id=77506


More information about the ptx mailing list