[macOS] Neoascetic's nightly builds and others

ewbte
Member
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Post

here we go again

Code: Select all

Hello:mtmake-osx Hello$ bash make_mac.sh
Cloning into 'minetest-git'...
remote: Reusing existing pack: 24941, done.
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 24946 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (24946/24946), 23.12 MiB | 440.00 KiB/s, done.
Resolving deltas: 100% (16536/16536), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
patching file CMakeLists.txt
patching file src/CMakeLists.txt
patching file src/jthread/jevent.h
patching file src/jthread/jsemaphore.h
patching file src/jthread/pthread/jevent.cpp
patching file src/jthread/pthread/jsemaphore.cpp
patching file src/porting.cpp
patching file src/porting.h
Hunk #1 succeeded at 123 (offset 2 lines).
Hunk #2 succeeded at 227 (offset 4 lines).
Hunk #3 succeeded at 256 (offset 4 lines).
patching file cmake/Modules/FindGettextLib.cmake
patching file src/CMakeLists.txt
Hunk #1 succeeded at 523 (offset 1 line).
patching file src/CMakeLists.txt
Hunk #1 succeeded at 615 (offset 1 line).
patching file src/jthread/jsemaphore.h
patching file src/jthread/pthread/jsemaphore.cpp
patching file src/CMakeLists.txt
Hunk #1 succeeded at 633 (offset 1 line).
patching file store.lua
-- The C compiler identification is Clang 5.1.0
-- The CXX compiler identification is Clang 5.1.0
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- *** Will build version 0.4.9-dev ***
-- IRRLICHT_SOURCE_DIR = 
-- IRRLICHT_INCLUDE_DIR = /usr/local/include/irrlicht
-- IRRLICHT_LIBRARY = /usr/local/lib/libIrrlicht.a
-- Found IRRLICHT: /usr/local/lib/libIrrlicht.a  
-- CURL_INCLUDE_DIR = CURL_INCLUDE_DIR-NOTFOUND
-- CURL_LIBRARY = /usr/lib/libcurl.dylib
-- CURL_DLL = 
-- gettext include path: /usr/local/opt/gettext/include
-- gettext msgfmt path: /usr/local/opt/gettext/bin/msgfmt
-- GetText enabled; locales found: be;cs;da;de;es;et;fr;hu;it;ja;ko;ky;lt;nb;nl;pl;pt;pt_BR;ro;ru;uk;zh_CN
-- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenAL.framework  
-- Found VORBIS: /usr/local/include  
-- Sound enabled
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.dylib
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework  
-- Found JPEG: /usr/local/lib/libjpeg.dylib  
-- Found BZip2: /usr/lib/libbz2.dylib (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.dylib - found
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5") 
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.10") 
-- Found system sqlite3 header file in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include
-- Found system sqlite3 library /usr/lib/libsqlite3.dylib
-- Using project jsoncpp library
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
CMake Error at /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindFreetype.cmake:119 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:197 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/Hello/mtmake-osx/minetest-git/CMakeFiles/CMakeOutput.log".
make_mac.sh: line 31: make: command not found
make_mac.sh: line 32: make: command not found
cp: bin/minetest: No such file or directory
* Collecting dependenciessh: otool: command not found
Cannot find file minetest.app/Contents/Resources/bin/minetest to read its dependencies
======== otool =======
make_mac.sh: line 41: otool: command not found
Cloning into 'minetest.app/Contents/Resources/bin/share/games/minetest_game'...
remote: Reusing existing pack: 2124, done.
remote: Total 2124 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2124/2124), 1.88 MiB | 519.00 KiB/s, done.
Resolving deltas: 100% (902/902), done.
Checking connectivity... done.
Already up-to-date.
cp: ../minetest-git/locale: No such file or directory

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

The error message about pkgconfig missing is normal, so the issue must be Freetype. Do "brew info freetype" and make sure it's properly installed.
ewbte wrote:CMake Error at /usr/local/Cellar/cmake/2.8.12.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS)
If you can't get Freetype to work, you could edit make_mac.sh and remove "-DENABLE_FREETYPE=on" in line 29 to get a build without Freetype. Fonts will look slightly uglier.

ewbte
Member
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Post

Code: Select all

Hello:~ Hello$ brew info freetype
freetype: stable 2.5.3 (bottled)
http://www.freetype.org
/usr/local/Cellar/freetype/2.5.3_1 (60 files, 2.6M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/freetype.rb
==> Dependencies
Required: libpng ✔
==> Options
--universal
	Build a universal binary
--without-subpixel
	Disable sub-pixel rendering (a.k.a. LCD rendering, or ClearType)
Hello:~ Hello$ 

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Looks identical to my brew info output. Strange that it doesn't work.

Oh well, time to break out the text editor and edit line 29 in make_mac.sh I think. This Freetype stuff is completely optional and can be sorted out later.

ewbte
Member
Posts: 14
Joined: Sun Jun 08, 2014 11:02

Re: Morn76's Minetest OS X Mavericks builds

by ewbte » Post

Code: Select all

-- Build files have been written to: /Users/Hello/mtmake-osx/minetest-git
make_mac.sh: line 31: make: command not found
make_mac.sh: line 32: make: command not found
cp: bin/minetest: No such file or directory
* Collecting dependenciessh: otool: command not found
Cannot find file minetest.app/Contents/Resources/bin/minetest to read its dependencies
======== otool =======
make_mac.sh: line 41: otool: command not found
Cloning into 'minetest.app/Contents/Resources/bin/share/games/minetest_game'...
so how about otool? It did say the same before.
also, bin folder now exists, but it's empty.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Start Xcode, go to Xcode->Preferences->Downloads and install a component named "Command Line Tools" (source: http://stackoverflow.com/questions/6767 ... -os-x-lion). This should give you make and otool I think.

Under Mavericks, you get prompted automatically to install commandline tools when required, so I did not have to do this. Another important point for my README then. :-)

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

The binary has been updated to 20140615.9d57413

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Updated to 20140619.04fbf47

Now with RealBadAngel's much improved node shading algorithm (screenshot by Jordach):

Image
Last edited by Morn76 on Fri Jun 27, 2014 09:07, edited 1 time in total.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Updated to 20140625.09ba047

This git version has a bug where the status bar at the lower left is incomplete or does not show at all. If the status bar is important to you, you may want to use the previous build.

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

Re: Morn76's Minetest OS X Mavericks builds

by OmniStudent » Post

Morn76 wrote:Updated to 20140619.04fbf47
Now with RealBadAngel's much improved node shading algorithm:
That looks really nice! Haven't been active for a while, but nice to see you're still developing the mac port :)

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Yes, and I'm now also in the process of cleaning up my patches so they are acceptable for merging into the main MT repo: https://github.com/minetest/minetest/pull/1420

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

Re: Morn76's Minetest OS X Mavericks builds

by OmniStudent » Post

Thats Great! Nice that the other Programmers are now involved.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

And adding the mutex to semcount means the mod store works on OS X now! Or at least MT no longer crashes when fetching the screenshots. So yay for constructive pull request criticism! :-)

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Updated to 20140629.1367895

In this update, the status bar bug has been fixed and the mod store now works correctly on OS X.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Updated to 20140630.567dea2

This has some more bug fixes for the impending 0.4.10 release next weekend.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Updated to 20140702.b8343cd

User avatar
Mgdie
Member
Posts: 25
Joined: Sun Dec 09, 2012 22:03
Location: Colombia, Huila

Re: Morn76's Minetest OS X Mavericks builds

by Mgdie » Post

When i am mining (destroying a block) if i move the mouse slightly it stops, also stops even if i haven't stopped the click, it is really annoying any idea?

User avatar
stormchaser3000
Member
Posts: 422
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

Re: Morn76's Minetest OS X Mavericks builds

by stormchaser3000 » Post

Mgdie wrote:When i am mining (destroying a block) if i move the mouse slightly it stops, also stops even if i haven't stopped the click, it is really annoying any idea?
use a mouse that did not come with your mac.

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Updated build to the latest stable MT release 0.4.10

Note that minetest_next has been merged into minetest_game, so e.g. boats, TNT, glass panes, and iron bars are now included by default.

User avatar
Mgdie
Member
Posts: 25
Joined: Sun Dec 09, 2012 22:03
Location: Colombia, Huila

Re: Morn76's Minetest OS X Mavericks builds

by Mgdie » Post

stormchaser3000 wrote:
use a mouse that did not come with your mac.
nope still the same

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

Mgdie wrote:
stormchaser3000 wrote:
use a mouse that did not come with your mac.
nope still the same
Decrease your mouse/trackpad speed in System Preferences.

User avatar
Mgdie
Member
Posts: 25
Joined: Sun Dec 09, 2012 22:03
Location: Colombia, Huila

Re: Morn76's Minetest OS X Mavericks builds

by Mgdie » Post

Morn76 wrote:
Mgdie wrote:
stormchaser3000 wrote:
use a mouse that did not come with your mac.
nope still the same
Decrease your mouse/trackpad speed in System Preferences.
it is not the expected behavior it should stop only if i move the mouse outside the block, not if i move it within

Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Morn76's Minetest OS X Mavericks builds

by Morn76 » Post

I cannot reproduce this problem. As long as I stay on a node with my cursor while digging, small mouse movements do not stop the digging process.

Are you using the latest build? If not, upgrade to 0.4.10.

P.S. Are you playing on a server or locally? If the former, could this be a lag issue?

User avatar
Mgdie
Member
Posts: 25
Joined: Sun Dec 09, 2012 22:03
Location: Colombia, Huila

Re: Morn76's Minetest OS X Mavericks builds

by Mgdie » Post

Morn76 wrote:I cannot reproduce this problem. As long as I stay on a node with my cursor while digging, small mouse movements do not stop the digging process.

Are you using the latest build? If not, upgrade to 0.4.10.

P.S. Are you playing on a server or locally? If the former, could this be a lag issue?
both server and local but now it seems to be fixed.. but another problem appeared now where the mouse pointer appears it won't click there but lower, seems to be on windowed mode

OmniStudent
Member
Posts: 261
Joined: Sat Nov 03, 2012 06:40

Re: Morn76's Minetest OS X Mavericks builds

by OmniStudent » Post

Thanks again for all your work Morn76, you're the best!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests