Go Back   Champions of Regnum > English > The Inn

The Inn A place to gather around and chat about almost any subject

Reply
 
Thread Tools Display Modes
Old 05-05-2010, 06:03 PM   #11
ljrossi
Count
 
Join Date: Oct 2006
Posts: 1,260
ljrossi is on a distinguished road
Default

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -o main.o main.cpp
In file included from ListWidget.h:13,
from MainWindow.h:13,
from main.cpp:3:
Statistics.h:15:27: error: KDE/KPlotWidget: No existe el fichero ó directorio
Statistics.h:16:27: error: KDE/KPlotObject: No existe el fichero ó directorio
Statistics.h:17:25: error: KDE/KPlotAxis: No existe el fichero ó directorio
In file included from ListWidget.h:13,
from MainWindow.h:13,
from main.cpp:3:
Statistics.h:81: error: ISO C++ forbids declaration of ‘KPlotWidget’ with no type
Statistics.h:81: error: expected ‘;’ before ‘*’ token
Statistics.h: In constructor ‘Statistics::Statistics(QStringList)’:
Statistics.h:56: error: ‘graph’ was not declared in this scope
Statistics.h:56: error: expected type-specifier before ‘KPlotWidget’
Statistics.h:56: error: expected ‘;’ before ‘KPlotWidget’
Statistics.h:58: error: ‘KPlotWidget’ has not been declared
Statistics.h:59: error: ‘KPlotWidget’ has not been declared
Statistics.h: In member function ‘void Statistics:opulateGraph(QString)’:
Statistics.h:87: error: ‘KPlotObject’ was not declared in this scope
Statistics.h:87: error: ‘curve’ was not declared in this scope
Statistics.h:87: error: expected type-specifier before ‘KPlotObject’
Statistics.h:87: error: expected ‘;’ before ‘KPlotObject’
Statistics.h:111: error: ‘graph’ was not declared in this scope
make: *** [main.o] Error 1


Couldnt install, what packges I do really need ?? Im using Ubuntu 10.04

Thanks
__________________
WWW.IMPERIOSYRTIS.COM

Julius 60 - Clan Fuego de Fenix
ljrossi no ha iniciado sesión   Reply With Quote
Old 05-05-2010, 06:07 PM   #12
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Try installing kdelibs5-dev
Good luck!
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión   Reply With Quote
Old 05-05-2010, 06:16 PM   #13
ljrossi
Count
 
Join Date: Oct 2006
Posts: 1,260
ljrossi is on a distinguished road
Default

Cool, the only thing you make faster is killing me.

Thanks
__________________
WWW.IMPERIOSYRTIS.COM

Julius 60 - Clan Fuego de Fenix
ljrossi no ha iniciado sesión   Reply With Quote
Old 09-10-2010, 11:21 PM   #14
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Lightbulb

A new version of the application is available for download!
See the first post for information and download links.

Changes:
  • Reworked to make it server/client based.
    I have a server application running with a cron job on my server each day 12.00 GMT+1, fetching the rankings for all servers and updating a MYSQL database table which the client quieries for all information.

    This means that you no longer need to keep track of history files locally on your computer, system wide installations on Linux are now possible and it puts less strain on NGD's servers.
  • Added Muspell, Niflheim and Nemon to the server selection.
  • Optimized some parts of the code.
I might be able to upload a Windows build on Monday, but don't expect anything.
Building Qt on Windows with MYSQL support is not that easy, and especially very time consuming.

I hope you enjoy this updated version of RP Manager!
Feel free to report bugs with this new version in this thread.

EDIT: For a free software developer like me, the profit of creating applications is of course because I enjoy it, but also because I like creating software that other people can appreciate and find useful.
So, if you try this application and like it, please just drop a line here in this thread! That's the best reward I can get for the work I put into creating applications
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg

Last edited by Znurre; 09-10-2010 at 11:43 PM.
Znurre no ha iniciado sesión   Reply With Quote
Old 09-11-2010, 02:36 PM   #15
Southbound
Apprentice
 
Southbound's Avatar
 
Join Date: Nov 2009
Posts: 86
Southbound is on a distinguished road
Default

make gives the following output:

