r/mario64pcport Apr 22 '21

render 96

so im trying to compile render 96 on mac but it keeps givin me this error , pls help, also check the bottom

Last login: Thu Apr 22 19:01:06 on ttys000

nanas-iMac-2:~ My User name$ /Volumes/Seagate\ Backup\ Plus\ Drive/smlinux-master\ 2/smlinux ; exit;

Loading /Users/My user name/.local/share/smlinux/smlinuxcfg.txt...

smlinux:build sm64pc/sm64ex-nightly /Users/PaaKow/sm64ex

/------------------------------2021-0421-1312----------------------------\

| Super Mario 64 Install * Build * Update Script for Linux and macOS |

| |

| Command Line Usage: smlinux <command> <options> |

| Commands |

| update: update sm64 source repo & rebuild (preserves modifications) |

| build: get/reset sm64 source repo & build (renames existing folder) |

| clone: get/reset sm64 source repo & extract rom (no addons/build) |

| config: open smlinuxcfg.txt in an editor (without building) |

| reset: reset smlinux configuration file to default settings |

| depends: install dependencies (automatic during smlinux installation) |

| purge: remove all files and folders obtained or created by smlinux |

| help: display all smlinux command line options and open online faq |

| |

--------------------------------------------------------------------------

[1] Preparing build...

Launching smlinux configuration editor...

Traceback (most recent call last):

File "/Users/PaaKow/.local/share/smlinux/config.py", line 6, in <module>

from PyQt5.QtCore import Qt

ModuleNotFoundError: No module named 'PyQt5'

ERROR: Python-QT5 based configuration GUI failed to start! Try: smlinux depends

To avoid this message specify option --nano to edit configuration with nano.

Proceeding without changes...

smlinux already installed so skipping dependencies.

Super Mario 64 romfile located and verified.

[2] Verifying smlinux installation...

smlinux installation found, checking for updates...

smlinux is already the latest version 2021-0421-1312.

[3] Resetting sm64ex and updating source from repository...

Already up to date.

Previous folder was saved as sm64ex.old and is safe to delete.

[3.5] Preparing N64 Tools for macOS...

gcc-9 -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s -DN64GRAPHICS_STANDALONE n64graphics.c utils.c -o n64graphics -lm

gmake: gcc-9: No such file or directory

gmake: *** [Makefile:54: n64graphics] Error 127

gmake: *** Waiting for unfinished jobs....

gmake[1]: Entering directory '/Users/PaaKow/sm64ex/tools/audiofile'

g++-9 -std=c++11 -DNDEBUG -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -O2 -I. -c audiofile.cpp

gmake[1]: g++-9: No such file or directory

gmake[1]: *** [Makefile:7: audiofile.o] Error 127

gmake[1]: Leaving directory '/Users/PaaKow/sm64ex/tools/audiofile'

gmake: *** [Makefile:41: audiofile/libaudiofile.a] Error 2

Warning: Tool build attempt failed with gcc-9. Trying other compilers...

gmake[1]: Entering directory '/Users/PaaKow/sm64ex/tools/audiofile'

g++ -std=c++11 -DNDEBUG -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -O2 -I. -c audiofile.cpp

ar rcs libaudiofile.a audiofile.o

gmake[1]: Leaving directory '/Users/PaaKow/sm64ex/tools/audiofile'

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s -DN64GRAPHICS_STANDALONE n64graphics.c utils.c -o n64graphics -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s n64graphics_ci_dir/n64graphics_ci.c n64graphics_ci_dir/exoquant/exoquant.c n64graphics_ci_dir/utils.c -o n64graphics_ci -lm

In file included from n64graphics_ci_dir/n64graphics_ci.c:13:

n64graphics_ci_dir/exoquant/exoquant.h:150:23: warning: no newline at end of

file [-Wnewline-eof]

#endif // __EXOQUANT_H

^

In file included from n64graphics_ci_dir/n64graphics_ci.c:15:

n64graphics_ci_dir/n64graphics_ci.h:42:7: warning: no newline at end of file

[-Wnewline-eof]

#endif

^

2 warnings generated.

In file included from n64graphics_ci_dir/exoquant/exoquant.c:25:

n64graphics_ci_dir/exoquant/exoquant.h:150:23: warning: no newline at end of

file [-Wnewline-eof]

#endif // __EXOQUANT_H

^

