Page 7 of 13

Re: [OS X] Morn76's Mavericks/Yosemite builds

PostPosted: Thu Dec 04, 2014 00:08
by Morn76
RGA wrote:The second problem when I run my build, i have an error when I create a world :

Code: Select all
ERROR : no worldname given or no game selected


I have not more investigated this problem (but I had the keyboard and I have given a name to the world) so I have no more to explain about it. I will watch the code when I can run my build.

Just click on the subgame again (bottom row icons). Sometimes they deselect themselves and then you will get "no game selected" when creating a new world.

Re: [OS X] Morn76's Mavericks/Yosemite builds

PostPosted: Thu Dec 04, 2014 08:13
by OmniStudent
Hello Morn76!

I'm drifting to another project (rendering neverwinter nights maps in Minetest), but would you like me to try building something? I have a MacBookPro7,1 Intel Core 2 Duo running OSX 10.6.8 and a new macbook pro with four processors and Maverick.

Re: [OS X] Morn76's Mavericks/Yosemite builds

PostPosted: Thu Dec 04, 2014 10:35
by Morn76
Hi OmniStudent!

It would be interesting to see if you can duplicate Megaf's issues with FreeType, OpenGL 2, and low framerates under Yosemite, but if you are still on Mavericks that doesn't help. :-)

Re: [OS X] Morn76's Mavericks/Yosemite builds

PostPosted: Thu Dec 04, 2014 22:21
by Megaf
Morn76 wrote:Hi OmniStudent!

It would be interesting to see if you can duplicate Megaf's issues with FreeType, OpenGL 2, and low framerates under Yosemite, but if you are still on Mavericks that doesn't help. :-)


Actually the framerate itself is very good, problem is the mouse movement.

Re: [OS X] Morn76's Mavericks/Yosemite builds

PostPosted: Wed Dec 10, 2014 10:57
by Morn76
New build 20141210.dcc4897

Now you can use Ctrl-V to paste into the chat dialog box.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Thu Dec 11, 2014 05:50
by MinerDad
I just downloaded the latest build (minetest-osx-bin-20141210.dcc4897.zip) and when I try and run it, it throws an error:

Dyld Error Message:
Library not loaded: @executable_path/../../libs/libfreetype.6.dylib
Referenced from: /Volumes/VOLUME//Applications/minetest.app/Contents/MacOS/../Resources/bin/minetest
Reason: image not found

Looking in the libs directory, I don't see a libfreetype. Am I supposed to install freetype myself?

Re: [OS X] Morn76's Yosemite builds

PostPosted: Thu Dec 11, 2014 11:14
by Morn76
Oops, I think that was due to the FreeType-less build I did for Megaf. I've uploaded a new ZIP file to GitHub.

Thanks for testing!

Re: [OS X] Morn76's Yosemite builds

PostPosted: Fri Dec 12, 2014 04:23
by MinerDad
Morn76 wrote:Oops, I think that was due to the FreeType-less build I did for Megaf. I've uploaded a new ZIP file to GitHub.

Thanks for testing!


That fixed it. Thanks.

I have a question. Where do I put mods and subgames? Do I place them in /Applications/minetest.app/Contents/Resources/bin/share or do I put them in ~/.minetest?

Re: [OS X] Morn76's Yosemite builds

PostPosted: Fri Dec 12, 2014 04:48
by MinerDad
MinerDad wrote:
Morn76 wrote:Oops, I think that was due to the FreeType-less build I did for Megaf. I've uploaded a new ZIP file to GitHub.

Thanks for testing!


That fixed it. Thanks.

I have a question. Where do I put mods and subgames? Do I place them in /Applications/minetest.app/Contents/Resources/bin/share or do I put them in ~/.minetest?


Ignore this question. I just re-read the initial post and I can see that it already answered this.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Fri Dec 12, 2014 06:00
by MinerDad
I'm trying to build minetest using your script and I'm getting the following error when I run the final minetest.app:

Dyld Error Message:
Library not loaded: @executable_path/../../libs/libpng16.16.dylib
Referenced from: /Volumes/VOLUME//Users/*/minetest.app/Contents/MacOS/../Resources/bin/minetest
Reason: Incompatible library version: minetest requires version 32.0.0 or later, but libpng16.16.dylib provides version 27.0.0

I'm running 10.10.1 and I've run "brew update", "brew upgrade" and reinstalled libpng with brew. Any ideas?

Re: [OS X] Morn76's Yosemite builds

PostPosted: Fri Dec 12, 2014 11:06
by Morn76
I think you need to update the libs directory with build_libs.sh which should copy the correct libraries into minetest.app/Contents/libs/.

Of course if you intented to run MT on a machine that has all dependencies installed in /usr/local, you can remove the line with dylibbundler from make_mac.sh altogether. Changing the install names with dylibbundler and updating the libs directory in the app is only necessary for running MT on machines without the required libraries.

P.S. I've changed it so that build_libs.sh is now run by make_mac.sh every time you build MT. This should also keep me from uploading builds with missing libraries. :-)

Re: [OS X] Morn76's Yosemite builds

PostPosted: Fri Dec 12, 2014 15:44
by MinerDad
Updating make_mac.sh and running it worked for me. Thanks.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Mon Dec 15, 2014 15:22
by Morn76
New build 20141215.df0ca45 — mainly with updated translations and various bug fixes. 0.4.11 is coming closer I think. ;-)

Re: [OS X] Morn76's Yosemite builds

PostPosted: Wed Dec 17, 2014 22:46
by stormchaser3000
i am trying to help someone get minetest compiled for thier mac but i don't know how to (they use mac OSX Version 10.7.5) but they can't install xcode so i don't know how to compile minetest on that version of mac OS X

i use linux is there a way i can cross compile

Re: [OS X] Morn76's Yosemite builds

PostPosted: Wed Dec 17, 2014 23:38
by Morn76
I think you need Xcode 4.6.3 for OS X Lion. If you cannot get that anywhere, maybe you could install Wine and use a Windows MT binary. Supposedly it works pretty well via Wine.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Thu Dec 18, 2014 05:52
by stormchaser3000
Morn76 wrote:I think you need Xcode 4.6.3 for OS X Lion. If you cannot get that anywhere, maybe you could install Wine and use a Windows MT binary. Supposedly it works pretty well via Wine.


um where do you seggest i get that version of xcode?

Re: [OS X] Morn76's Yosemite builds

PostPosted: Thu Dec 18, 2014 10:53
by Morn76
Apple Developer (I think there is a free membership for old downloads like Xcode.)

Of course even if you can get the right Xcode, you also need the dependencies such as Irrlicht, so maybe you should find out first if Homebrew can build those packages on 10.7 at all. If it can't, skip Xcode and look into Wine.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Sun Dec 21, 2014 02:03
by SAMIAMNOT
Thanks for the warnings, good job. Now I know how to go down ladders! I used to just hop down.
You might want to add a warning that sometimes the"clicking point" will change to the bottom of the mouse. Frustrating if you dont know whats going on like i did.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Sun Dec 21, 2014 05:23
by Joby
Hi,

Just downloaded minetest-osx-bin-20141215.df0ca45.zip seems to work great except the touchpad on my MBP its really temperamental for looking around, clicks are fine but movement is terrible.

I had to go back to build minetest-osx-bin-20140903.8948907-yosemite-v3.zip which works fine. Any ideas what could be wrong?

Re: [OS X] Morn76's Yosemite builds

PostPosted: Sun Dec 21, 2014 12:23
by Morn76
SAMIAMNOT wrote:You might want to add a warning that sometimes the"clicking point" will change to the bottom of the mouse. Frustrating if you dont know whats going on like i did.

I've never really noticed that. You mean the bottom of the crosshair?

Joby wrote:Hi,

Just downloaded minetest-osx-bin-20141215.df0ca45.zip seems to work great except the touchpad on my MBP its really temperamental for looking around, clicks are fine but movement is terrible.

I had to go back to build minetest-osx-bin-20140903.8948907-yosemite-v3.zip which works fine. Any ideas what could be wrong?

Works for me as usual on my MB. You could try lowering the global OS X trackpad speed and see if that affects MT.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Sun Dec 21, 2014 17:31
by Joby
Morn76 wrote:Works for me as usual on my MB. You could try lowering the global OS X trackpad speed and see if that affects MT.


Thanks for the suggestion, but did not help, I tried both lowering it to minimum and putting it up fairly high. It did change the camera movement speed, but the glitching/stickiness was still there.

I tried to compile from src, but the binary crashes on startup, so looks like I have some more work to do there too

Re: [OS X] Morn76's Yosemite builds

PostPosted: Sun Dec 21, 2014 19:50
by MinerDad
Joby wrote:Hi,

Just downloaded minetest-osx-bin-20141215.df0ca45.zip seems to work great except the touchpad on my MBP its really temperamental for looking around, clicks are fine but movement is terrible.

I had to go back to build minetest-osx-bin-20140903.8948907-yosemite-v3.zip which works fine. Any ideas what could be wrong?


I see this same issue. I'm working on doing a bisect to figure out when it happened.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Sun Dec 21, 2014 21:43
by MinerDad
MinerDad wrote:
Joby wrote:Hi,

Just downloaded minetest-osx-bin-20141215.df0ca45.zip seems to work great except the touchpad on my MBP its really temperamental for looking around, clicks are fine but movement is terrible.

I had to go back to build minetest-osx-bin-20140903.8948907-yosemite-v3.zip which works fine. Any ideas what could be wrong?


I see this same issue. I'm working on doing a bisect to figure out when it happened.


I thought that old build was better for me but it isn't.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Mon Dec 22, 2014 01:03
by Joby
let me know if I can help in any way, I'm new to minetest but am a software engineer so point me in the right direction if needed.

I have a feeling it was introduced with 9b551d5cbcaf71a8c39bbf7e886290649aed4799 I'll see if I can find a build after this commit, before the next.

Edit: seems the latest code wont run, I built using mtmake-osx build scripts, app runs, black screen and then crash.

Re: [OS X] Morn76's Yosemite builds

PostPosted: Mon Dec 22, 2014 10:26
by Morn76
Joby wrote:Edit: seems the latest code wont run, I built using mtmake-osx build scripts, app runs, black screen and then crash.

Minetest versions from between September and December need the u64 patch applied to build. So make sure to use commit 8010e8 of mtmake-osx or add the patch to the latest version.

Trackpad jumpiness under Yosemite has also been reported e.g. here and here. Is everyone who is reporting this issue using a MBP?