SRL Archive - OSR Help

Graphics unit in Lazarus?


marpis

2011-01-15 06:29:08

GALILEO(1,1) Fatal: Can't find unit Graphics used by GALILEO

Wtf now? How can I use TBitmap then?

Wizzup?

2011-01-15 06:35:24

I think has a different name. Lclintfgraphics or so. Or perhaps you have to add additional lazarus packages to your project because it may not be able to find the graphics source right now.

marpis

2011-01-15 06:49:43

From: Wizzup?
I think has a different name. Lclintfgraphics or so. Or perhaps you have to add additional lazarus packages to your project because it may not be able to find the graphics source right now.


I've looked everywhere in C:/lazarus/ but can't find anything there, neither on the web. :(
Can you see somehow what's the correct name of the unit? Lclintgraphics or Lclientgraphics don't work.

Dgby714

2011-01-15 07:00:53

$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)

Its in that folder, graphics.o

Your "Other Unit Files" project option should look something like this
$(ProjDir)
$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)
$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
../Simba/Units/MMLCore
../Simba/Units/Misc
$(LazarusDir)/components/mouseandkeyinput

mastaraymond

2011-01-15 07:39:16

You need to include LCL in your DLL… Just like last time you asked this ;-).

marpis

2011-01-16 05:49:35

From: mastaraymond
You need to include LCL in your DLL… Just like last time you asked this ;-).


Oh, sorry I had completely ignored your help in the other thread :redface: Thanks a lot!

marpis

2011-01-16 14:22:53

Oh dear :( I did what you told me, and it compiles the file nicely but when I try to build it, it get
C:\Users\Matias\Desktop\galileo\GALILEO(1,1) Fatal: Can't find unit interfaces used by GALILEO

Markus

2011-01-16 15:43:39

Jfgi ;) Recompile your LCL.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#.22Cannot_find_Unit_interfaces.22._How_can_I_solve_this.3F

Dgby714

2011-01-16 21:37:27

From: Markus
Jfgi ;) Recompile your LCL.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#.22Cannot_find_Unit_interfaces.22._How_can_I_solve_this.3F


He prob just forgot to add
$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
to his "Other Unit Files"

marpis

2011-01-17 00:42:17

From: Dgby714
He prob just forgot to add
$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
to his "Other Unit Files"


I'm trying now, but the OK button stays grey, whaaat?

marpis

2011-01-18 04:34:03

From: marpis
I'm trying now, but the OK button stays grey, whaaat?


Any help please? :(

marpis

2011-01-19 15:47:56

From: marpis
I'm trying now, but the OK button stays grey, whaaat?


Bump? I need help! Guys I'm this close to finishing a break-through GetMyPos in color only, I think we all could use some nice reflection walking that doesn't break ever?