Jump to content
codefisher

Trying to compile game on Mac

Recommended Posts

I am trying to compile the game, but I keep having it fail with the following message, and have no idea what to do next.

  GEN      enum-map.i.c
  GEN      smob-types.i.c
  GEN      enums.h
  GEN      smobs.h
  GEN      core.x
  GEN      errors.x
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
  CC       guile_gnutls_v_2_la-core.lo
  CC       guile_gnutls_v_2_la-errors.lo
  CC       guile_gnutls_v_2_la-utils.lo
core.c:507:15: warning: implicit conversion from enumeration type 'gnutls_certificate_request_t' to different
      enumeration type 'gnutls_certificate_status_t' [-Wenum-conversion]
  c_request = scm_to_gnutls_certificate_request (request, 2, FUNC_NAME);
            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core.c:509:53: warning: implicit conversion from enumeration type 'gnutls_certificate_status_t' to different
      enumeration type 'gnutls_certificate_request_t' [-Wenum-conversion]
  gnutls_certificate_server_set_request (c_session, c_request);
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~
2 warnings generated.
  CCLD     guile-gnutls-v-2.la
libtool:   error: only absolute run-paths are allowed
make[4]: *** [guile-gnutls-v-2.la] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
ERROR: GnuTLS build failed

I tried to google the problem, and similar errors has suggested solutions that had something to do with changing what gets past to ./configure.  I tried them, but it did nothing.  Any idea what I need to do.

Share this post


Link to post
Share on other sites

If I cd to the gnutls folder and fun ./configure then make with no extra arguments I get a different error.

