Am Donnerstag, 19. Mai 2011 schrieb kfj: > On 19 Mai, 08:11, "T. Modes" <[email protected]> wrote: > > > can you or anybody close to the source recall what those extra > > > dependencies > > > > AFAIR python-dev (you will need the python headers and lib) > > you need swig as well to build, since we've decided to make it > mandatory for building so the hsi module is forced in-sync with the > hugin C++ headers it processes and all changes are promptly reflected > or produce an error if they can't be integrated. > > > > and what cmake flags are necessary to build the python version? > > > > Add -DBUILD_HSI:BOOL=ON to cmake command line (not sure if this is > > correct, but it should give an impression, I'm using the GUI and there > > it is only one click to mark that option) > > here (Kubuntu 11.4) I merely add -DBUILD_HSI=ON
Have tried it on Kubuntu 10.10, but I got compile errors.
...
cd /usr/BUILD/BuildHugin_hg/src/hugin_script_interface && /usr/bin/c++
-D_hsi_EXPORTS -DHUGIN_HSI -O3 -DNDEBUG -fPIC -I/usr/BUILD/BuildHugin_hg/src
-I/usr/src/hugin/hugin_hg/src/hugin_base -
I/usr/src/hugin/hugin_hg/src/foreign
-I/usr/src/hugin/hugin_hg/src/foreign/vigra
-I/usr/src/hugin/hugin_hg/src/celeste -I/usr/BUILD/BuildHugin_hg/src/celeste
-I/usr/src/hugin/hugin_hg/src -
I/usr/include/OpenEXR -I/usr/local/include -I/usr/include/python2.6
-I/usr/src/hugin/hugin_hg/src/hugin_script_interface
-I/usr/BUILD/BuildHugin_hg/src/hugin_script_interface -o
CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o -c
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx
In file included from /usr/include/c++/4.4/backward/hash_set:60,
from /usr/include/boost/pending/container_traits.hpp:23,
from /usr/include/boost/graph/detail/adjacency_list.hpp:31,
from /usr/include/boost/graph/adjacency_list.hpp:324,
from
/usr/src/hugin/hugin_hg/src/hugin_base/algorithms/optimizer/ImageGraph.h:36,
from
/usr/src/hugin/hugin_hg/src/hugin_base/algorithms/optimizer/PTOptimizer.h:216,
from
/usr/src/hugin/hugin_hg/src/hugin_base/algorithms/control_points/CleanCP.h:36,
from
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:3025:
/usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This
file includes at least one deprecated or antiquated header which may be removed
without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality instead.
For a listing of replacement headers and interfaces, consult the file
backward_warning.h. To disable this warning use -Wno-
deprecated.
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In
function ‘PyObject* _wrap_new_AssistantMakefilelibExport(PyObject*, PyObject*)’:
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61257:
error: ‘AssistantPrograms’ was not declared in this scope
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61257:
error: ‘arg2’ was not declared in this scope
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:
error: expected type-specifier before ‘AssistantPrograms’
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:
error: expected ‘>’ before ‘AssistantPrograms’
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:
error: expected ‘(’ before ‘AssistantPrograms’
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:
error: expected primary-expression before ‘>’ token
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:
error: expected ‘)’ before ‘;’ token
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61364:
error: expected ‘)’ before ‘const’
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61364:
error: expected ‘)’ before ‘;’ token
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In
function ‘PyObject* _wrap_AssistantMakefilelibExport_createMakefile(PyObject*,
PyObject*)’:
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61377:
error: ‘AssistantPrograms’ was not declared in this scope
/usr/BUILD/BuildHugin_hg/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61377:
error: ‘arg2’ was not declared in this scope
...
There comes more.
Maybe too old python-version (Python 2.6.6) ?
Kornel
signature.asc
Description: This is a digitally signed message part.
