Package: vtk-examples
Version: 5.4.2-8
Severity: normal

Excuse me for my bad English :-)

I can't compile any of Qt examples. This is an error:

--------------------------------------
sergey@fc3:~/vtk_learn/vtk/GUI/Qt/SimpleView$ mkdir ./tmp && cd ./tmp && cmake 
.. && make
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Multiple versions of QT found please set DESIRED_QT_VERSION
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/tmp
[ 11%] Qt Wrapped File
[ 22%] Generating uiSimpleView3.h
[ 33%] Generating uiSimpleView3.cxx
[ 44%] Generating moc_uiSimpleView3.cxx
Scanning dependencies of target qtsimpleview
[ 44%] Generating uiSimpleView3.h
[ 55%] Building CXX object CMakeFiles/qtsimpleview.dir/main.o
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:26:26: error: 
qapplication.h: Нет такого файла или каталога
In file included from /home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:31:
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:37:27: error: 
uiSimpleView3.h: Нет такого файла или каталога
In file included from /home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:31:
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:49: error: expected 
class-name before ‘{’ token
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:50: error: ISO C++ 
forbids declaration of ‘Q_OBJECT’ with no type
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:52: error: expected 
‘;’ before ‘public’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:58: error: expected 
‘:’ before ‘slots’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:60: error: expected 
primary-expression before ‘virtual’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:60: error: ISO C++ 
forbids declaration of ‘slots’ with no type
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:60: error: expected 
‘;’ before ‘virtual’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:65: error: expected 
‘:’ before ‘slots’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:67: error: expected 
primary-expression before ‘private’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:67: error: ISO C++ 
forbids declaration of ‘slots’ with no type
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:67: error: expected 
‘;’ before ‘private’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx: In function ‘int 
main(int, char**)’:
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:37: error: ‘QApplication’ 
was not declared in this scope
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:37: error: expected ‘;’ 
before ‘app’
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/SimpleView3.h:56: error: 
‘SimpleView::~SimpleView()’ is private
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:39: error: within this 
context
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:41: error: ‘app’ was not 
declared in this scope
/home/sergey/vtk_learn/vtk/GUI/Qt/SimpleView/main.cxx:43: error: ‘class 
SimpleView’ has no member named ‘show’
make[2]: *** [CMakeFiles/qtsimpleview.dir/main.o] Ошибка 1
make[1]: *** [CMakeFiles/qtsimpleview.dir/all] Ошибка 2
make: *** [all]

 Ошибка 2
--------------------------------------

Please note that package vtk-examples does not require/recommend/suggest Qt, so 
all must work without it :-)
I have libQt4-dev 4:4.6.3-4 installed.


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

vtk-examples depends on no packages.

vtk-examples recommends no packages.

Versions of packages vtk-examples suggests:
ii  libvtk5-dev             5.4.2-8          VTK header files for building C++ 
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-vtk              5.4.2-8          Python bindings for VTK
ii  tcl8.4 [tclsh]          8.4.19-4         Tcl (the Tool Command Language) v8
ii  tcl8.5 [tclsh]          8.5.8-2          Tcl (the Tool Command Language) v8
ii  vtk-doc                 5.4.2-8          VTK class reference documentation
ii  vtk-tcl                 5.4.2-8          Tcl bindings for VTK

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to