ld: warning: cannot export hidden symbol __gnutls_x86_cpuid_s from accelerated/.libs/libaccelerated.a(x86-common.o)
Undefined symbols for architecture x86_64:
  "_aesni_cbc_encrypt", referenced from:
      _aes_encrypt in libaccelerated.a(aes-cbc-x86-aesni.o)
      _aes_decrypt in libaccelerated.a(aes-cbc-x86-aesni.o)
  "_aesni_ctr32_encrypt_blocks", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_aesni_ecb_encrypt", referenced from:
      _x86_aes_encrypt in libaccelerated.a(aes-ccm-x86-aesni.o)
      _x86_aes_encrypt in libaccelerated.a(aes-gcm-x86-aesni.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_setiv in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_setiv in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_aesni_gcm_decrypt", referenced from:
      _aesni_gcm_aead_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_aesni_gcm_encrypt", referenced from:
      _aesni_gcm_aead_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_aesni_set_decrypt_key", referenced from:
      _aes_cipher_setkey in libaccelerated.a(aes-cbc-x86-aesni.o)
  "_aesni_set_encrypt_key", referenced from:
      _aes_cipher_setkey in libaccelerated.a(aes-cbc-x86-aesni.o)
      _aes_ccm_cipher_setkey in libaccelerated.a(aes-ccm-x86-aesni.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-aesni.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gcm_ghash_avx", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aesni_gcm_aead_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aesni_gcm_aead_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_tag in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_gcm_ghash_clmul", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_aead_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_aead_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_tag in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gcm_gmult_avx", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_gcm_gmult_clmul", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gcm_init_avx", referenced from:
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_gcm_init_clmul", referenced from:
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gnutls_cpuid", referenced from:
      _register_x86_crypto in libaccelerated.a(x86-common.o)
  "_padlock_capability", referenced from:
      _register_x86_crypto in libaccelerated.a(x86-common.o)
  "_padlock_cbc_encrypt", referenced from:
      _padlock_aes_cbc_encrypt in libaccelerated.a(aes-padlock.o)
      _padlock_aes_cbc_decrypt in libaccelerated.a(aes-padlock.o)
  "_padlock_ecb_encrypt", referenced from:
      _padlock_aes_encrypt in libaccelerated.a(aes-gcm-padlock.o)
  "_padlock_reload_key", referenced from:
      _padlock_aes_cipher_setkey in libaccelerated.a(aes-padlock.o)
  "_padlock_sha1_blocks", referenced from:
      _padlock_sha1_update in libaccelerated.a(sha-padlock.o)
      _padlock_sha1_digest in libaccelerated.a(sha-padlock.o)
      _register_x86_crypto in libaccelerated.a(x86-common.o)
  "_padlock_sha1_oneshot", referenced from:
      _wrap_padlock_hash_fast in libaccelerated.a(sha-padlock.o)
  "_padlock_sha256_blocks", referenced from:
      _padlock_sha256_update in libaccelerated.a(sha-padlock.o)
      _padlock_sha256_digest in libaccelerated.a(sha-padlock.o)
  "_padlock_sha256_oneshot", referenced from:
      _wrap_padlock_hash_fast in libaccelerated.a(sha-padlock.o)
  "_padlock_sha512_blocks", referenced from:
      _padlock_sha512_update in libaccelerated.a(sha-padlock.o)
      _padlock_sha512_digest in libaccelerated.a(sha-padlock.o)
  "_sha1_block_data_order", referenced from:
      _x86_sha1_update in libaccelerated.a(sha-x86-ssse3.o)
  "_sha256_block_data_order", referenced from:
      _x86_sha256_update in libaccelerated.a(sha-x86-ssse3.o)
  "_vpaes_cbc_encrypt", referenced from:
      _aes_ssse3_encrypt in libaccelerated.a(aes-cbc-x86-ssse3.o)
      _aes_ssse3_decrypt in libaccelerated.a(aes-cbc-x86-ssse3.o)
  "_vpaes_encrypt", referenced from:
      _x86_aes_encrypt in libaccelerated.a(aes-gcm-x86-ssse3.o)
  "_vpaes_set_decrypt_key", referenced from:
      _aes_ssse3_cipher_setkey in libaccelerated.a(aes-cbc-x86-ssse3.o)
  "_vpaes_set_encrypt_key", referenced from:
      _aes_ssse3_cipher_setkey in libaccelerated.a(aes-cbc-x86-ssse3.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-ssse3.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libgnutls.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

 

Share this post


Link to post
Share on other sites
1 hour ago, codefisher said:

If I cd to the gnutls folder and fun ./configure then make with no extra arguments I get a different error.


ld: warning: cannot export hidden symbol __gnutls_x86_cpuid_s from accelerated/.libs/libaccelerated.a(x86-common.o)
Undefined symbols for architecture x86_64:
  "_aesni_cbc_encrypt", referenced from:
      _aes_encrypt in libaccelerated.a(aes-cbc-x86-aesni.o)
      _aes_decrypt in libaccelerated.a(aes-cbc-x86-aesni.o)
  "_aesni_ctr32_encrypt_blocks", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_aesni_ecb_encrypt", referenced from:
      _x86_aes_encrypt in libaccelerated.a(aes-ccm-x86-aesni.o)
      _x86_aes_encrypt in libaccelerated.a(aes-gcm-x86-aesni.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_setiv in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_setiv in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_aesni_gcm_decrypt", referenced from:
      _aesni_gcm_aead_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_aesni_gcm_encrypt", referenced from:
      _aesni_gcm_aead_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_aesni_set_decrypt_key", referenced from:
      _aes_cipher_setkey in libaccelerated.a(aes-cbc-x86-aesni.o)
  "_aesni_set_encrypt_key", referenced from:
      _aes_cipher_setkey in libaccelerated.a(aes-cbc-x86-aesni.o)
      _aes_ccm_cipher_setkey in libaccelerated.a(aes-ccm-x86-aesni.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-aesni.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gcm_ghash_avx", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aesni_gcm_aead_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aesni_gcm_aead_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_tag in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_gcm_ghash_clmul", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_aead_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_aead_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_tag in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gcm_gmult_avx", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_gcm_gmult_clmul", referenced from:
      _aes_gcm_encrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_decrypt in libaccelerated.a(aes-gcm-x86-pclmul.o)
      _aes_gcm_auth in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gcm_init_avx", referenced from:
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul-avx.o)
  "_gcm_init_clmul", referenced from:
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-pclmul.o)
  "_gnutls_cpuid", referenced from:
      _register_x86_crypto in libaccelerated.a(x86-common.o)
  "_padlock_capability", referenced from:
      _register_x86_crypto in libaccelerated.a(x86-common.o)
  "_padlock_cbc_encrypt", referenced from:
      _padlock_aes_cbc_encrypt in libaccelerated.a(aes-padlock.o)
      _padlock_aes_cbc_decrypt in libaccelerated.a(aes-padlock.o)
  "_padlock_ecb_encrypt", referenced from:
      _padlock_aes_encrypt in libaccelerated.a(aes-gcm-padlock.o)
  "_padlock_reload_key", referenced from:
      _padlock_aes_cipher_setkey in libaccelerated.a(aes-padlock.o)
  "_padlock_sha1_blocks", referenced from:
      _padlock_sha1_update in libaccelerated.a(sha-padlock.o)
      _padlock_sha1_digest in libaccelerated.a(sha-padlock.o)
      _register_x86_crypto in libaccelerated.a(x86-common.o)
  "_padlock_sha1_oneshot", referenced from:
      _wrap_padlock_hash_fast in libaccelerated.a(sha-padlock.o)
  "_padlock_sha256_blocks", referenced from:
      _padlock_sha256_update in libaccelerated.a(sha-padlock.o)
      _padlock_sha256_digest in libaccelerated.a(sha-padlock.o)
  "_padlock_sha256_oneshot", referenced from:
      _wrap_padlock_hash_fast in libaccelerated.a(sha-padlock.o)
  "_padlock_sha512_blocks", referenced from:
      _padlock_sha512_update in libaccelerated.a(sha-padlock.o)
      _padlock_sha512_digest in libaccelerated.a(sha-padlock.o)
  "_sha1_block_data_order", referenced from:
      _x86_sha1_update in libaccelerated.a(sha-x86-ssse3.o)
  "_sha256_block_data_order", referenced from:
      _x86_sha256_update in libaccelerated.a(sha-x86-ssse3.o)
  "_vpaes_cbc_encrypt", referenced from:
      _aes_ssse3_encrypt in libaccelerated.a(aes-cbc-x86-ssse3.o)
      _aes_ssse3_decrypt in libaccelerated.a(aes-cbc-x86-ssse3.o)
  "_vpaes_encrypt", referenced from:
      _x86_aes_encrypt in libaccelerated.a(aes-gcm-x86-ssse3.o)
  "_vpaes_set_decrypt_key", referenced from:
      _aes_ssse3_cipher_setkey in libaccelerated.a(aes-cbc-x86-ssse3.o)
  "_vpaes_set_encrypt_key", referenced from:
      _aes_ssse3_cipher_setkey in libaccelerated.a(aes-cbc-x86-ssse3.o)
      _aes_gcm_cipher_setkey in libaccelerated.a(aes-gcm-x86-ssse3.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libgnutls.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

 

@wraitii @vladislavbelov @Stan`,  have you tried these instructions https://trac.wildfiregames.com/wiki/BuildInstructions ?

Share this post


Link to post
Share on other sites

@asterix those are the instructions I am following.  I only started doing other things, like mentioned in my second post after I ran into errors.

@Stan` I am running on a Mac 10.15.1.  

If it helps, my skill level is is that of a fairly competent hobbyist programmer. Right now for example I have Android Studio, PyCharm, TextMate and 5 Terminal windows open, if that gives a rough picture of where I am at.

Share this post


Link to post
Share on other sites

If you are on a mac you should use darwin ssl. You could try those scripts.  I made them when I was compiling the game on mac Os

 

My SVN folder is called 0ad and the scripts are at the root

build-0ad-dmg.sh does the following

  • cleans clear and revert the repo.
  • then patches SVN using patch-libs-osx.patch (It should be tweaked to only change the version) because I hadn't installed curl with brew, and SSL would break...*
  • then it runs the build bundle script
  • then copies the python file used to create the dmg into the generated 0ad-export folder
  • then renames the file from 0ad.app to 0 A.D.app because the script can't do that directly
  • then runs the python script (you need to install https://pypi.org/project/dmgbuild/)

After that step you should get a fully working dmg for release with only one command.

The 0AD-build-script.sh file is just so that I don't have to remember where to cd everytime :) when not building a bundle. You should use that one @codefisher

 

Archive.zip

  • Like 1

Share this post


Link to post
Share on other sites

That is better, but still failing in the last stage, running make.  The first missing file does exist, it is in the folder "~/0ad-export/libraries/source/spidermonkey/include-win32-release" but that might be the problem... I have not checked all the others.

=========================================
Building 0ad
=========================================
In file included from ../../../source/network/NetMessageSim.cpp:20:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptVal.h:21:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
In file included from ../../../source/network/NetMessage.cpp:19:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptVal.h:21:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
In file included from ../../../source/network/NetHost.cpp:22:
../../../source/lib/external_libraries/enet.h:48:10: fatal error: 'enet/enet.h' file not found
#include <enet/enet.h>
         ^~~~~~~~~~~~~
In file included from ../../../source/network/NetFileTransfer.cpp:23:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptVal.h:21:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
In file included from ../../../source/network/NetClientTurnManager.cpp:20:
In file included from ../../../source/network/NetClientTurnManager.h:21:
In file included from ../../../source/simulation2/system/TurnManager.h:21:
In file included from ../../../source/simulation2/helpers/SimulationCommand.h:21:
In file included from ../../../source/scriptinterface/ScriptInterface.h:23:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
1 error generated.
In file included from ../../../source/network/NetClient.cpp:20:
In file included from ../../../source/network/NetClient.h:24:
In file included from ../../../source/scriptinterface/ScriptVal.h:21:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
make[1]: *** [obj/network_Release/NetHost.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../../../source/network/NetServer.cpp:20:
In file included from ../../../source/network/NetServer.h:25:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
In file included from ../../../source/network/NetServerTurnManager.cpp:20:
In file included from ../../../source/network/NetMessage.h:26:
In file included from ../../../source/network/NetMessages.h:27:
In file included from ../../../source/scriptinterface/ScriptVal.h:21:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
In file included from ../../../source/network/NetSession.cpp:19:
In file included from ../../../source/network/NetSession.h:25:
In file included from ../../../source/scriptinterface/ScriptVal.h:21:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
1 error generated.
In file included from ../../../source/network/NetStats.cpp:22:
../../../source/lib/external_libraries/enet.h:48:10: fatal error: 'enet/enet.h' file not found
#include <enet/enet.h>
         ^~~~~~~~~~~~~
make[1]: *** [obj/network_Release/NetFileTransfer.o] Error 1
In file included from ../../../source/network/StunClient.cpp:21:
In file included from ../../../source/network/StunClient.h:22:
In file included from ../../../source/scriptinterface/ScriptInterface.h:23:
../../../source/scriptinterface/ScriptTypes.h:60:10: fatal error: 'jspubtd.h' file not found
#include "jspubtd.h"
         ^~~~~~~~~~~
1 error generated.
make[1]: *** [obj/network_Release/NetStats.o] Error 1
1 error generated.
make[1]: *** [obj/network_Release/NetMessageSim.o] Error 1
1 error generated.
1 error generated.
make[1]: *** [obj/network_Release/NetServerTurnManager.o] Error 1
1 error generated.
1 error generated.
make[1]: *** [obj/network_Release/NetClientTurnManager.o] Error 1
make[1]: *** [obj/network_Release/StunClient.o] Error 1
make[1]: *** [obj/network_Release/NetSession.o] Error 1
1 error generated.
1 error generated.
1 error generated.
make[1]: *** [obj/network_Release/NetServer.o] Error 1
make[1]: *** [obj/network_Release/NetMessage.o] Error 1
make[1]: *** [obj/network_Release/NetClient.o] Error 1
make: *** [network] Error 2
==== Building mocks_real (release) ==== Creating obj/mocks_real_Release mocks_real.cpp Linking mocks_real ==== Building network (release) ==== Creating obj/network_Release precompiled.h NetClient.cpp NetClientTurnManager.cpp NetFileTransfer.cpp NetHost.cpp NetMessage.cpp NetMessageSim.cpp NetServer.cpp NetServerTurnManager.cpp NetSession.cpp NetStats.cpp StunClient.cpp fsm.cpp precompiled.cpp

 

Share this post


Link to post
Share on other sites

Okay, it must have failed before, because that usually means ./build-osx-libs.sh failed. You can try uncomenting line 22  and commenting line23

Share this post


Link to post
Share on other sites

Oh, so this is a guile thing again.  I don't know what it is exactly, but macports would not let me install lilypond for weeks because of some problem with guile.

So it now compiles, but the `binaries/system/pyrogenesis` file is not actually playable.  The picture is scaled down by 4x, but you still have to click things like it is full scale.  Not sure what is up with that?  However not really a big issue, as ./build-osx-bundle.sh makes a fully working 0ad.app bundle.  It is just interesting to note there is the difference.

Thanks for all your help, it is really appreciated.

Screen Shot 2019-11-30 at 9.28.57 pm.png

Share this post


Link to post
Share on other sites

I thinks that's a SDL bug :/ We need to change the script to download a more recent version >= 2.0.9

glad you got it working @codefisher

have you tried fullscreen ?

Share this post


Link to post
Share on other sites
4 hours ago, codefisher said:

Oh, so this is a guile thing again.  I don't know what it is exactly, but macports would not let me install lilypond for weeks because of some problem with guile.

So it now compiles, but the `binaries/system/pyrogenesis` file is not actually playable.  The picture is scaled down by 4x, but you still have to click things like it is full scale.  Not sure what is up with that?  However not really a big issue, as ./build-osx-bundle.sh makes a fully working 0ad.app bundle.  It is just interesting to note there is the difference.

Thanks for all your help, it is really appreciated.

Screen Shot 2019-11-30 at 9.28.57 pm.png

@Stan` @wraitii @vladislavbelov That is  a SDL bug we need for MacOS 10.14 +  SDL  at least 2.0.12   and https://www.wxwidgets.org/  3.1.3 also for Atlas not just 0ad.

Share this post


Link to post
Share on other sites
1 hour ago, Nescio said:

Isn't that a bit too much? It seems 2.0.10 and 3.0.4 respectively are the latest stables.

Given that Mac OS Catalina was released afterwards I'd have a tendency to say we should go for the latest in this case.

 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...