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: Fri, 06 Nov 2009 13:59:55 -0800

These are generated by a custom script in the xcode project, essentially make is run to generate these files.

Scott

On Nov 5, 2009, at 8:54 PM, Nima Talebi wrote:

Another point worth mentioning is that there are a lot of files that I can see dependencies on, which don't exist anywhere in the source tree, for example...

version.h
swarmconfig.h
SwarmEnvironment_getters.[hm]
externvar.h
{collections,defobj,activity}_types.h
{collections,defobj,activity}_classes.h

...which is further confusing things for me.

Nima


On Fri, Nov 6, 2009 at 2:21 PM, Nima Talebi <address@hidden> wrote:
And here is my Build Properties.


On Fri, Nov 6, 2009 at 2:18 PM, Nima Talebi <address@hidden> wrote:
I also noticed that the default fresh out of subversion is set to 10.5, should I be changing that to 10.6?

Nima


On Fri, Nov 6, 2009 at 2:15 PM, Nima Talebi <address@hidden> wrote:
Hi Scott,

Okay, now I'm getting places... slowly.

I've documented my progress here for now, when its complete, and if you think it's worthwhile, I'll add it into the wiki in an appropriate page, and maintain it there from then onwards.

Compilation fails with many errors, however the Swarm.framework itself does get built.

I've tried compiling Heatbugs against that produced framework which also fails with many errors.

I'll continue investigating, but as always, any help would be great :)

Nima


On Fri, Nov 6, 2009 at 12:04 PM, Scott Christley <address@hidden> wrote:
And also you want to use the Xcode project under macosx/SwarmOSX

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


_______________________________________________
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



--
Nima Talebi
web: http://ai.autonomy.net.au/People/Nima
gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0



--
Nima Talebi
web: http://ai.autonomy.net.au/People/Nima
gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0



--
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]