Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-07

cocoa usage

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Henrik Genssen

HI,

I am trying to get into cocoa...

using lazarus from svn TRUNK I get some files in lcl/units/i386-darwin/cocoa

a lazarus wiki page says get all stuff from lazarus-cc at sf: http://wiki.lazarus.freepascal.org/Cocoa_Interface http://wiki.lazarus.freepascal.org/PasCocoa#Subversion

now I have dupplicate units, besides that in the wiki there is nothing mentioned about a cocoa_pkg, which is needed to compile the examples, that only exists on lazarus-cc.

can someone clarify what to use? Shell I copy the lazarus-cc stuff into the lcl stuff above?

-- Hinnack

dmitry boyarintsev
to Henrik Genssen
I am trying to get into cocoa... using lazarus from svn TRUNK I get some files in lcl/units/i386-darwin/cocoa

remove these compiled units files.

can someone clarify what to use? Shell I copy the lazarus-cc stuff into the lcl stuff above?

you don't need to copy from ccr to lcl.

upload cocoa units from lazarus-ccr

you should find cocoa.lpk at lazarus-ccr/bindings/pascocoa/ dir. install the package.
after the package is installed you can rebuild cocoa-LCL.

don't expect too much from the widgetset.

thanks,
dmitry

dmitry boyarintsev
to dmitry boyarintsev

Installing the cocoa package, should do the search path for you. so you don't need to modify fpc.cfg or add compiler options to a lazarus project

If you don't use cocoa the package, then you need to add units search paths manually. In any way you find it easier (modifying fpc.cfg or lazarus project compiler options).

thanks,
dmitry