EmeraldLoc / sm_osx

sm_osx is a Super Mario 64 Pc Port Launcher for macOS
https://github.com/EmeraldLoc/sm_osx
GNU General Public License v3.0
7 stars 1 forks source link

Render96 fails to complile due to audiofile error #11

Closed jamiet83 closed 1 year ago

jamiet83 commented 1 year ago

Hello, full log attached but this seems to be where the error is.

/usr/local/Cellar/gcc/12.2.0/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~ audiofile.cpp:3930:35: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 3930 | struct floatToFloat : public std::unary_function<Arg, Result> | ^~~~~~ /usr/local/Cellar/gcc/12.2.0/include/c++/12/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~ ld: warning: option -s is obsolete and being ignored gcc-12 -I/opt/homebrew/include -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-error=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 ld: library not found for -laudiofile collect2: error: ld returned 1 exit status gmake[1]: [Makefile:47: tabledesign] Error 1 gmake[1]: Waiting for unfinished jobs.... ar rcs libaudiofile.a audiofile.o gmake[2]: Leaving directory '/Users/jamie/SM64Repos/render96ex/tools/audiofile' gmake[1]: Leaving directory '/Users/jamie/SM64Repos/render96ex/tools' Makefile:211: *** Failed to build tools. Stop. Finished Doin Stonks render96.txt

jamiet83 commented 1 year ago

jamie@jamies-iMac ~ % brew install audiofile
Running brew update --auto-update... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core).

Warning: audiofile 0.3.6_1 is already installed and up-to-date. To reinstall 0.3.6_1, run: brew reinstall audiofile jamie@jamies-iMac ~ %

I already have audiofile installed.

EmeraldLoc commented 1 year ago

Intel or Arm?

jamiet83 commented 1 year ago

IntelOn 18 Nov 2022, at 22:30, Emerald Lockdown @.***> wrote: Intel or Arm?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

EmeraldLoc commented 1 year ago

Assuming you said intel, looks weird on my screen. Open up the terminal and run which brew and tell me the output

jamiet83 commented 1 year ago

jamie@jamies-iMac ~ % which brew /usr/local/bin/brew

EmeraldLoc commented 1 year ago

Try now

jamiet83 commented 1 year ago

still fails sorry

ld: warning: option -s is obsolete and being ignored gcc-12 -I/opt/homebrew/include -I../include -I. -Wall -Wextra -Wno-unused-parameter -Wno-error=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 ld: library not found for -laudiofile collect2: error: ld returned 1 exit status gmake[1]: [Makefile:47: tabledesign] Error 1 gmake[1]: Waiting for unfinished jobs.... ar rcs libaudiofile.a audiofile.o gmake[2]: Leaving directory '/Users/jamie/SM64Repos/render96ex/tools/audiofile' gmake[1]: Leaving directory '/Users/jamie/SM64Repos/render96ex/tools' Makefile:211: *** Failed to build tools. Stop. Finished Doin Stonks

EmeraldLoc commented 1 year ago

should be fixed, if you could test it that would be great.

EmeraldLoc commented 1 year ago

Going to close this due to inactivity

jamiet83 commented 1 year ago

Sorry for long delay, works as expected nowMany thanksOn 5 Mar 2023, at 01:14, Emerald Lockdown @.***> wrote: should be fixed, if you could test it that would be great.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>