Forum > Cocoa

How to get the usual menu items in the first menu

<< < (2/4) > >>

Lazarus uses the Carbon widgetset. If you're using the Cocoa widgetset, the last time I checked there were quite a few things that did not work there, this is probably just one more.

Ok.  I may have to go with the Cocoa widget set because of a 64bit library I may have to use.

I guess the best way forward is to file bug reports for the Cocoa widget set.

Yes, it's worth at least logging a bug report. Things posted here will not get attended to.

Note that 32-bit libraries work fine on OS X too. You can easily create "fat" .dylib files containing both 32- and 64-bit libraries. OS X system libs are all like this, as are most commercial libs.


Ok.  I'll try to file bug reports when I have time.  It would be great to have full Cocoa support.

Thanks for your hint about the library.  I may well have been doing something wrong.  I built the stock HDF5 library and got a libhdf5.a, which I can only link with the 64bit FPC, not with the 32bit FPC.  This is what I get when I use the 32bit compiler:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---ld: warning: ignoring file libhdf5.a, file was built for archive which is not the architecture being linked (i386): libhdf5.aUndefined symbols for architecture i386:  "_H5close", referenced from:      _FINALIZE$_$HDF5 in hdf5.o  "_H5garbage_collect", referenced from:      _PASCALMAIN in Reconstructor.o  "_H5open", referenced from:      _INIT$_$HDF5 in hdf5.old: symbol(s) not found for architecture i386An error occurred while linking

Right, you built libhdf5.a for 64-bit only. Try building it for both if that's an option (don't know what hdf5 is).

For any .o, .a, .dylib, etc. use the file command to see what archs it contains.


[0] Message Index

[#] Next page

[*] Previous page

Go to full version