Code:
...
/usr/include/KDE/../kplotwidget.h: At global scope:
/usr/include/KDE/../kplotwidget.h:80: error: expected class-name before ‘{’ token
/usr/include/KDE/../kplotwidget.h:81: error: ‘Q_OBJECT’ does not name a type
/usr/include/KDE/../kplotwidget.h:117: error: ‘QSize’ does not name a type
/usr/include/KDE/../kplotwidget.h:122: error: ‘QSize’ does not name a type
/usr/include/KDE/../kplotwidget.h:168: error: ‘QRectF’ does not name a type
/usr/include/KDE/../kplotwidget.h:176: error: ‘QRectF’ does not name a type
/usr/include/KDE/../kplotwidget.h:182: error: ‘QRect’ does not name a type
/usr/include/KDE/../kplotwidget.h:196: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/KDE/../kplotwidget.h:201: error: expected ‘;’ before ‘<’ token
/usr/include/KDE/../kplotwidget.h:231: error: ‘QColor’ does not name a type
/usr/include/KDE/../kplotwidget.h:239: error: ‘QColor’ does not name a type
/usr/include/KDE/../kplotwidget.h:246: error: ‘QColor’ does not name a type
/usr/include/KDE/../kplotwidget.h:252: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotwidget.h:258: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotwidget.h:264: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotwidget.h:360: error: ‘QPointF’ does not name a type
/usr/include/KDE/../kplotwidget.h:373: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotwidget.h:386: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotwidget.h:400: error: ‘QPainter’ has not been declared
/usr/include/KDE/../kplotwidget.h:415: error: expected `:' before ‘Q_SLOTS’
/usr/include/KDE/../kplotwidget.h:421: error: expected primary-expression before ‘void’
/usr/include/KDE/../kplotwidget.h:421: error: expected ‘;’ before ‘void’
/usr/include/KDE/../kplotwidget.h:434: error: ‘QEvent’ has not been declared
/usr/include/KDE/../kplotwidget.h:439: error: ‘QPaintEvent’ has not been declared
/usr/include/KDE/../kplotwidget.h:444: error: ‘QResizeEvent’ has not been declared
/usr/include/KDE/../kplotwidget.h:452: error: ‘QPainter’ has not been declared
/usr/include/KDE/../kplotwidget.h:465: error: expected ‘;’ before ‘<’ token
/usr/include/KDE/../kplotwidget.h:472: error: expected ‘;’ before ‘}’ token
/usr/include/KDE/../kplotwidget.h:472: error: expected `;' before ‘}’ token
In file included from /usr/include/KDE/KPlotObject:1,
                 from Statistics.h:16,
                 from ListWidget.h:13,
                 from MainWindow.h:13,
                 from main.cpp:3:
/usr/include/KDE/../kplotobject.h:71: error: ‘PlotTypes’ has not been declared
/usr/include/KDE/../kplotobject.h:76: error: expected ‘;’ before ‘enum’
/usr/include/KDE/../kplotobject.h:99: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotobject.h:109: error: ‘PlotTypes’ does not name a type
/usr/include/KDE/../kplotobject.h:143: error: ‘PointStyle’ does not name a type
/usr/include/KDE/../kplotobject.h:149: error: ‘PointStyle’ has not been declared
/usr/include/KDE/../kplotobject.h:222: error: expected ‘;’ before ‘<’ token
/usr/include/KDE/../kplotobject.h:232: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotobject.h:251: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/KDE/../kplotobject.h:277: error: expected ‘;’ before ‘}’ token
/usr/include/KDE/../kplotobject.h:277: error: expected `;' before ‘}’ token
/usr/include/KDE/../kplotobject.h:278: error: expected constructor, destructor, or type conversion before ‘(’ token
In file included from ListWidget.h:13,
                 from MainWindow.h:13,
                 from main.cpp:3:
Statistics.h:22: error: expected class-name before ‘{’ token
Statistics.h:24: error: expected `)' before ‘player’
Statistics.h:88: error: ‘QString’ has not been declared
Statistics.h: In member function ‘void Statistics::populateGraph(int)’:
Statistics.h:90: error: ‘QSettings’ was not declared in this scope
Statistics.h:90: error: ‘settings’ was not declared in this scope
Statistics.h:90: error: expected type-specifier before ‘QSettings’
Statistics.h:90: error: expected `;' before ‘QSettings’
Statistics.h:92: error: ‘Qt’ has not been declared
Statistics.h:95: error: ‘class NetworkHandler’ has no member named ‘query’
Statistics.h:95: error: ‘QString’ was not declared in this scope
Statistics.h:96: error: ‘class NetworkHandler’ has no member named ‘query’
Statistics.h:97: error: ‘class NetworkHandler’ has no member named ‘query’
Statistics.h:97: error: ‘QRegExp’ was not declared in this scope
Statistics.h:99: error: ‘class KPlotObject’ has no member named ‘points’
/usr/include/KDE/../kplotwidget.h:190: error: ‘void KPlotWidget::addPlotObject(KPlotObject*)’ is private
Statistics.h:100: error: within this context
Statistics.h:101: error: ‘class KPlotWidget’ has no member named ‘update’
In file included from MainWindow.h:13,
                 from main.cpp:3:
ListWidget.h: At global scope:
ListWidget.h:16: error: expected class-name before ‘{’ token
ListWidget.h:17: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
ListWidget.h:19: error: expected ‘;’ before ‘public’
ListWidget.h:29: error: expected `;' before ‘private’
ListWidget.h:30: error: ISO C++ forbids declaration of ‘QMenu’ with no type
ListWidget.h:30: error: expected ‘;’ before ‘*’ token
ListWidget.h:31: error: ‘Qt’ has not been declared
ListWidget.h:31: error: ISO C++ forbids declaration of ‘MouseButton’ with no type
ListWidget.h:31: error: expected ‘;’ before ‘button’
ListWidget.h:34: error: ‘QContextMenuEvent’ has not been declared
ListWidget.h:42: error: expected `:' before ‘slots’
ListWidget.h:43: error: expected primary-expression before ‘void’
ListWidget.h:43: error: ISO C++ forbids declaration of ‘slots’ with no type
ListWidget.h:43: error: expected ‘;’ before ‘void’
main.cpp:15: error: expected `;' at end of input
main.cpp:15: error: expected `}' at end of input
ListWidget.h: In member function ‘void ListWidget::contextMenuEvent(int*)’:
ListWidget.h:36: error: ‘popup’ was not declared in this scope
ListWidget.h:36: error: request for member ‘globalPos’ in ‘* event’, which is of non-class type ‘int’
ListWidget.h:39: error: ‘selectedIndexes’ was not declared in this scope
ListWidget.h: At global scope:
ListWidget.h:40: error: expected unqualified-id at end of input
make: *** [main.o] Error 1
*Scratches his head*
Southbound no ha iniciado sesión   Reply With Quote
Old 09-11-2010, 10:13 PM   #16
Masterkick
Baron
 
Masterkick's Avatar
 
Join Date: Aug 2007
Location: Gallifrey
Posts: 718
Masterkick will become famous soon enoughMasterkick will become famous soon enough
Default

just tried to compile it on windows... got a bunch of errors. I may need to download qt4 .

pleeeease I wanna windows version!

Greetings!
__________________
Runi
Masterkick no ha iniciado sesión   Reply With Quote
Old 09-11-2010, 10:58 PM   #17
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Quote:
Originally Posted by Masterkick View Post
just tried to compile it on windows... got a bunch of errors. I may need to download qt4 .

pleeeease I wanna windows version!

Greetings!
I'll try to have it ready on Monday
I will post an update here as soon as it's ready.
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión   Reply With Quote
Old 09-12-2010, 09:33 AM   #18
w_larsen
Initiate
 
Join Date: Oct 2008
Posts: 111
w_larsen is an unknown quantity at this point
Default

qt, yuck D

i think it would be interesting to see also, how clans compare.
also NGD could open data for more players, especially for RA. :P
w_larsen no ha iniciado sesión   Reply With Quote
Old 09-14-2010, 06:32 AM   #19
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

A windows version is available: http://94.254.68.117/~znurre/RPManag.../RPManager.zip
You'll have to live without the graph functionality for now.

Also updated RP Manager to version 2.0.2 which adds a few small bug fixes and a new emblem on the left for new entries on the RP list.

FYI this is the trouble I am facing with the Windows version:
  • Download Qt for Windows
  • Download KDE libs for Windows
  • Compile application and link against Qt and KDE
So far so good - however!
  • The application will crash, because Qt for Windows is not compiled with MySQL support by default
  • Install MySQL libraries and compile Qt with MySQL support
  • Now the KDE DLLfiles will not work together with the self compiled Qt DLL files anymore
  • Recompile KDE libs for Windows against this self compiled version of Qt - which is a pain in the ass, but I'll get on to it... eventually.
So yeah, Windows is really a nightmare for me as Qt/KDE developer.
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg

Last edited by Znurre; 07-14-2011 at 02:41 AM.
Znurre no ha iniciado sesión   Reply With Quote
Old 09-14-2010, 07:37 AM   #20
PT_DaAr_PT
Baron
 
PT_DaAr_PT's Avatar
 
Join Date: May 2008
Location: Portugal
Posts: 940
PT_DaAr_PT is on a distinguished road
Default

Windows Vista here, it works \o/ though it randomly crashes when fetching the ranks.
__________________
Daar
PT_DaAr_PT no ha iniciado sesión   Reply With Quote
Reply

Tags
community application, rp manager, znurre


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved