MacOS SpringRTS OSX Build - Page 4

MacOS SpringRTS OSX Build

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

User avatar
Anarchid
Posts: 1360
Joined: 30 Nov 2008, 04:31
x 36

Re: MacOS SpringRTS OSX Build

Postby Anarchid » 29 Dec 2015, 13:25

The filename is correct, the .dylib reported in infolog.txt exists at that exact location, and the double slash shouldn't be a real problem for an unix-like OS.

From the fact that unitsync as used by my lobby is able to find the AI in its proper place, i assume the interface "kind of" works?

Probably some kind of runtime failure, but how do i test/confirm that?
0 x

abma
Spring Developer
Posts: 3439
Joined: 01 Jun 2009, 00:08
x 148

Re: MacOS SpringRTS OSX Build

Postby abma » 29 Dec 2015, 19:41

Anarchid wrote:The filename is correct, the .dylib reported in infolog.txt exists at that exact location, and the double slash shouldn't be a real problem for an unix-like OS.


does ldd exist on osx? this maybe gives a hint?!
0 x

User avatar
Anarchid
Posts: 1360
Joined: 30 Nov 2008, 04:31
x 36

Re: MacOS SpringRTS OSX Build

Postby Anarchid » 30 Dec 2015, 13:52

Googling tells me otool -L is the mac alternative to ldd, so i did the obvious:

$ otool -L libAIInterface.dylib
libAIInterface.dylib:
@loader_path/../0.1/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.21.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
@loader_path/../0.1/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)


Is there anything non-obvious for me to do?

A bit alarming: knorke is complaining about having something like exactly the same problem on Windows in ZKGBAI thread on zk.info: http://pastebin.com/ZcCRnS6b
0 x

abma
Spring Developer
Posts: 3439
Joined: 01 Jun 2009, 00:08
x 148

Re: MacOS SpringRTS OSX Build

Postby abma » 30 Dec 2015, 15:23

Anarchid wrote:A bit alarming: knorke is complaining about having something like exactly the same problem on Windows in ZKGBAI thread on zk.info: http://pastebin.com/ZcCRnS6b


your infolog.txt please! very likely it fails at a different stage!
0 x

Kloot
Spring Developer
Posts: 1811
Joined: 08 Oct 2006, 16:58
x 83

Re: MacOS SpringRTS OSX Build

Postby Kloot » 30 Dec 2015, 15:58

http://pastebin.com/ZcCRnS6b wrote:Microsoft Windows 7 Ultimate Edition, 64-bit


32-bit Spring (AI interface) but only a 64-bit JVM installation, maybe?
0 x

User avatar
Anarchid
Posts: 1360
Joined: 30 Nov 2008, 04:31
x 36

Re: MacOS SpringRTS OSX Build

Postby Anarchid » 30 Dec 2015, 19:11

your infolog.txt please! very likely it fails at a different stage!

I'll post it here after New Year because i'm away from that machine again. You should have the log in chat history though.
0 x

abma
Spring Developer
Posts: 3439
Joined: 01 Jun 2009, 00:08
x 148

Re: MacOS SpringRTS OSX Build

Postby abma » 30 Dec 2015, 21:26

for the reference.

Anarchid wrote:I'll post it here after New Year because i'm away from that machine again. You should have the log in chat history though.


http://hastebin.com/sukoxukule.xml

-> the ai interface fails to load at an early stage.

also possible ai interface logging is broken for release builds, mantised: https://springrts.com/mantis/view.php?id=5020
0 x

8611z
Posts: 169
Joined: 08 Jul 2015, 20:20
x 2

Re: MacOS SpringRTS OSX Build

Postby 8611z » 31 Dec 2015, 03:27

Anarchid wrote:A bit alarming: knorke is complaining about having something like exactly the same problem on Windows in ZKGBAI thread on zk.info: http://pastebin.com/ZcCRnS6b
interessting choice of words. If http://zero-k.info/Forum/Thread/20617?p ... 852#148852 reads like complaining to you then I better avoid this appearently touchy topic.
0 x

Tamriel
Posts: 1
Joined: 10 Jan 2016, 17:57

Re: MacOS SpringRTS OSX Build

Postby Tamriel » 10 Jan 2016, 17:58

I'm using Mac OS 10.8
Can somebody offer a build?
If not, is somewhere a guide how to do that myself?
0 x

User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Re: MacOS SpringRTS OSX Build

Postby PauloMorfeo » 10 Jan 2016, 18:46

Tamriel wrote:...
If not, is somewhere a guide how to do that myself?

Is this page that I found in the help pages of any help for your case?
https://springrts.com/wiki/Spring_on_MacOSX
0 x

darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11
x 2

Re: MacOS SpringRTS OSX Build

Postby darklord42 » 25 Jan 2016, 02:36

Sorry, I don't have 10.8 on any machine to build from. As for build instructions.. I don't know, the whole build process for osx apps is fairly broken. I actually made my own build script thats great for my own environment. If you are familiar with bash and know your way around a package manager like macports, I'd be happy to show it to you.
0 x

User avatar
Belmakor
Posts: 212
Joined: 16 Nov 2005, 00:01
x 1

Re: MacOS SpringRTS OSX Build

Postby Belmakor » 18 Feb 2016, 08:10

Is there a build of the 101.0 RC for OS X I can play with for testing purposes?
0 x

darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11
x 2

Re: MacOS SpringRTS OSX Build

Postby darklord42 » 18 Feb 2016, 16:46

I put a 10.11 build of Spring revision 100.0.1-1183-g1081d06 on the first post. Not sure if that is the commit that coincides with RC3.
0 x

darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11
x 2

Re: MacOS SpringRTS OSX Build

Postby darklord42 » 29 Feb 2016, 07:44

I have a bundle for 101.0 up (OSX 10.11+)
0 x

MaDDoX
Posts: 45
Joined: 08 Jan 2006, 17:45
x 13

Re: MacOS SpringRTS OSX Build

Postby MaDDoX » 08 Mar 2016, 18:12

Hey Darklord42, congratulations on the packages, great job.

So, engine 100.0 worked flawlessly, except for AA AI crashing after one computer dies, but alas 101.0 build is barely working. I couldn't get any AI working (except for the null AIs) all the ones I tried crashed the game right after load.

The shaders seem to have changed (F4 leaves almost the whole map under fog, for instance), but some basic things like the faster-rate LOS update are simply not there, which makes me wonder if there were some old files merged with the new ones?
0 x

lamer
Posts: 146
Joined: 08 Mar 2014, 23:13
x 1

Re: MacOS SpringRTS OSX Build

Postby lamer » 08 Mar 2016, 20:25

Faster-rate LOS update requires OpenGL 3+. Mac OS X doesn't have OpenGL compatibility profiles for 3+ version and thus operates only in 2.1.
See https://www.opengl.org/wiki/Core_And_Co ... n_Contexts, "Platform Issue (MacOSX)" section.
Also Mac drivers are too strict and may result in errors like "invalid framebuffer" if something done not in apple way.

Hmm, I saw some trolling about Vulcan, maybe it is better to rewrite the renderer in Heavy Metal? :)
0 x

Super Mario
Posts: 814
Joined: 21 Oct 2008, 02:54
x 13

Re: MacOS SpringRTS OSX Build

Postby Super Mario » 09 Mar 2016, 02:37

lamer wrote:
Hmm, I saw some trolling about Vulcan, maybe it is better to rewrite the renderer in Heavy Metal? :)

No.
0 x

MaDDoX
Posts: 45
Joined: 08 Jan 2006, 17:45
x 13

Re: MacOS SpringRTS OSX Build

Postby MaDDoX » 09 Mar 2016, 21:15

Metal?? Won't happen, I know. In any case, 101's rendering / shader issues on OSX (not to mention the AI crashes, probably unrelated) are so grave right now that I wouldn't recommend it to any player, except maybe for watching replays.

Just sad. :(

I'll just hope the mods keep supporting 100. BA 9.35 for instance only officially supports 101, although I did get it running in 100.
0 x

User avatar
jamerlan
Balanced Annihilation Developer
Posts: 682
Joined: 20 Oct 2009, 13:04
x 8

Re: MacOS SpringRTS OSX Build

Postby jamerlan » 20 Mar 2016, 04:35

Hi darklord42!

Can you make a build from develop branch? I would like to test/report bugs.
I have some crashes in 101.. but I guess it's too late to report 101 bugs because 102 is RC already
0 x

darklord42
Posts: 96
Joined: 26 Jul 2014, 07:11
x 2

Re: MacOS SpringRTS OSX Build

Postby darklord42 » 22 Mar 2016, 15:30

Wow 102 already! Ok give me a little bit I'll have it up for you.
[edit] done!

This is the most current code, as of writing, since there isn't a rc1 tag
http://www.mediafire.com/download/2ba7do24c6jckwl/Spring_101.0.1-179-g5944ba1-OSX-10.11.3.dmg
0 x


Return to “Mac OS X”