crossplatform.ru

Здравствуйте, гость ( Вход | Регистрация )

 
Ответить в данную темуНачать новую тему
> Bouml, Обсуждение Qt исходников сайта
Admin
  опции профиля:
сообщение 26.9.2008, 10:00
Сообщение #1


Администратор
****

Группа: Администратор
Сообщений: 644
Регистрация: 9.10.2007
Из: crossplatform.ru
Пользователь №: 1

Спасибо сказали: 17 раз(а)




Репутация:   2  


Цитата
BOUML это бесплатный UML 2 инструмент, позволяет специфицировать и генерировать код на С + +, Java, IDL, Php и Python. BOUML работает под Unix/Linux/Solaris, MacOS X и Windows. Он очень быстр и не требует много памяти для управления несколькими тысячами классов.
Далее...
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
++Norton++
  опции профиля:
сообщение 18.4.2010, 14:34
Сообщение #2


Студент
*

Группа: Участник
Сообщений: 98
Регистрация: 5.10.2008
Пользователь №: 380

Спасибо сказали: 0 раз(а)




Репутация:   1  


Понимаю, что поднял ооочень старую тему, но вот проблема встала только сейчас. :)
Скачал с sourceforge последнюю версию (4.20) и попытался собрать, однако море ошибок и никакого результата. :(
А данная программа очень нужна...
Вот что выводит:
Раскрывающийся текст

n0rt0n@n0rt0n ~/src/bouml_4.20 $ make
Generate BOUML and the hand made plug-outs
for i in src src/CppGenerator src/CppReverse src/CppRoundtrip src/JavaGenerator src/JavaReverse src/JavaRoundtrip src/JavaCat src/PhpGenerator src/PhpReverse src/PythonGenerator src/IdlGenerator src/PlugOutUpgrade src/ProjectControl src/ProjectSynchro src/RoundtripBody; do if [ -d $i ]; then ( cd $i; qmake; ) || exit 1; make -C $i || exit 1; fi; done
make[1]: Entering directory `/home/n0rt0n/src/bouml_4.20/src'
g++ -c -pipe -O2 -march=i686 -pipe -Wall -W -D_REENTRANT -DBooL=bool -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Ibrowser -Idata -Idiagram -Idialog -Imisc -Itool -Ixpm -I. -o BrowserAttribute.o browser/BrowserAttribute.cpp
browser/BrowserAttribute.cpp:30:25: error: qpopupmenu.h: No such file or directory
In file included from browser/BrowserAttribute.h:34,
                 from browser/BrowserAttribute.cpp:34:
browser/BrowserNode.h:33:19: error: qdict.h: No such file or directory
In file included from browser/BrowserNode.h:37,
                 from browser/BrowserAttribute.h:34,
                 from browser/BrowserAttribute.cpp:34:
misc/mystr.h:31:22: error: qstrlist.h: No such file or directory
In file included from browser/BrowserAttribute.h:35,
                 from browser/BrowserAttribute.cpp:34:
misc/Labeled.h:29:23: error: qintdict.h: No such file or directory
In file included from browser/BrowserAttribute.cpp:48:
dialog/DialogUtil.h:31:28: error: qmultilineedit.h: No such file or directory
In file included from browser/BrowserNode.h:37,
                 from browser/BrowserAttribute.h:34,
                 from browser/BrowserAttribute.cpp:34:
misc/mystr.h:46: error: expected ',' or '...' before '&' token
misc/mystr.h:46: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:49: error: expected type-specifier before 'QCString'
misc/mystr.h:57: error: 'QStrList' does not name a type
misc/mystr.h:93: error: expected ',' or '...' before '&' token
misc/mystr.h:93: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:105: error: expected type-specifier before 'QCString'
misc/mystr.h:109: error: expected ',' or '...' before '&' token
misc/mystr.h:109: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:93: warning: unused parameter 'QCString'
misc/mystr.h:127: error: expected ',' or '...' before '&' token
misc/mystr.h:127: error: ISO C++ forbids declaration of 'QCString' with no type
misc/mystr.h:130: error: expected type-specifier before 'QCString'
In file included from browser/BrowserAttribute.h:34,
                 from browser/BrowserAttribute.cpp:34:
browser/BrowserNode.h:64: error: expected class-name before ',' token
browser/BrowserNode.h:95: error: 'QListViewItem' has not been declared
browser/BrowserNode.h:124: error: 'QDict' has not been declared
browser/BrowserNode.h:124: error: expected ',' or '...' before '<' token
browser/BrowserNode.h: In member function 'bool BrowserNode::nestedp() const':
browser/BrowserNode.h:135: error: 'parent' was not declared in this scope
browser/BrowserNode.h: In member function 'QString BrowserNode::fullname(bool) const':
browser/BrowserNode.h:247: error: 'parent' was not declared in this scope
browser/BrowserNode.h: In member function 'QString BrowserNode::fullname(QString&, bool) const':
browser/BrowserNode.h:258: error: 'parent' was not declared in this scope
browser/BrowserNode.h: At global scope:
browser/BrowserNode.h:272: error: 'QCollection' has not been declared
browser/BrowserNode.h:272: error: expected ',' or '...' before 'item1'
In file included from browser/BrowserAttribute.h:35,
                 from browser/BrowserAttribute.cpp:34:
misc/Labeled.h:75: error: ISO C++ forbids declaration of 'QIntDict' with no type
misc/Labeled.h:75: error: expected ';' before '<' token
misc/Labeled.h:76: error: ISO C++ forbids declaration of 'QIntDict' with no type
misc/Labeled.h:76: error: expected ';' before '<' token
misc/Labeled.h: In constructor 'IdDict<X>::IdDict(int, const char*)':
misc/Labeled.h:82: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'X* IdDict<X>::operator[](int)':
misc/Labeled.h:85: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::remove(int)':
misc/Labeled.h:89: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::clear(bool)':
misc/Labeled.h:94: error: 'dict' was not declared in this scope
misc/Labeled.h:95: error: 'dictlib' was not declared in this scope
misc/Labeled.h:99: error: 'dict' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::update_idmax_for_root()':
misc/Labeled.h:104: error: 'QIntDictIterator' was not declared in this scope
misc/Labeled.h:104: error: expected primary-expression before '>' token
misc/Labeled.h:104: error: 'dict' was not declared in this scope
misc/Labeled.h:104: error: there are no arguments to 'it' that depend on a template parameter, so a declaration of 'it' must be available
misc/Labeled.h:104: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
misc/Labeled.h:106: error: 'it' was not declared in this scope
misc/Labeled.h: In member function 'void IdDict<X>::memo_id_oid(int, int)':
misc/Labeled.h:120: error: 'dict' was not declared in this scope
misc/Labeled.h:121: error: 'dictlib' was not declared in this scope
misc/Labeled.h: At global scope:
misc/Labeled.h:128: error: expected template-name before '<' token
misc/Labeled.h:128: error: expected `{' before '<' token
misc/Labeled.h:128: error: expected unqualified-id before '<' token
In file included from browser/BrowserAttribute.cpp:36:
browser/BrowserClass.h:57: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserClass.h:57: error: expected ';' before '<' token
browser/BrowserClass.h:81: error: 'QValueList' has not been declared
browser/BrowserClass.h:81: error: expected ',' or '...' before '<' token
browser/BrowserClass.h:91: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserClass.h:91: error: expected ';' before '<' token
browser/BrowserClass.h:149: error: 'QDict' has not been declared
browser/BrowserClass.h:149: error: expected ',' or '...' before '<' token
In file included from data/ClassMemberData.h:29,
                 from data/AttributeData.h:30,
                 from browser/BrowserAttribute.cpp:37:
data/BasicData.h:82: error: expected ',' or '...' before '&' token
data/BasicData.h:82: error: ISO C++ forbids declaration of 'QCString' with no type
In file included from browser/BrowserAttribute.cpp:39:
browser/BrowserActivityAction.h:85: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserActivityAction.h:85: error: expected ';' before '<' token
browser/BrowserActivityAction.h:86: error: ISO C++ forbids declaration of 'QValueList' with no type
browser/BrowserActivityAction.h:86: error: expected ';' before '<' token
In file included from browser/BrowserAttribute.cpp:45:
dialog/MenuTitle.h:31: error: expected class-name before '{' token
In file included from browser/BrowserAttribute.cpp:46:
misc/strutil.h:47: warning: 'remove_comments' initialized and declared 'extern'
misc/strutil.h:47: error: variable or field 'remove_comments' declared void
misc/strutil.h:47: error: 'QCString' was not declared in this scope
misc/strutil.h:47: error: 's' was not declared in this scope
misc/strutil.h:49: warning: 'remove_python_comments' initialized and declared 'extern'
misc/strutil.h:49: error: variable or field 'remove_python_comments' declared void
misc/strutil.h:49: error: 'QCString' was not declared in this scope
misc/strutil.h:49: error: 's' was not declared in this scope
misc/strutil.h:51: warning: 'remove_preprocessor' initialized and declared 'extern'
misc/strutil.h:51: error: variable or field 'remove_preprocessor' declared void
misc/strutil.h:51: error: 'QCString' was not declared in this scope
misc/strutil.h:51: error: 's' was not declared in this scope
misc/strutil.h:59: error: 'QCString' does not name a type
In file included from browser/BrowserAttribute.cpp:48:
dialog/DialogUtil.h:55: error: expected class-name before '{' token
dialog/DialogUtil.h: In constructor 'MultiLineEdit::MultiLineEdit(QWidget*, const char*)':
dialog/DialogUtil.h:57: error: class 'MultiLineEdit' does not have any field named 'QMultiLineEdit'
dialog/DialogUtil.h: In member function 'void MultiLineEdit::setTheText(const QString&)':
dialog/DialogUtil.h:66: error: 'QMultiLineEdit' has not been declared
dialog/DialogUtil.h: In member function 'QString MultiLineEdit::theText() const':
dialog/DialogUtil.h:70: error: 'QMultiLineEdit' has not been declared
dialog/DialogUtil.h: In constructor 'LineEdit::LineEdit(const QString&, QWidget*, const char*)':
dialog/DialogUtil.h:78: error: no matching function for call to 'QLineEdit::QLineEdit(const QString&, QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qlineedit.h:280: note: candidates are: QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/qt4/QtGui/qlineedit.h:93: note:                 QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/qt4/QtGui/qlineedit.h:92: note:                 QLineEdit::QLineEdit(QWidget*)
browser/BrowserAttribute.cpp: In member function 'virtual BrowserNode* BrowserAttribute::duplicate(BrowserNode*, QString)':
browser/BrowserAttribute.cpp:91: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:94: error: no matching function for call to 'BrowserAttribute::set_name(QString&)'
browser/BrowserNode.h:106: note: candidates are: virtual void BrowserNode::set_name(const char*)
browser/BrowserAttribute.cpp: In member function 'void BrowserAttribute::add_get_oper()':
browser/BrowserAttribute.cpp:177: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'void BrowserAttribute::add_set_oper()':
browser/BrowserAttribute.cpp:183: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::paintCell(QPainter*, const QColorGroup&, int, int, int)':
browser/BrowserAttribute.cpp:216: error: 'class QPainter' has no member named 'backgroundColor'
browser/BrowserAttribute.cpp:219: error: 'OpaqueMode' was not declared in this scope
browser/BrowserAttribute.cpp:220: error: 'class QPainter' has no member named 'setBackgroundColor'
browser/BrowserAttribute.cpp:226: error: 'QListViewItem' has not been declared
browser/BrowserAttribute.cpp:229: error: 'TransparentMode' was not declared in this scope
browser/BrowserAttribute.cpp:230: error: 'class QPainter' has no member named 'setBackgroundColor'
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::menu()':
browser/BrowserAttribute.cpp:235: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:238: error: variable 'QPopupMenu m' has initializer but incomplete type
browser/BrowserAttribute.cpp:239: error: variable 'QPopupMenu toolm' has initializer but incomplete type
browser/BrowserAttribute.cpp: In member function 'void BrowserAttribute::exec_menu_choice(int)':
browser/BrowserAttribute.cpp:298: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:305: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:320: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:334: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::apply_shortcut(QString)':
browser/BrowserAttribute.cpp:340: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::modified()':
browser/BrowserAttribute.cpp:390: error: 'repaint' was not declared in this scope
browser/BrowserAttribute.cpp:391: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp: In static member function 'static void BrowserAttribute::compute_referenced_by(QList<BrowserNode>&, BrowserNode*)':
browser/BrowserAttribute.cpp:447: error: variable 'IdIterator<BrowserAttribute> it' has initializer but incomplete type
browser/BrowserAttribute.cpp: In member function 'virtual void BrowserAttribute::DropAfterEvent(QDropEvent*, BrowserNode*)':
browser/BrowserAttribute.cpp:476: error: 'parent' was not declared in this scope
browser/BrowserAttribute.cpp:478: error: invalid use of incomplete type 'struct QDropEvent'
/usr/include/qt4/QtGui/qwidget.h:91: error: forward declaration of 'struct QDropEvent'
browser/BrowserAttribute.cpp: In static member function 'static void BrowserAttribute::post_load()':
browser/BrowserAttribute.cpp:490: error: variable 'IdIterator<BrowserAttribute> it' has initializer but incomplete type
browser/BrowserAttribute.cpp: In static member function 'static BrowserAttribute* BrowserAttribute::read(char*&, char*, BrowserNode*, bool)':
browser/BrowserAttribute.cpp:597: error: no matching function for call to 'BrowserAttribute::set_parent(BrowserNode*&)'
browser/BrowserNode.h:95: note: candidates are: void BrowserNode::set_parent(int*)
browser/BrowserAttribute.cpp:598: error: no matching function for call to 'BrowserAttribute::set_name(QString&)'
browser/BrowserNode.h:106: note: candidates are: virtual void BrowserNode::set_name(const char*)
misc/Labeled.h: In member function 'void IdDict<X>::update_idmax_for_root() [with X = BrowserAttribute]':
browser/BrowserAttribute.cpp:112:   instantiated from here
misc/Labeled.h:104: error: 'it' was not declared in this scope
make[1]: *** [BrowserAttribute.o] Error 1
make[1]: Leaving directory `/home/n0rt0n/src/bouml_4.20/src'
make: *** [compile] Error 1
n0rt0n@n0rt0n ~/src/bouml_4.20 $


Что здесь не так? Это в коде проблемы или его как-то собирать надо по-особенному?

Сообщение отредактировал ++Norton++ - 18.4.2010, 14:35
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
ViGOur
  опции профиля:
сообщение 18.4.2010, 15:11
Сообщение #3


Мастер
******

Группа: Модератор
Сообщений: 3284
Регистрация: 9.10.2007
Из: Москва
Пользователь №: 4

Спасибо сказали: 231 раз(а)




Репутация:   40  


Срочка вроде:
browser/BrowserAttribute.cpp:30:25: error: qpopupmenu.h: No such file or directory

говорит, что нет инклуда или просто нужно модуль прописать в *.pro файле...
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Litkevich Yuriy
  опции профиля:
сообщение 18.4.2010, 16:46
Сообщение #4


разработчик РЭА
*******

Группа: Сомодератор
Сообщений: 9649
Регистрация: 9.1.2008
Из: Тюмень
Пользователь №: 64

Спасибо сказали: 807 раз(а)




Репутация:   94  


Судя по именам файлов, ему (Bouml) нужен Qt 3
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
DEADHUNT
  опции профиля:
сообщение 18.4.2010, 21:37
Сообщение #5


Активный участник
***

Группа: Участник
Сообщений: 430
Регистрация: 15.4.2009
Пользователь №: 686

Спасибо сказали: 26 раз(а)




Репутация:   2  


Цитата(Litkevich Yuriy @ 18.4.2010, 17:46) *
Судя по именам файлов, ему (Bouml) нужен Qt 3

запустил под linux help->about qt, действительно пишет что использует qt 3.3.8b.
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение
Гость_guest_*
сообщение 18.6.2010, 22:13
Сообщение #6





Гости








    


мб не много поздно :) но можно решить эту проблему с помощью этого
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение

Быстрый ответОтветить в данную темуНачать новую тему
Теги
Нет тегов для показа


1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0




RSS Текстовая версия Сейчас: 14.12.2018, 14:56