swarm-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [swarm-hackers] Swarm on MacOS 10.6 Snow Leopard


From: Scott Christley
Subject: Re: [swarm-hackers] Swarm on MacOS 10.6 Snow Leopard
Date: Thu, 05 Nov 2009 16:59:38 -0800

Oh, sorry Nima.  No the 2.3 release doesn't have the Mac stuff in it, the Mac stuff hasn't been released yet, you need to get it from the SVN repository.

Scott

On Nov 5, 2009, at 4:12 PM, Nima Talebi wrote:

Hi Scott,

32-bit will do fine for me for now if I can get it working - which is still where the problem sits at :)

Here are my questions so far, and in resolving each one, I'd like to add these to a FAQ area on the wiki.

Via Xcode 3.0:

% sudo mkdir -p /srv/src/swarm
% sudo chown nima !$
% cd !$
% wget -q http://ftp.swarm.org/pub/swarm/src/swarm/swarm-2.3.0.tar.gz
% tar xzf swarm-2.3.0.tar.gz
% cd swarm-2.3.0
% open macosx/swarm.xcodeproj

Build --> Thousands of errors and warnings.

Next, I redefine the paths to Tcl.framework and Tk.framework as follows:
    From: /Library/Frameworks/{Tcl,Tk}.framework
    To: /System/Library/Frameworks/{Tcl,Tk}.framework

Build --> Still thousands of errors and warnings.

Note at this point that I still do not have BLT - as per this bug report.

Next, I try the non-Xcode approache....

Non-Xcode approach

Here is the outcome of the automake/autoconf process, and here is the outcome of running make.

...so still no luck.

I'll keep investigating, but any suggestions would be great!

Nima



On Fri, Nov 6, 2009 at 5:48 AM, Scott Christley <address@hidden> wrote:
Hey Nima,

I'm using Swarm on Snow Leopard, seems to be OK, but only for 32-bit.  The 64-bit compile complains and will require some code changes to support.  I notice that I have some file changes on my machine that I haven't checked in yet, but I'm not sure if you need them.  Let me know if you have trouble.  The latest thing I did was create an Xcode template (it's under etc), drop that into

/Library/Application Support/Developer/Shared/Xcode/Project Templates/Applications

and you can create a new Swarm project directly in Xcode.  It has a template for both GUI and batch models as well as being a document-based system where the document is a file containing model parameters and etc.  It still needs some work but the idea is to convert the set of Swarm sample apps based on the template.  The template also needs GNUstep makefiles added, then it will be more properly and OpenStep template where you have the same code for both platforms.

One thing I discovered.  I rewrote how the Raster display is done, by using an NSImage for buffering, this made the display faster and prevented flickering.  Unfortunately I discovered that this doesn't work under GNUstep, I filed a bug with those guys but its unclear when it will get fixed.

cheers
Scott


On Nov 5, 2009, at 12:11 AM, Nima Talebi wrote:

Hi Guys,

Just an interrupt from lil-old me :)

...So has anyone got Swarm to run successfully on Mac OS X 10.6 (Snow Leopard)... Cocoa, not Tck/Tk ?

If not, can I help out with any of the work?  And I'm confused, should I be trying out 2.3, or 2.2?  Bill which branch is it that you've been working on?

Nima
_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers



_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers



--
Nima Talebi
web: http://ai.autonomy.net.au/People/Nima
gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]