You're not registered yet. Click here to register. Credits 
You can register here for free.
This topic has 23 replies
and has been read 1.110 times
 About the code, compilation and debugging
pages 1 | 2
jose1711 Offline



Posts: 34

Thu Feb 09, 2012 7:29 pm
#16 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

hey, scotty. i set lazarus as follows:



Uploaded with ImageShack.us


then hit build. after that i did clean&build of scrabble but the issue persists. i am starting to think there is something rotten with gtk2 in ubuntu. note that neither arch linux, nor mandriva has this kind of problems. i will test it in daily build of ubuntu 12.04 when i have a chance and see if it helps. thank you for your support, jose


Scotty Offline

Administrator


Posts: 3.598

Thu Feb 09, 2012 8:17 pm
#17 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

That image shows settings for Lazarus but not the project settings. Ubuntu >11.10 uses Gtk3 by default but you can install, of course, gtk2 libs. Obviously, Lazarus uses gtk2 successfully.


Download: Sourceforge.net | Help:Scrabble3D Wiki | Discussion: Forum | News: Twitter | Fanship: Facebook


jose1711 Offline



Posts: 34

Thu Feb 09, 2012 9:22 pm
#18 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

thank you, i finally found it. the error in game is still occuring but what is even more interesting - i had some really hard time to actually enter that i want lclwidgetset to be compiled with gtk2. each time i did the selection in project settings clicking on any of [ok], [cancel], etc. buttons stopped working. in the end keyboard accelerators saved the day.


Bussinchen Offline




Posts: 2

Thu Feb 09, 2012 9:28 pm
#19 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply



So maybe you are not far away from a solution for eliminating that bug --> Moving letters from rack to board in Ubuntu 11.10, the game gets frozen


I OpenSource!
• Scrabble3D Download: Sourceforge.net | • Scrabble3D Help: Wiki | • Scrabble3D News: Twitter | • Scrabble3D Fanship: Facebook
• Scrabble3D in Italia: Sezione Scrabble3D sul Forum della Federazione Italiana Gioco Scrabble


jose1711 Offline



Posts: 34

Thu Feb 09, 2012 9:30 pm
#20 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

ok. but basically yeah.. this thread can be closed as i've been able to compile the app. thank you again for that.

@bussinchen: will you open a new thread for the segfault i am getting or do you want me to do so?


Scotty Offline

Administrator


Posts: 3.598

Thu Feb 09, 2012 9:31 pm
#21 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

Strange, I never heard about such kind of trouble with Lazarus itself. Sure that all gtk2 libs are installed properly?
However, if you are able to compile and run the game you can debug your issue. (Debugging is switched on in project settings)


Download: Sourceforge.net | Help:Scrabble3D Wiki | Discussion: Forum | News: Twitter | Fanship: Facebook


jose1711 Offline



Posts: 34

Thu Feb 09, 2012 9:33 pm
#22 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

right, i actually already have backtrace from debug-enabled build just do not know where to put it


Bussinchen Offline




Posts: 2

Thu Feb 09, 2012 9:36 pm
#23 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

One moment please!


I OpenSource!
• Scrabble3D Download: Sourceforge.net | • Scrabble3D Help: Wiki | • Scrabble3D News: Twitter | • Scrabble3D Fanship: Facebook
• Scrabble3D in Italia: Sezione Scrabble3D sul Forum della Federazione Italiana Gioco Scrabble


Bussinchen Offline




Posts: 2

Thu Feb 09, 2012 9:43 pm
#24 RE: unmet lazarus deps preventing compilation on ubuntu Quote · reply

Zitat von jose1711
@bussinchen: will you open a new thread for the segfault i am getting or do you want me to do so?



jose1711, now you can open a new thread in the new forum section I have created for such purposes:

About the code, compilation and debugging

You may do it yourself!


----------------------

PS:
I'll move even this thread into that new part of our forum, okay?


I OpenSource!
• Scrabble3D Download: Sourceforge.net | • Scrabble3D Help: Wiki | • Scrabble3D News: Twitter | • Scrabble3D Fanship: Facebook
• Scrabble3D in Italia: Sezione Scrabble3D sul Forum della Federazione Italiana Gioco Scrabble


pages 1 | 2
 Jump  
disconnected Scrabble3D Chat Members online 0
Xobor Einfach ein eigenes Forum erstellen