glest-source
glest-source copied to clipboard
Mac OSX build instructions need updating
We have fairly good build instructions for Mac OSX, but they mostly likely need some touching up.
While it does build on osx High Sierra, there are some weird messages in this build log
I'm trying to build on Mac with High Sierra, but the executable doesn't seem to be working property. It's a black screen with the music playing. Am I missing something?
Hi @oxenran .
Thanks for the attempt, I'm sorry to hear the binary isn't working right on your system.
What should happen is the intro video and animations should appear in the foreground, against a black background. Pressing return or escape during that takes the user to the main menu.
Would you mind sending us a copy of the output generated by make and cmake? If the output is still in your terminal and you're able to copy and paste, that'll work.
Otherwise, if you're willing to try again, remove the build directory and re-run cmake
and make
the same way you did before.
if you're in a terminal where copy and paste isn't available, you can redirect the output by adding >> zg-build.log 2>&1
at the end of the cmake
command line, and then again at the end of the make
command line. That will redirect all output to the log file.
So for example, make >> zg-build.log 2>&1
Note that since you won't see any output, your command prompt won't reappear until each task is finished.
The log can be attached to this ticket, or you can paste the output to https://gist.github.com/ and just paste the link here.
@oxenran
I'll be sure to give you the opportunity to make a PR for any changes to the build instructions. Thanks again!
Make Output
Scanning dependencies of target libzetaglest
[ 0%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/libircclient/src/libircclient.c.o
[ 0%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpAccount.c.o
[ 1%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/compression/compression_utils.cpp.o
[ 2%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpCmds.c.o
[ 2%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpLib.c.o
[ 3%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpMessages.c.o
[ 4%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpRuntime.c.o
[ 4%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpServer.c.o
[ 5%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpSession.c.o
[ 5%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpTargetPosix.c.o
[ 6%] Building C object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/feathery_ftp/ftpTargetWin32.c.o
[ 7%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/BMPReader.cpp.o
[ 7%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/FileReader.cpp.o
[ 8%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/ImageReaders.cpp.o
[ 8%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/JPGReader.cpp.o
[ 9%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/PNGReader.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/TGAReader.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/buffer.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/camera.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/context.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/font.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/font_manager.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/font_text.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/graphics_interface.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/interpolation.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/model.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/model_manager.cpp.o
[ 16%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/particle.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/pixmap.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/quaternion.cpp.o
[ 18%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/shader.cpp.o
[ 18%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/shader_manager.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/texture.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/texture_manager.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/video_player.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/base_renderer.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/context_gl.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/font_gl.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/font_textFTGL.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/model_gl.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/model_renderer_gl.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/opengl.cpp.o
[ 25%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/particle_renderer_gl.cpp.o
[ 26%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/shader_gl.cpp.o
[ 26%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/text_renderer_gl.cpp.o
[ 27%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/graphics/gl/texture_gl.cpp.o
[ 27%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/lua/lua_script.cpp.o
[ 28%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/map/map_preview.cpp.o
[ 28%] Building CXX object source/shared_lib/CMakeFiles/libzetaglest.dir/sources/platform/common/base_thread.cpp.o
In file included from /Users/
Cmake Output:
-- The C compiler identification is AppleClang 10.0.0.10001145
-- The CXX compiler identification is AppleClang 10.0.0.10001145
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SOURCE_DIR = /Users/
-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework
-- 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 Lua: /usr/local/lib/liblua5.3.dylib (found version "5.3.5")
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "90")
-- Found OpenAL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenAL.framework
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.35")
-- **NOTE: FontConfig support was detected and enabled.
-- Found Freetype: /usr/local/lib/libfreetype.dylib (found version "2.9.1")
-- Found FTGL libraries at /usr/local/lib/libftgl.dylib and includes at /usr/local/include
-- **NOTE: FTGL font support was detected and enabled.
-- Found GLEW: /usr/local/include
-- ** Searching for library: FriBiDi...
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0;intl /usr/local/Cellar/glib/2.58.1/include/glib-2.0;/usr/local/Cellar/glib/2.58.1/lib/glib-2.0/include;/usr/local/opt/gettext/include;/usr/local/Cellar/pcre/8.42/include
CMake Warning (dev) at /usr/local/Cellar/cmake/3.12.3/share/cmake/Modules/CheckIncludeFiles.cmake:110 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
/usr/local/lib/libfribidi.dylib
For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): mk/cmake/Modules/FindGLIB2.cmake:215 (CHECK_INCLUDE_FILES) mk/cmake/Modules/FindFriBiDi.cmake:47 (FIND_PACKAGE) source/shared_lib/CMakeLists.txt:192 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Looking for fribidi_utf8_to_unicode in fribidi
-- Looking for fribidi_utf8_to_unicode in fribidi - not found
-- Looking for fribidi_charset_to_unicode in fribidi
-- Looking for fribidi_charset_to_unicode in fribidi - not found
Could not find FriBiDi. Disabling FriBiDi support.
-- Searching for zlib
-- Using external zlib
-- Looking for miniupnpc...
-- Found MINIUPNP: /usr/local/lib/libminiupnpc.dylib
-- Found the miniupnpc headers at /usr/local/include/miniupnpc
-- Performing Test MINIUPNPC_VERSION_1_7_OR_HIGHER
-- Performing Test MINIUPNPC_VERSION_1_7_OR_HIGHER - Success
-- Found miniupnpc version is v1.7 or higher
-- *** Using miniupnpc lib found in [/usr/local/include/miniupnpc] MINIUPNP_FOUND [TRUE] MINIUPNP_LIBRARY [/usr/local/lib/libminiupnpc.dylib]
-- **No macros required for miniupnpc version
-- *** Searching for libircclient since WANT_STATIC_LIBS is: OFF ...
-- Could NOT find IRCCLIENT (missing: IRCCLIENT_LIBRARY IRCCLIENT_INCLUDE_DIR)
-- **** WARNING: IRCClient NOT FOUND include path: IRCCLIENT_INCLUDE_DIR-NOTFOUND libs: IRCCLIENT_LIBRARY-NOTFOUND
-- *** Using EMBEDDED libircclient since this system does not have it... IRCCLIENT_FOUND [FALSE]
-- Performing Test LIBIRCCLIENT_VERSION_PRE_1_6
-- Performing Test LIBIRCCLIENT_VERSION_PRE_1_6 - Failed
-- EXTERNAL_LIBS = [/usr/lib/libcurl.dylib;/usr/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.dylib;-framework Cocoa;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework;/usr/X11R6/lib/libSM.dylib;/usr/X11R6/lib/libICE.dylib;/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib;/usr/local/lib/liblua5.3.dylib;/usr/local/lib/libjpeg.dylib;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenAL.framework;/usr/local/lib/libpng.dylib;/usr/local/lib/libfontconfig.dylib;/usr/local/lib/libftgl.dylib;/usr/local/lib/libfreetype.dylib;/usr/local/lib/libGLEW.dylib;/usr/lib/libz.dylib;/usr/local/lib/libminiupnpc.dylib]
-- Build zetaglest = YES
-- OGG/Vorbis includes: /usr/local/include
-- OGG library : /usr/local/lib/libogg.dylib
-- Vorbis library : /usr/local/lib/libvorbis.dylib
-- Vorbis file library: /usr/local/lib/libvorbisfile.dylib
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
-- **NOTE: OpenSSL is usually not required.
-- Checking for one of the modules 'streflop-soft'
-- Checking for one of the modules 'streflop'
-- Search for Library STREFLOP result = libs: include dirs:
-- Build zetaglest_editor = OFF
-- Build zetaglest_g3dviewer = OFF
-- **Found game data.
CMake Warning at CMakeLists.txt:328 (MESSAGE):
CLANG is NOT currently compatible as it does not support the following essential GCC compiler settings: -frounding-math -fsignaling-nans
-- =====> Found Define: HAS_GCC_BACKTRACE
-- =====> Found Define: DATADIR=../../zetaglest-data
-- Configuring done
-- Generating done
-- Build files have been written to:
@oxenran , thank you for taking the time to do this. If you'd like to submit a PR to add your name to the "General Help" section, please do so.
https://github.com/ZetaGlest/zetaglest-source/blob/develop/AUTHORS.md#general-help
Your log is similar to our automated Travis log (that I linked to in the first post). I think the first place we need to start checking is where the build reaches 47%, the "has no symbols" messages look pretty darn suspicious. But I'm a bit baffled as to why the build would complete if the compiler can't find references to everything.
When you run zetaglest and get the black screen with the music playing, if you hit "esc", does it change? Does the main menu show? And what messages are spit into the terminal?
When I get the black screen, the cursor is spinning. "Esc" does nothing.
Terminal output:
MainWindow forced change of resolution to desktop values (1280 x 800) instead of (800 x 600)
Killed: 9
Roxannes-MacBook-Pro-2:build roxanneagerone$ ./zetaglest
zetaglest v0.8.02
Compiled using: Clang: 10.0.0 [64bit] platform: MacOS-X64 endianness: little
version: [v0.8.02]
Auto Change resolution to (1280 x 800) from (800 x 600)
MainWindow forced change of resolution to desktop values (1280 x 800) instead of (800 x 600)
Killed: 9
On Tue, Oct 9, 2018 at 12:28 PM Andy Alt [email protected] wrote:
@oxenran https://github.com/oxenran , thank you for taking the time to do this. If you'd like to submit a PR to add your name to the "General Help" section, please do so.
https://github.com/ZetaGlest/zetaglest-source/blob/develop/AUTHORS.md#general-help
Your log is similar to our automated Travis log (that I linked to in the first post). I think the first place we need to start checking is where the build reaches 47%, the "has no symbols" messages look pretty darn suspicious. But I'm a bit baffled as to why the build would complete if the compiler can't find references to everything.
When you run zetaglest and get the black screen with the music playing, if you hit "esc", does it change? Does the main menu show? And what messages are spit into the terminal?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-428320149, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnM6yCTG26Q-oXUqVyL-FaRFNY3oL3ks5ujPjNgaJpZM4XHUiS .
@oxenran Just got your email. found it in my spam folder, sent you a reply.
Could you still post a stack trace?
@Jammyjamjamman any helpful tips on debugging this? Just see what gdb says or would the command-line debug option be useful in this case? (I noticed the MG travis log for osx shows the same errors about "missing symbols". https://travis-ci.org/MegaGlest/megaglest-source/jobs/401109554)
@oxenran I made a change that will allow cmake to find the OpenSSL library on High Sierra. I doubt that will have any effect on the immediate problem, but wanted to keep you posted. Here are the changes I made.
https://github.com/ZetaGlest/zetaglest-source/commit/d3f7fe78ef6d5dafec48a329cbc6bf33c319ca86
The key change was adding set(OPENSSL_ROOT_DIR /usr/local/opt/openssl)
I pulled your changes into my branch. It still couldn't find openssl. Maybe I'm linking the data wrong? I used realpath to find the absolute path of the data. cmake .. -DINSTALL_DIR_DATA=Users/me/Projects/zetaglest-data is this incorrect?
On Sat, Oct 13, 2018 at 10:22 PM Andy Alt [email protected] wrote:
@oxenran https://github.com/oxenran I made a change that will allow cmake to find the OpenSSL library on High Sierra. I doubt that will have any effect on the immediate problem, but wanted to keep you posted. Here are the changes I made.
d3f7fe7 https://github.com/ZetaGlest/zetaglest-source/commit/d3f7fe78ef6d5dafec48a329cbc6bf33c319ca86
The key change was adding set(OPENSSL_ROOT_DIR /usr/local/opt/openssl)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-429597703, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnMzt6eGj-9Mvs4qmbBfk_TR2sFlntks5uksoTgaJpZM4XHUiS .
For the DATA dir, you will need the absolute path. It's possible in some cases to use a relative path but that would typically cause problems later.
The value you use for INSTALL_DIR_DATA is hard-coded into the program at the time of compilation by cmake. It has the same effect of writing in the source code
#define DATADIR Users/me/Projects/zetaglest-data
That's a preprocessor directive, btw.
To do that during compile time, -D can be passed to most compilers (different from the -D option used for cmake.). This is the line in cmake where that magic happens:
https://github.com/ZetaGlest/zetaglest-source/blob/develop/source/glest_game/CMakeLists.txt#L12
That "add_definitions()" directive tells cmake to pass that to the compiler when the build actually happens.
But the DATA dir is used for game data, and isn't relevant to any linking of libraries, compiling or building.
@oxenran
I forgot to respond to this:
It still couldn't find openssl.
Installing openssl with brew
may help. Also, if you run xcode-select --install
, what is the output?
It may also help to remove CMakeCache.txt from your build directory and re-run cmake.
I'll do this when I get home today. I found this similar problem for OSX for another game https://www.reddit.com/r/vainglorygame/comments/93bayk/new_vainglory_pc_build_fix_for_startup_crash/ I wonder if it's a related issue.
On Wed, Oct 17, 2018 at 11:15 AM Andy Alt [email protected] wrote:
@oxenran https://github.com/oxenran
I forgot to respond to this:
It still couldn't find openssl.
Installing openssl with brew may help. Also, if you run xcode-select --install, what is the output?
It may also help to remove CMakeCache.txt from your build directory and re-run cmake.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-430733462, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnMw9ToygxrGa9tH_6wQgSlbNkuLA4ks5ul3PPgaJpZM4XHUiS .
I'll do this when I get home today. I found this similar problem for OSX for another game
Hmm.. interesting. I couldn't say with any certainty. Thanks for the extra info it may be helpful later.
I made a few more minor changes just now that may make a difference.
https://github.com/ZetaGlest/zetaglest-source/commit/caf5563b0170d2046934e05e017b580b42f104be
After you remove CMakeCache.txt and re-run cmake, the output should be pretty similar to what's shown here: https://travis-ci.org/ZetaGlest/zetaglest-source/jobs/442885570
Hey Andy, I'm getting these errors now.
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: library not found for -lintl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [zetaglest] Error 1
make[1]: *** [source/glest_game/CMakeFiles/zetaglest.dir/all] Error 2
make: *** [all] Error 2
On Wed, Oct 17, 2018 at 2:40 PM Andy Alt [email protected] wrote:
I'll do this when I get home today. I found this similar problem for OSX for another game
Hmm.. interesting. I couldn't say with any certainty. Thanks for the extra info it may be helpful later.
I made a few more minor changes just now that may make a difference.
caf5563 https://github.com/ZetaGlest/zetaglest-source/commit/caf5563b0170d2046934e05e017b580b42f104be
After you remove CMakeCache.txt and re-run cmake, the output should be pretty similar to what's shown here: https://travis-ci.org/ZetaGlest/zetaglest-source/jobs/442885570
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-430799307, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnM78cXkdJag7WgKPSoBK-HffCjG6yks5ul6O1gaJpZM4XHUiS .
Not sure but I think that removing your build directory and recreating it will solve that. Usually 'make' can detect when files need to be recompiled, but in some cases it does not.
That's what I did when this happened. I guess I didn't have xcode on this computer. I already had installed openssl with brew from the beginning as well ass the other packages. I run into problems during the make -j5 command. Is there a verbose flag?
On Thu, Oct 18, 2018, 12:13 AM Andy Alt [email protected] wrote:
Not sure but I think that removing your build directory and recreating it will solve that. Usually 'make' can detect when files need to be recompiled, but in some cases it does not.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-430900212, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnM7To6aR_cOuNWtraVlO_TgnlgtHcks5umCoBgaJpZM4XHUiS .
make
is usually verbose by default, but when the Makefiles are generated with cmake, they are not.
you can use make VERBOSE=1
to enable it.
However, I don't think that will help.
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
I did a google search for that error message and found that it affected many users. You may want to google search it yourself, or try what's suggested here:
http://sd.jtimothyking.com/2018/07/26/stub-file-and-library-file-out-of-sync/
I had already looked into the xcode tools fix. It's still not working. When I delete "-lintl" from link.txt, I get the same result. (black screen with music playing and spinner spinning). Otherwise, here is the output
make -j5
On Thu, Oct 18, 2018 at 12:28 PM Andy Alt [email protected] wrote:
make is usually verbose by default, but when the Makefiles are generated with cmake, they are not.
you can use make VERBOSE=1 to enable it.
However, I don't think that will help.
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
I did a google search for that error message and found that it affected many users. You may want to google search it yourself, or try what's suggested here:
http://sd.jtimothyking.com/2018/07/26/stub-file-and-library-file-out-of-sync/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-431131313, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnM_hW62j6OKtOZ5xBQ9eczTPvkTW-ks5umNZKgaJpZM4XHUiS .
[ 47%] Built target libzetaglest
[ 48%] Linking CXX executable ../../zetaglest
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
[100%] Built target zetaglest
On Tue, Oct 23, 2018 at 8:24 AM A Apopemptic [email protected] wrote:
I had already looked into the xcode tools fix. It's still not working. When I delete "-lintl" from link.txt, I get the same result. (black screen with music playing and spinner spinning). Otherwise, here is the output
make -j5
On Thu, Oct 18, 2018 at 12:28 PM Andy Alt [email protected] wrote:
make is usually verbose by default, but when the Makefiles are generated with cmake, they are not.
you can use make VERBOSE=1 to enable it.
However, I don't think that will help.
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
I did a google search for that error message and found that it affected many users. You may want to google search it yourself, or try what's suggested here:
http://sd.jtimothyking.com/2018/07/26/stub-file-and-library-file-out-of-sync/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-431131313, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnM_hW62j6OKtOZ5xBQ9eczTPvkTW-ks5umNZKgaJpZM4XHUiS .
Could it be my drivers?
On Tue, Oct 23, 2018 at 8:25 AM A Apopemptic [email protected] wrote:
[ 47%] Built target libzetaglest
[ 48%] Linking CXX executable ../../zetaglest
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//OpenGL.framework/OpenGL.tbd and library file /System/Library/Frameworks//OpenGL.framework/OpenGL are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/Versions/C/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.tbd and library file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices.tbd and library file /System/Library/Frameworks//CoreServices.framework/Versions/A/CoreServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis.tbd and library file /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork.tbd and library file /System/Library/Frameworks//CFNetwork.framework/Versions/A/CFNetwork are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.
[100%] Built target zetaglest
On Tue, Oct 23, 2018 at 8:24 AM A Apopemptic [email protected] wrote:
I had already looked into the xcode tools fix. It's still not working. When I delete "-lintl" from link.txt, I get the same result. (black screen with music playing and spinner spinning). Otherwise, here is the output
make -j5
On Thu, Oct 18, 2018 at 12:28 PM Andy Alt [email protected] wrote:
make is usually verbose by default, but when the Makefiles are generated with cmake, they are not.
you can use make VERBOSE=1 to enable it.
However, I don't think that will help.
ld: warning: text-based stub file /System/Library/Frameworks//Cocoa.framework/Cocoa.tbd and library file /System/Library/Frameworks//Cocoa.framework/Cocoa are out of sync. Falling back to library file for linking.
I did a google search for that error message and found that it affected many users. You may want to google search it yourself, or try what's suggested here:
http://sd.jtimothyking.com/2018/07/26/stub-file-and-library-file-out-of-sync/
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-431131313, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnM_hW62j6OKtOZ5xBQ9eczTPvkTW-ks5umNZKgaJpZM4XHUiS .
Could it be my drivers?
Possibly. For video, only OpenGL 2.1 is required. This is what we have documented for system requirements
I'm sorry I lack the necessary knowledge to troubleshoot this properly. You might see how far you get with some other projects, such as @supertux, @0ad, or even the project from which this was forked, @MegaGlest. I'm afraid working with me any further isn't going to provide a very good learning experience for you.
Those 3 projects I mentioned are on the large side, so I'd also suggest starting with smaller projects that take less time to build and require fewer dependencies.
Thank you for your patience. It's frustrating for both of us.
On Tue, Oct 23, 2018, 12:48 PM Andy Alt [email protected] wrote:
Could it be my drivers?
Possibly. For video, only OpenGL 2.1 is required. This is what we have documented for system requirements https://zetaglest.github.io/docs/system_requirements.html
I'm sorry I lack the necessary knowledge to troubleshoot this properly. You might see how far you get with some other projects, such as @SuperTux https://github.com/SuperTux, @0ad https://github.com/0ad, or even the project from which this was forked, @MegaGlest https://github.com/MegaGlest. I'm afraid working with me any further isn't going to provide a very good learning experience for you.
Those 3 projects I mentioned are on the large side, and I'd also suggest starting with smaller projects that take less time to build and require fewer dependencies.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZetaGlest/zetaglest-source/issues/263#issuecomment-432393024, or mute the thread https://github.com/notifications/unsubscribe-auth/AOXnMyUksuH4BOVI9zT8-u4UxRSSHS9cks5un3KSgaJpZM4XHUiS .