[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problema para instalar programa



Holas

como orgulloso usuario de debian, me he visto obligado a instalar el programa simikon, pues increiblemente todavia no se han incluido paquetes de ningun IDE o entorno de desarrollo/emulacion de microprocesadores de la familia 8051 de Intel. En mi busqueda por la red y sf.net me he encontrado con bastantes proyectos (mas de los que pense), pero todos en etapa muy verde... y solo instalables a partir de los fuentes.

A continuacion (un estracto de) la salida que obtuve al aplicar 'make':

root /opt/Simikon-0.0.8# ./configure.unix
/* ------------------------------------------- */
/* Configuration script for compiling SiMiKON. */
/* Copyright (c) 2000 Alen Kovac.              */
/* ------------------------------------------- */

Checking for tmake... ok
Creating Makefiles...
root.pro
src.pro
simikon.pro
widgets.pro
STabCtl.pro

type make to build SiMiKON

root /opt/Simikon-0.0.8# make
for i in src; do ( if [ -d $i ]; then cd $i ; pro=`basename $i`.pro ; tmake $pro -o Makefile; grep "TEMPLATE.*subdirs" $pro 2>/dev/null >/dev/null && make -f Makefile tmake_all || true; fi; ) ; done

......

cd STabCtl; make
make[3]: Entering directory `/home/opt/Simikon-0.0.8/src/widgets/STabCtl'
g++ -c -pipe -Wall -W -g -I/usr/include/qt -o obj/stabbar.o stabbar.cpp
En el fichero incluído de stabbar.cpp:8:
stabbar.h:11:21: qwidget.h: No existe el fichero o el directorio
stabbar.h:12:19: qlist.h: No existe el fichero o el directorio
stabbar.h:13:21: qpixmap.h: No existe el fichero o el directorio
In file included from stabbar.cpp:8:
stabbar.h:34: error: 'QString' is used as a type, but is not defined as a type.
stabbar.h:35: error: error sintáctico before `*' token
stabbar.h:37: error: 'QColor' is used as a type, but is not defined as a type.
stabbar.h: En constructor `TabBarData::TabBarData(int, const char*)':
stabbar.h:23: error: `label' undeclared (first use this function)
stabbar.h:23: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
stabbar.h:24: error: `pix' undeclared (first use this function)
stabbar.h:26: error: `textColor' undeclared (first use this function)
stabbar.h:26: error: `Qt' undeclared (first use this function)
stabbar.h:26: error: error de decodificación before `;' token
stabbar.h: At global scope:
stabbar.h:43: error: error de decodificación before `{' token
stabbar.h:47: error: destructors must be member functions
stabbar.h:55: error: error de decodificación before `&' token
stabbar.h:57: error: error de decodificación before `&' token
stabbar.h:59: error: error de decodificación before `&' token
stabbar.h:60: error: error sintáctico before `&' token
stabbar.h: En function `int currentTab()':
stabbar.h:64: error: `_currentTab' undeclared (first use this function)
stabbar.h: At global scope:
stabbar.h:70: error: error de decodificación before `&' token
stabbar.h:71: error: error de decodificación before `)' token
stabbar.h:73: error: virtual outside class declaration
stabbar.h:74: error: error de decodificación before `&' token
stabbar.h:74: error: virtual outside class declaration
stabbar.h: En function `bool isShowTabIcon()':
stabbar.h:77: error: `iconShow' undeclared (first use this function)

..............


stabbar.cpp:47: error: error de decodificación before `)' token
stabbar.cpp:48: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp: En member function `void BarPainter::resizeEvent(...)':
stabbar.cpp:49: error: type `int' argument given to `delete', expected pointer
stabbar.cpp:50: error: error de decodificación before `)' token
stabbar.cpp:51: error: incomplete type `STabBar' does not have member `TAB_TOP'
stabbar.cpp:52: error: error de decodificación before `(' token
stabbar.cpp:54: error: incomplete type `STabBar' does not have member `
   TAB_RIGHT'
stabbar.cpp:55: error: error de decodificación before `(' token
stabbar.cpp: At global scope:
stabbar.cpp:62: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp: En member function `void BarPainter::drawBuffer()':
stabbar.cpp:63: error: `QColor' undeclared (first use this function)
stabbar.cpp:63: error: error de decodificación before `=' token
stabbar.cpp:71: error: error de decodificación before `)' token
stabbar.cpp:72: error: incomplete type `STabBar' does not have member `TAB_TOP'
stabbar.cpp:76: error: incomplete type `STabBar' does not have member `
   TAB_RIGHT'

...........


stabbar.cpp:626: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:627: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:627: error: `move' undeclared (first use this function)
stabbar.cpp:628: error: `QMIN' undeclared (first use this function)
stabbar.cpp:628: error: `resize' undeclared (first use this function)
stabbar.cpp:632: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:635: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:637: error: `height' undeclared (first use this function)
stabbar.cpp:637: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:642: error: `setGeometry' undeclared (first use this function)
stabbar.cpp:645: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:646: error: `show' undeclared (first use this function)
stabbar.cpp:649: error: `hide' undeclared (first use this function)
stabbar.cpp:658: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp: At global scope:
stabbar.cpp:669: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::leftClicked()':
stabbar.cpp:673: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:674: error: `x' undeclared (first use this function)
stabbar.cpp:674: error: `y' undeclared (first use this function)
stabbar.cpp:674: error: `move' undeclared (first use this function)
stabbar.cpp:676: error: `repaint' undeclared (first use this function)
stabbar.cpp: At global scope:
stabbar.cpp:681: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::rightClicked()':
stabbar.cpp:684: error: invalid use of undefined type `class BarPainter'
stabbar.h:40: error: forward declaration of `class BarPainter'
stabbar.cpp:686: error: `x' undeclared (first use this function)
stabbar.cpp:686: error: `y' undeclared (first use this function)
stabbar.cpp:686: error: `move' undeclared (first use this function)
stabbar.cpp:688: error: `repaint' undeclared (first use this function)
stabbar.cpp: At global scope:
stabbar.cpp:693: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp:701: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::updateHeight()':
stabbar.cpp:704: error: `setMaximumWidth' undeclared (first use this function) stabbar.cpp:706: error: `setFixedHeight' undeclared (first use this function) stabbar.cpp:711: error: `setMaximumHeight' undeclared (first use this function)
stabbar.cpp:713: error: `setFixedWidth' undeclared (first use this function)
stabbar.cpp: At global scope:
stabbar.cpp:721: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::setButtonPixmap()':
stabbar.cpp:724: error: `setPixmap' undeclared (first use this function)
stabbar.cpp: At global scope:
stabbar.cpp:734: error: error de decodificación before `&' token
stabbar.cpp:735: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::setFont(...)':
stabbar.cpp:736: error: error de decodificación before `::' token
stabbar.cpp: At global scope:
stabbar.cpp:740: error: error de decodificación before `&' token
stabbar.cpp:741: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::setTabCaption(...)':
stabbar.cpp:744: error: 'struct TabBarData' has no member named 'label'
stabbar.cpp:744: error: `caption' undeclared (first use this function)
stabbar.cpp: At global scope:
stabbar.cpp:749: error: error sintáctico before `::' token
stabbar.cpp:756: error: invalid use of undefined type `class STabBar'
stabbar.h:42: error: forward declaration of `class STabBar'
stabbar.cpp: En member function `void STabBar::tabsRecreate()':
stabbar.cpp:757: error: error de decodificación before `=' token
stabbar.cpp:759: error: 'struct TabBarData' has no member named 'label'
stabbar.cpp:760: error: 'struct TabBarData' has no member named 'pix'
stabbar.cpp:763: error: `repaint' undeclared (first use this function)
stabbar.cpp: At global scope:
stabbar.cpp:766: error: error sintáctico before `&' token
make[3]: *** [obj/stabbar.o] Error 1
make[3]: Leaving directory `/home/opt/Simikon-0.0.8/src/widgets/STabCtl'
make[2]: *** [STabCtl] Error 2
make[2]: Leaving directory `/home/opt/Simikon-0.0.8/src/widgets'
make[1]: *** [widgets] Error 2
make[1]: Leaving directory `/home/opt/Simikon-0.0.8/src'
make: *** [src] Error 2

______________________________________

Lo unico que puedo ver es que hay problemas al tratar de de compilar con cpp, pero de ahi me pierdo... si alguien me puede dar una pista se agradeceria mucho...

Tambien algo parecido al tratar con *cereal*, *phonegaim* y *yasmin*... asi que sospecho que mi sistema deba tener errores que todavia no me he topado... hasta ahora.

Saludos.



Reply to: