Recent

Author Topic: Make Lazarus look like the screenshots.  (Read 12232 times)

Dus

  • Newbie
  • Posts: 6
Make Lazarus look like the screenshots.
« on: February 04, 2009, 12:05:59 pm »
Hello,

Recently I installed Lazarus 0.9.26 on my Mandriva2009. I wanted to make it look like one of the screenshots on the lazarus website, but without success.
I found a post on this forum, which explains how to do this, but I couldn't get that to work either.
As that post is more than 120 days old, I started a new topic (as was recommended).

This is what I've tried:
Install Lazarus, as discribed in the wiki.
Open console and login as root, using su.
Type "startlazarus", which starts Lazarus.
Go to Tools->Configure "Build Lazarus".
Select 'Clean up + Build all'
Then select 'gtk2 (beta)' for IDE. (Actually, I don't mind which one, as long as it looks better as it does now).
Press the button 'Build'.

I'm getting the error:
/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0xb7b1): undefined reference to `gtk_file_system_error_quark'
/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_INFO$$LONGWORD':
gtk2.pas:(.text+0xb7c1): undefined reference to `gtk_file_info_get_type'
/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_SYSTEM$$LONGWORD':
gtk2.pas:(.text+0xb7d1): undefined reference to `gtk_file_system_get_type'
/usr/lib/fpc/2.2.2/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_FOLDER$$LONGWORD':
gtk2.pas:(.text+0xb851): undefined reference to `gtk_file_folder_get_type'
hello.pp(31,1) Error: Error while linking

How can I solve this? Or is this not the solution to make Lazarus a bit better than it does now?

Greetings,

Willie

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Make Lazarus look like the screenshots.
« Reply #1 on: February 04, 2009, 12:14:07 pm »
Use fpc 2.2.3 or later.

Or (experimentally) add -k--noinhibit-exec to the options. You need to add it also for all gtk2 projects you compile.

Dus

  • Newbie
  • Posts: 6
Re: Make Lazarus look like the screenshots.
« Reply #2 on: February 04, 2009, 12:37:46 pm »
Hello Vincent,

Isn't there another way to change the looks of lazarus? It doesn't need to be gtk2, as long I as it looks different then it does now.

Isn't fpc 2.2.2 the latest stable version for Mandriva 2009?

Willie

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Make Lazarus look like the screenshots.
« Reply #3 on: February 04, 2009, 12:44:02 pm »
I don't know what exact screen shots you are talking about. I don't know what gtk1 themes is used by that the user that created the screen shots.

fpc 2.2.2 is the lastest stable fpc version. Next release is fpc 2.2.4, for which just release candidate 1 has been released.

Dus

  • Newbie
  • Posts: 6
Re: Make Lazarus look like the screenshots.
« Reply #4 on: February 04, 2009, 01:16:24 pm »
Hello Vincent,

The screenshots I'm talking about are the ones one the Lazarus website
http://wiki.lazarus.freepascal.org/Screenshots

Willie

arnoldb

  • Jr. Member
  • **
  • Posts: 97
Re: Make Lazarus look like the screenshots.
« Reply #5 on: February 04, 2009, 02:26:26 pm »
I'm also running Lazarus on Mandriva 2009, and it looks pretty similar to the linux screen shot you linked...
Only thing that's slightly icky is the font used for the menus and in the object inspector.

Dus

  • Newbie
  • Posts: 6
Re: Make Lazarus look like the screenshots.
« Reply #6 on: February 04, 2009, 03:12:14 pm »
How did you do that?

My Lazarus looks like the old windows 3.1. And it's not only the font.

If there are screenshots of better looking Lazarus of version 0.9.24, then there must be a way to change mine, without installing packages which are not officially released. 

I downloaded the Lazarus/fpc packages from the lazarus website and installed them in the right order, mentioned in the wiki.
A few months ago, my collegue had version 0.9.24 which looked the same as what I have.

Willie

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Make Lazarus look like the screenshots.
« Reply #7 on: February 04, 2009, 03:24:15 pm »
It's not that hard to understand.
Better look means the IDE ist compiled against GTK2.
You have tried that and it failed.
This is due to a change in the GTK2 Libraries.
The issue has been fixed: http://mantis.freepascal.org/view.php?id=11837
But the fixed version is not yet marked as stable.

OK?
« Last Edit: February 04, 2009, 03:26:34 pm by theo »

arnoldb

  • Jr. Member
  • **
  • Posts: 97
Re: Make Lazarus look like the screenshots.
« Reply #8 on: February 04, 2009, 03:39:06 pm »
Are you using  0.9.24 or 0.9.26 ?
I also just downloaded from the website and installed.

When I installed, I also added the stuff for galaxy etc ? maybe you don't have that installed?

Are you running kde4 as display manager ?

 

TinyPortal © 2005-2018