|
NifSkope
Xinill - 28-07-2007 18:18
Cześć.
Chciałbym na moim Debianie zainstalować NifSkope - jako że nie udało mi się nigdzie znaleźć go w postaci paczek .DEB, czy nawet jako .RPM-y (jedynie jako Windowsową instalkę), to chciałem posłużyć się tą instrukcją kompilacji - jest tam opis, jak owo NifSkope skompilować na Fedorze, jednak wszystko chyba na Debianie powinno wyglądać podobnie, nie mylę się? ;)
W każdym razie - mam zainstalowane qt4 (nazwy pakietów były inne niż w Fedorze, ale poza tym to chyba to samo, nie mylę się?), zatrzymuję się na poleceniu wstukania tej komendy: svn co https://niftools.svn.sf.net/svnroot/...trunk/niftools
Wpisuję to do konsoli - i wyskakuje, że taka komenda nie istnieje.
Na "aptitude search svn" wyskakuje sporo pakietów, ale kiedy tylko próbuję zainstalować jakikolwiek z nich, próbuje mi usunąć pakiet "linux-kernel-headers" - wolałem nie ryzykować, i tego nie usuwać, szczególnie że ma magiczne słowo "kernel" w nazwie.
I teraz pytanie - jak mam bez psucia sobie systemu, zainstalować owo Nifskope? ;]
mikmik - 28-07-2007 22:31
zainstalu wine albo inny crap w tym klimacie i poprostu pod tym z tego korzystaj;]
Xinill - 29-07-2007 10:00
Heh, próbowałem przez wine - o ile instalacja przebiegła bez problemów, to przy uruchamianiu skacze ta ikonka w kickerze....i........i znika, i okienko programu nawet się nie pojawia. ;>
draco - 29-07-2007 10:04
#aptitude update #aptitude full-upgrade
Potem: #aptitude install subversion
I magicznym sposobem polecenie svn się pojawi.
Co do uruchamiania przez wine - uruchom z konsoli (wine program.exe) i zobacz co się tam dzieje.
Xinill - 29-07-2007 12:09
Dobra, pobrałem to svn, zgodnie z instrukcją wpisałem "qmake", następnie "make", i......i mi wypluwa masę errorów :|
Oto co wypluwa mi konsola przy wstukaniu tego make'a xinill@Xin:~/nif/nifskope$ make g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.3.0/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.3.0/include/QtCore -I/usr/local/Trolltech/Qt-4.3.0/include/QtCore -I/usr/local/Trolltech/Qt-4.3.0/include/QtGui -I/usr/local/Trolltech/Qt-4.3.0/include/QtGui -I/usr/local/Trolltech/Qt-4.3.0/include -I. -Igl -Iwidgets -Ifsengine -INvTriStrip -Igl/marker -Iimportex -Ispells -I. -I. -o glview.o glview.cpp In file included from glview.cpp:33: glview.h:36:21: error: QGLWidget: Nie ma takiego pliku ani katalogu glview.cpp:35:20: error: QtOpenGL: Nie ma takiego pliku ani katalogu nifvalue.h: In member function ‘quint32 NifValue::toCount() const’: nifvalue.h:184: warning: dereferencing type-punned pointer will break strict-aliasing rules basemodel.h: At global scope: basemodel.h:127: warning: unused parameter ‘parent’ glview.h:55: error: expected class-name before ‘{’ token glview.h:58: error: expected ‘,’ or ‘...’ before ‘&’ token glview.h:58: error: ISO C++ forbids declaration of ‘QGLFormat’ with no type (...) /usr/local/Trolltech/Qt-4.3.0/include/QtCore/qmetatype.h:228: error: forward declaration of ‘struct QSize’ gl/glcontrolable.h: At global scope: gl/glcontrolable.h:62: warning: unused parameter ‘nif’ gl/glcontrolable.h:62: warning: unused parameter ‘iController’ (...) gl/glproperty.h:342: error: ‘GLenum’ does not name a type gl/glproperty.h:343: error: ‘GLenum’ does not name a type gl/glproperty.h:344: error: ‘GLenum’ does not name a type gl/glproperty.h:347: error: ‘GLenum’ does not name a type gl/glnode.h:124: error: ISO C++ forbids declaration of ‘QPointer’ with no type gl/glnode.h:124: error: expected ‘;’ before ‘<’ token gl/glnode.h: In member function ‘Node* Node::parentNode() const’: gl/glnode.h:109: error: argument of type ‘QObject* (QObject::)()const’ does not match ‘Node*’ gl/glnode.h: In member function ‘T* Node::findProperty() const’: gl/glnode.h:150: error: invalid use of member (did you forget the ‘&’ ?) gl/glnode.h:150: error: base operand of ‘->’ is not a pointer gl/gltex.h: At global scope: gl/gltex.h:51: error: ‘GLuint’ does not name a type gl/gltex.h:52: error: ‘GLuint’ does not name a type gl/gltex.h:88: error: expected ‘,’ or ‘...’ before ‘*’ token gl/gltex.h:88: error: ISO C++ forbids declaration of ‘QGLContext’ with no type gl/gltools.h: In function ‘void glTranslate(const Vector3&)’: gl/gltools.h:119: error: ‘glTranslatef’ was not declared in this scope gl/gltools.h: In function ‘void glScale(const Vector3&)’: (...) gl/gltools.h: At global scope: gl/gltools.h:188: error: ‘GLuint’ does not name a type gl/renderer.h:49: error: expected ‘,’ or ‘...’ before ‘*’ token gl/renderer.h:49: error: ISO C++ forbids declaration of ‘QGLContext’ with no type gl/renderer.h:110: error: ‘GLenum’ has not been declared gl/renderer.h:116: error: ‘GLuint’ does not name a type gl/renderer.h:120: error: ‘GLenum’ does not name a type gl/renderer.h:132: error: ‘GLuint’ does not name a type glview.cpp: In static member function ‘static GLView* GLView::create()’: glview.cpp:70: error: ‘QPointer’ was not declared in this scope glview.cpp:70: error: template argument 1 is invalid glview.cpp:70: error: expected unqualified-id before ‘>’ token (...) glview.cpp:92: error: ‘setAcceptDrops’ was not declared in this scope glview.cpp:95: error: ‘Zoom’ was not declared in this scope glview.cpp:110: error: no matching function for call to ‘TexCache::TexCache(GLView* const)’ gl/gltex.h:61: note: candidates are: TexCache::TexCache(QObject*) gl/gltex.h:44: note: TexCache::TexCache(const TexCache&) glview.cpp:113: error: ‘connect’ was not declared in this scope glview.cpp:115: error: no matching function for call to ‘QTimer::QTimer(GLView* const)’ /usr/local/Trolltech/Qt-4.3.0/include/QtCore/qtimer.h:78: note: candidates are: QTimer::QTimer(const QTimer&) /usr/local/Trolltech/Qt-4.3.0/include/QtCore/qtimer.h:43: note: QTimer::QTimer(QObject*) glview.cpp:121: error: no matching function for call to ‘QActionGroup::QActionGroup(GLView* const)’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qactiongroup.h:80: note: candidates are: QActionGroup::QActionGroup(const QActionGroup&) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qactiongroup.h:47: note: QActionGroup::QActionGroup(QObject*) glview.cpp:125: error: ‘aViewTop’ was not declared in this scope glview.cpp:131: error: ‘aViewFront’ was not declared in this scope glview.cpp:138: error: ‘aViewSide’ was not declared in this scope glview.cpp:144: error: ‘aViewUser’ was not declared in this scope glview.cpp:151: error: ‘aViewWalk’ was not declared in this scope glview.cpp:157: error: ‘aViewFlip’ was not declared in this scope glview.cpp:157: error: no matching function for call to ‘QAction::QAction(QIcon, QString, GLView* const)’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:193: note: candidates are: QAction::QAction(const QAction&) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:169: note: QAction::QAction(QActionPrivate&, QObject*) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:72: note: QAction::QAction(const QIcon&, const QString&, QObject*) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:71: note: QAction::QAction(const QString&, QObject*) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:70: note: QAction::QAction(QObject*) glview.cpp:163: error: ‘aViewPerspective’ was not declared in this scope glview.cpp:163: error: no matching function for call to ‘QAction::QAction(QIcon, QString, GLView* const)’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:193: note: candidates are: QAction::QAction(const QAction&) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:169: note: QAction::QAction(QActionPrivate&, QObject*) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:72: note: QAction::QAction(const QIcon&, const QString&, QObject*) /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qaction.h:71: note: QAction::QAction(const QString&, QObject*) (...) glview.cpp: At global scope: glview.cpp:87: warning: unused parameter ‘QGLFormat’ glview.cpp: In member function ‘QMenu* GLView::createMenu() const’: (...) glview.cpp: In member function ‘void GLView::setRotation(float, float, float)’: glview.cpp:1175: error: ‘update’ was not declared in this scope glview.cpp: In member function ‘void GLView::setZoom(float)’: glview.cpp:1180: error: ‘Zoom’ was not declared in this scope glview.cpp:1181: error: ‘update’ was not declared in this scope glview.cpp: In member function ‘void GLView::setDistance(float)’: glview.cpp:1187: error: ‘update’ was not declared in this scope glview.cpp: At global scope: glview.cpp:1190: error: prototype for ‘void GLView::dragEnterEvent(QDragEnterEvent*)’ does not match any in class ‘GLView’ glview.h:151: error: candidate is: void GLView::dragEnterEvent(int*) glview.cpp: In member function ‘void GLView::dragEnterEvent(QDragEnterEvent*)’: glview.cpp:1192: error: invalid use of undefined type ‘struct QDragEnterEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:67: error: forward declaration of ‘struct QDragEnterEvent’ glview.cpp:1192: error: invalid use of undefined type ‘struct QDragEnterEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:67: error: forward declaration of ‘struct QDragEnterEvent’ glview.cpp:1194: error: variable ‘QUrl url’ has initializer but incomplete type glview.cpp:1194: error: invalid use of undefined type ‘struct QDragEnterEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:67: error: forward declaration of ‘struct QDragEnterEvent’ glview.cpp:1201: error: invalid use of undefined type ‘struct QDragEnterEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:67: error: forward declaration of ‘struct QDragEnterEvent’ glview.cpp:1207: error: invalid use of undefined type ‘struct QDragEnterEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:67: error: forward declaration of ‘struct QDragEnterEvent’ glview.cpp: At global scope: glview.cpp:1210: error: prototype for ‘void GLView::dragMoveEvent(QDragMoveEvent*)’ does not match any in class ‘GLView’ glview.h:152: error: candidate is: void GLView::dragMoveEvent(int*) glview.cpp: In member function ‘void GLView::dragMoveEvent(QDragMoveEvent*)’: glview.cpp:1219: error: invalid use of undefined type ‘struct QDragMoveEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:68: error: forward declaration of ‘struct QDragMoveEvent’ glview.cpp:1235: error: invalid use of undefined type ‘struct QDragMoveEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:68: error: forward declaration of ‘struct QDragMoveEvent’ glview.cpp:1243: error: invalid use of undefined type ‘struct QDragMoveEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:68: error: forward declaration of ‘struct QDragMoveEvent’ glview.cpp: At global scope: glview.cpp:1246: error: prototype for ‘void GLView::dropEvent(QDropEvent*)’ does not match any in class ‘GLView’ glview.h:153: error: candidate is: void GLView::dropEvent(int*) glview.cpp: In member function ‘void GLView::dropEvent(QDropEvent*)’: glview.cpp:1250: error: invalid use of undefined type ‘struct QDropEvent’ /usr/local/Trolltech/Qt-4.3.0/include/QtGui/qwidget.h:70: error: forward declaration of ‘struct QDropEvent’ glview.cpp: At global scope: glview.cpp:1253: error: prototype for ‘void GLView::dragLeaveEvent(QDragLeaveEvent*)’ does not match any in class ‘GLView’ glview.h:154: error: candidate is: void GLView::dragLeaveEvent(int*) (...)
skróciłem nieco... - draco
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|