Results 1 to 12 of 12

Thread: Graphics unit in Lazarus?

  1. #1
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Graphics unit in Lazarus?

    Code:
    GALILEO(1,1) Fatal: Can't find unit Graphics used by GALILEO
    Wtf now? How can I use TBitmap then?

  2. #2
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    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.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  3. #3
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    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.

  4. #4
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

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

    Its in that folder, graphics.o

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

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  5. #5
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

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

  6. #6
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    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 Thanks a lot!

  7. #7
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    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

  8. #8
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    I made a new script, check it out!.

  9. #9
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    He prob just forgot to add
    Code:
    $(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
    to his "Other Unit Files"

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  10. #10
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    He prob just forgot to add
    Code:
    $(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)
    to his "Other Unit Files"
    I'm trying now, but the OK button stays grey, whaaat?

  11. #11
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    I'm trying now, but the OK button stays grey, whaaat?
    Any help please?

  12. #12
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by marpis View Post
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •