Page 2 of 22
Posted: 15 May 2007, 16:07
by tc-
Just tried checking out a new working copy, configured it, built it and installed it. Works on my system. Was it the checking out or the install that failed?
Code: Select all
cd
svn checkout https://tc.serveftp.net/repos/springlobby
cd springlobby/trunk/
./configure
make
su
make install
Posted: 15 May 2007, 21:55
by tc-
Took a little screenshot of the app to show the progress. Currently working on the nick list to the right.

Posted: 15 May 2007, 21:59
by Relative
Looks nice.
The autogen command seems to have fixed my file problem, but I'm having an issue with dependences. This isn't a lobby issue, just me.
Edit: Fixed that issue, now make command doesn't work. My a newbness is really showing
Code: Select all
rutter@stumpy:~/springlobby/trunk$ make
make all-recursive
make[1]: Entering directory `/home/rutter/springlobby/trunk'
Making all in src
make[2]: Entering directory `/home/rutter/springlobby/trunk/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -g -O2 -MT mainwindow.o -MD -MP -MF .deps/mainwindow.Tpo -c -o mainwindow.o mainwindow.cpp
chatpanel.h:46: error: expected class-name before ├óÔé¼╦£{├óÔé¼Ôäó token
chatpanel.h:69: error: ├óÔé¼╦£wxCommandEvent├óÔé¼Ôäó has not been declared
chatpanel.h:75: error: ISO C++ forbids declaration of ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó with no type
chatpanel.h:75: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
chatpanel.h:76: error: ISO C++ forbids declaration of ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó with no type
chatpanel.h:76: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
chatpanel.h:77: error: ISO C++ forbids declaration of ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó with no type
chatpanel.h:77: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
chatpanel.h:78: error: ISO C++ forbids declaration of ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó with no type
chatpanel.h:78: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
chatpanel.h:80: error: ISO C++ forbids declaration of ├óÔé¼╦£wxTextCtrl├óÔé¼Ôäó with no type
chatpanel.h:80: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
chatpanel.h:81: error: ISO C++ forbids declaration of ├óÔé¼╦£wxTextCtrl├óÔé¼Ôäó with no type
chatpanel.h:81: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
chatpanel.h:83: error: ISO C++ forbids declaration of ├óÔé¼╦£wxButton├óÔé¼Ôäó with no type
chatpanel.h:83: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainchattab.h:33: error: expected class-name before ├óÔé¼╦£{├óÔé¼Ôäó token
mainchattab.h:45: error: ISO C++ forbids declaration of ├óÔé¼╦£wxNotebook├óÔé¼Ôäó with no type
mainchattab.h:45: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainchattab.h:46: error: ISO C++ forbids declaration of ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó with no type
mainchattab.h:46: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainwindow.h:35: error: invalid use of undefined type ├óÔé¼╦£struct wxFrame├óÔé¼Ôäó
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of ├óÔé¼╦£struct wxFrame├óÔé¼Ôäó
mainwindow.h:46: error: ISO C++ forbids declaration of ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó with no type
mainwindow.h:46: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainwindow.h:47: error: ISO C++ forbids declaration of ├óÔé¼╦£wxListbook├óÔé¼Ôäó with no type
mainwindow.h:47: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainwindow.h:48: error: ISO C++ forbids declaration of ├óÔé¼╦£wxNotebookPage├óÔé¼Ôäó with no type
mainwindow.h:48: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainwindow.h:52: error: ISO C++ forbids declaration of ├óÔé¼╦£wxImageList├óÔé¼Ôäó with no type
mainwindow.h:52: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
springlobbyapp.h:64: error: ├óÔé¼╦£wxTimerEvent├óÔé¼Ôäó has not been declared
springlobbyapp.h:106: error: ISO C++ forbids declaration of ├óÔé¼╦£wxTimer├óÔé¼Ôäó with no type
springlobbyapp.h:106: error: expected ├óÔé¼╦£;├óÔé¼Ôäó before ├óÔé¼╦£*├óÔé¼Ôäó token
mainwindow.cpp: In constructor ├óÔé¼╦£MainWindow::MainWindow()├óÔé¼Ôäó:
mainwindow.cpp:27: error: type ├óÔé¼╦£wxFrame├óÔé¼Ôäó is not a direct base of ├óÔé¼╦£MainWindow├óÔé¼Ôäó
mainwindow.cpp:28: error: ├óÔé¼╦£wxPoint├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:28: error: ├óÔé¼╦£wxSize├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:31: error: ├óÔé¼╦£wxMenu├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:31: error: ├óÔé¼╦£menuFile├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:31: error: expected type-specifier before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:31: error: expected `;' before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:37: error: ├óÔé¼╦£menuEdit├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:37: error: expected type-specifier before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:37: error: expected `;' before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:39: error: ├óÔé¼╦£menuTools├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:39: error: expected type-specifier before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:39: error: expected `;' before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:41: error: ├óÔé¼╦£menuHelp├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:41: error: expected type-specifier before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:41: error: expected `;' before ├óÔé¼╦£wxMenu├óÔé¼Ôäó
mainwindow.cpp:44: error: ├óÔé¼╦£wxMenuBar├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:44: error: ├óÔé¼╦£menubar├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:44: error: expected type-specifier before ├óÔé¼╦£wxMenuBar├óÔé¼Ôäó
mainwindow.cpp:44: error: expected `;' before ├óÔé¼╦£wxMenuBar├óÔé¼Ôäó
mainwindow.cpp:49: error: ├óÔé¼╦£SetMenuBar├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:51: error: ├óÔé¼╦£m_main_sizer├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:51: error: expected type-specifier before ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó
mainwindow.cpp:51: error: expected `;' before ├óÔé¼╦£wxBoxSizer├óÔé¼Ôäó
mainwindow.cpp:52: error: ├óÔé¼╦£m_func_tabs├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:52: error: expected type-specifier before ├óÔé¼╦£wxListbook├óÔé¼Ôäó
mainwindow.cpp:52: error: expected `;' before ├óÔé¼╦£wxListbook├óÔé¼Ôäó
mainwindow.cpp:54: error: ├óÔé¼╦£m_func_tab_images├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:54: error: expected type-specifier before ├óÔé¼╦£wxImageList├óÔé¼Ôäó
mainwindow.cpp:54: error: expected `;' before ├óÔé¼╦£wxImageList├óÔé¼Ôäó
mainwindow.cpp:55: error: ├óÔé¼╦£chat_icon├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:55: error: ├óÔé¼╦£wxBITMAP├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:65: error: ├óÔé¼╦£SetSizer├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:67: error: ├óÔé¼╦£SetSize├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp: In destructor ├óÔé¼╦£virtual MainWindow::~MainWindow()├óÔé¼Ôäó:
mainwindow.cpp:74: error: ├óÔé¼╦£GetSize├óÔé¼Ôäó was not declared in this scope
mainwindow.cpp:77: error: ├óÔé¼╦£GetPosition├óÔé¼Ôäó was not declared in this scope
make[2]: *** [mainwindow.o] Error 1
make[2]: Leaving directory `/home/rutter/springlobby/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rutter/springlobby/trunk'
make: *** [all] Error 2
Posted: 15 May 2007, 22:10
by Kloot
Timestamps! I knew I was forgetting something!

Posted: 15 May 2007, 22:16
by Relative
Kloot wrote:Timestamps! I knew I was forgetting something!

STOP STEALING IPs!!!
Posted: 15 May 2007, 22:20
by tc-
Relative: The problem is probably that it cant find the wxWidgets includes for some reason.
Edit: Do you have the development package for wxWidgets for your distro installed? If so, does configure say anything about wxWidgets? If not, install
Edit2: -DwxUSE_GUI=0 Should be -DwxUSE_GUI=1
Posted: 15 May 2007, 22:43
by Relative
Well my distro's (ubuntu) package manager does not list wxWidgets as a package. I went to the wxWidgets homepage and they instructed me to install the wxgtk, but that didn't work either.
Posted: 15 May 2007, 22:46
by tc-
I'm working on the problem, it seems the wxUSE_GUI flag breaks things when i include <wx/wx.h> so i think i will work it around if i include individual headers instead.
Posted: 15 May 2007, 22:54
by tc-
Try getting the source again with svn update, could possibly work now.
Edit: I'll be back in 8h

zZzzzzZz
Posted: 15 May 2007, 23:14
by Relative
Well I got the same result. I don't think this has anything to do you or the lobby, I'm just lacking the right dependences I guess.
Posted: 16 May 2007, 07:40
by tc-
Ubuntu is really a pain in the ass when it comes to development. Anyway, I read someware you have to install these packages:
libwxgtk2.5.3
libwxgtk2.5-dev
wx2.5-headers
The version of the packages should be 2.6 or 2.8 though. I'm compiling against version 2.6 here but 2.8 should work just as good.
Posted: 16 May 2007, 10:18
by det
tc- wrote:Ubuntu is really a pain in the ass when it comes to development.
I think that is a totally unfounded statement

Posted: 16 May 2007, 14:26
by BrainDamage
tested in mandriva 2007, compiles fine here
the login screen doen't get the text to fit the login screen (missing word wrap?)
anything we should test specifically?
Posted: 16 May 2007, 16:06
by tc-
det: Nearly totally unfunded but not totally, I used to have Ubuntu but dumped it for that particular reason
Brain Damage: It wordwraps on my system. I think it's because it doesn't have space for it. Try resizing the window. If that works I guess setting a min-size for the label will do the job.
Posted: 16 May 2007, 18:57
by BrainDamage
the resizing did thetrick, actually it didn't matter if i started readucing or enlarging the window, as soon as i'll be resizing the window, it will enable the word wrap
but yes, a default minimum size won't hurt as in i have to enlage the window a bit (even with word wrap) to have the text fully displayed
Posted: 16 May 2007, 21:25
by own3d
If you want to use some Icons check out kde's oxygen icon theme in their CVS repository they are the best icons I have seen.
Posted: 16 May 2007, 22:55
by tc-
own3d: Could be interesting, but wan't able to find it. Do you have an url to it?
Posted: 17 May 2007, 10:36
by tc-
Brain Damage: The size problem with the ConnectWindow should be resolved now. You can also leave channels now, I saw that you tried doing that when you tried out the lobby

Posted: 17 May 2007, 23:30
by Tronic
Why two C++/wxWidgets lobbies? UNITE!
Btw, it would help if you were on #taspring on Freenode, for rapid development discussion & some teamwork (rather than a zillion NIH-clients, none of which gets very good because they all have a bus factor of 1).
Posted: 18 May 2007, 00:38
by tc-
Tronic: I have released the sourcecode and it's available though my svn server, tried to document the code as well as possible, and invited everyone to help out. All this to increse the bus factor(sadly to no avail so far). I started out wanting to help out Kloot with his client but it's not easy to help out without the source beeing open.
Anyway the goals of the two c++/wxWidgets clients are very different. Kloot's client is supposed to include only the vital functions to be able to play online while the one I have started is intended to include all the popular features.
However, I very much agree with you about there beeing too many lobby projects around. I just wish one of them worked on my computer without hours of hacking and saying bad words.