Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 09-05-2012, 01:13   #46
Registered User
 
CarinaPDX's Avatar

Join Date: Jan 2010
Location: Portland, Oregon, USA
Boat: 31' Cape George Cutter
Posts: 3,299
Re: Trying to Build Mac Version

Best I can tell the problem with the two plug-in dylibs is that they are not copied into the app bundle in ~/tmp before the fixup_bundle command is run. After the install fails there is no Plugins folder in the app bundle, and so no dylibs inside. This may be the only remaining problem.

Does anyone know where this should be done in cmake?

Greg
CarinaPDX is offline   Reply With Quote
Old 09-05-2012, 03:13   #47
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,546
Re: Trying to Build Mac Version

Greg,

you have 2 libz.dylib in your system, one originated from Apple in /usr/lib/ and one from MacPorts in /opt/local/lib/
The compiler does not knows which one to use.
Since Snow Leopard universal libs are for 32bit (Carbon) and for 64bit (Cocoa).
Before Snow Leopard universal libs are for PPC and Intel.
Try to use 64bit because Carbon is outdated.
I can't give further help because I use the Xcode gui and not the command line tools. After Mountain Lion is out you should use an Apple developer ID otherwise Gatekeeper warns about unsecure software installations.

Gerhard
CarCode is offline   Reply With Quote
Old 10-05-2012, 18:37   #48
Registered User
 
CarinaPDX's Avatar

Join Date: Jan 2010
Location: Portland, Oregon, USA
Boat: 31' Cape George Cutter
Posts: 3,299
Re: Trying to Build Mac Version

Gerhard,

I am aware of the conflict between the two libz.dylib copies, although it is not clear that any problem would result as both are 32/64; the Apple version is 1.2.3 and the MacPorts version is 1.2.7. If you know of a way to instruct cmake to prefer one or the other I would appreciate knowing it.

I am also aware of Apple's bad decision to use the word "universal" to mean two different things (32/64 and PPC/Intel) depending on the version of OS X. It is continued in MacPorts, where the "universal" variant means different things depending on the OS X version being used. Very annoying.

As stated above, my purpose is to try to build binaries that can be used by pre-Snow Leopard systems for computers that can't use 64-bit Intel binaries - there are a lot of them out there. Personally, I am using Snow Leopard and will happily use the dmg on the web site for my own computer, and appreciate those who are working on the 64-bit code. Just as others would appreciate it if I can get the 32-bit versions working for older systems...

Greg
CarinaPDX is offline   Reply With Quote
Old 11-05-2012, 23:54   #49
Registered User
 
CarinaPDX's Avatar

Join Date: Jan 2010
Location: Portland, Oregon, USA
Boat: 31' Cape George Cutter
Posts: 3,299
Re: Trying to Build Mac Version

I have found the cause of the 2 install errors: as of version 2.8.3 cmake no longer defaults to copying plug-in dylibs into the bundle; it now must be done explicitly. This explains why it worked before but not now. Now if I only knew how to copy them in cmake...

Greg
CarinaPDX is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Version 2.6 Beta Build 1310 bdbcat OpenCPN 79 16-02-2012 02:22
OpenCPN Version 2.6 Beta Build 1223 bdbcat OpenCPN 38 30-12-2011 05:38
OpenCPN Version 2.4 Beta Build 628 bdbcat OpenCPN 63 15-07-2011 18:17
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31
OpenCPN Version 2.4 Beta Build 708 bdbcat OpenCPN 34 12-07-2011 13:20

Advertise Here


All times are GMT -7. The time now is 00:17.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.