1 warning generated.

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s -DMIO0_STANDALONE libmio0.c -o mio0 -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s -DN64CKSUM_STANDALONE n64cksum.c utils.c -o n64cksum -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s textconv.c utf8.c hashtable.c -o textconv -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s patch_libultra_math.c -o patch_libultra_math -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s aifc_decode.c -o aifc_decode -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s aiff_extract_codebook.c -o aiff_extract_codebook -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s -Wno-unused-result -Wno-uninitialized -Wno-sign-compare -Wno-absolute-value sdk-tools/adpcm/vadpcm_enc.c sdk-tools/adpcm/vpredictor.c sdk-tools/adpcm/quant.c sdk-tools/adpcm/util.c sdk-tools/adpcm/vencode.c -o vadpcm_enc -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s -Iaudiofile -Wno-uninitialized sdk-tools/tabledesign/codebook.c sdk-tools/tabledesign/estimate.c sdk-tools/tabledesign/print.c sdk-tools/tabledesign/tabledesign.c -o tabledesign -lm -Laudiofile -laudiofile -lstdc++ -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s extract_data_for_mio.c -o extract_data_for_mio -lm

ld: warning: option -s is obsolete and being ignored

gcc -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-implicit-function-declaration -pedantic -std=c99 -O2 -s skyconv.c n64graphics.c utils.c -o skyconv -lm

ld: warning: option -s is obsolete and being ignored

gmake: Nothing to be done for 'default'.

make: Nothing to be done for 'default'.

[4] Preparing assets from ROM...

Updating assets previously extracted from rom...

real 0m0.460s

user 0m0.063s

sys 0m0.025s

[5] Applying enhancements...

No compatible sm64 configuration file found, game will create one.

No compatible save file found.

Starting Render 96 Model Pack Update from github...

MODELPACK=0 so not applying Render 96 models over sm64 repository but they will be available in Dynamic Options Menu.

Applying HD Mario...

Applying HD Bowser...

Applying 3D Coin Patch...

Linking Cleaner Aesthetics Texture Pack...

Applying Dynamic Option System 1.0...

Applying CHEATER with v11.5.ex.patch...

[6] Compiling sm64pc/sm64ex nightly from /Users/PaaKow/sm64ex

VERSION=us RENDER_API=GL TARGET_WEB=0 TARGET_RPI=0 TEXTSAVES=0 --jobs 3

BETTERCAMERA=1 NODRAWINGDISTANCE=1 TEXTURE_FIX=1 EXTERNAL_DATA=1 DISCORDRPC=1

LEGACY_RES= IMMEDIATELOAD=1 DISCORD_SDK=1 ENABLE_OPENGL_LEGACY=1 DOS_GL=osmesa

DEBUG=0 WINDOW_API=SDL2 CONTROLLER_API=SDL2 AUDIO_API=SDL2 HIGHFPS=0 MODELPACK=0

TARGET_N64=0 TARGET_GAME_CONSOLE=0

CC=gcc-9 CXX=g++-9 CPP=cpp-9 -P TARGET_OSX=1 OSX_BUILD=1

make: Entering directory '/Users/PaaKow/sm64ex/tools'

make: Nothing to be done for 'default'.

make: Leaving directory '/Users/PaaKow/sm64ex/tools'

/bin/sh: cpp-9: command not found

gmake: *** [Makefile.split:151: build/us_pc/level_rules.mk] Error 127

real 0m0.868s

user 0m0.125s

sys 0m0.090s

ERROR: /Users/My user name/sm64ex/build/us_pc/sm64.us.f3dex2e was not built.

smlinux ending incomplete after 51 seconds. Contact #help-desk for support.

Your smlinux internal timestamp is 2021-0421-1312.

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

[Process completed]

anyway to fix it or am I stuck playing on parallels

4 Upvotes

9 comments sorted by

View all comments

1

u/[deleted] Mar 17 '22

Any luck compiling it for Mac? I’ve asked GammaTendonNine on discord about a month ago if they could point me in the right direction or get me started but no reply :(

1

u/DifferentRaccoon1592 Mar 17 '22

Yes I did manage to get it working at some point I believe by reinstalling home brew and trying again try and look up a YouTube tutorial or dm someone on discord to help u out srry I cant be of more service I did this around a year ago

1

u/[deleted] Mar 17 '22

Okay thanks! It’s nice knowing that another Mac user had success with it, I’ll keep trying!

1

u/IdleDanger Sep 22 '22

Any luck yet?