Mednafen Members Members   Search Search   Help Help   Register Register   Login Login   Home Home
Home » Mednafen » Development » macOS Catalina - can't get 1.24.0 UNSTABLE to compile
Show: Today's Messages  :: Show Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
macOS Catalina - can't get 1.24.0 UNSTABLE to compile [message #6086] Thu, 05 March 2020 04:27 Go to next message
jetboy  [PM]
Currently using the following configuration options...

./configure --without-libsndfile --build=x86_64-apple-darwin19.2.0 --disable-apple2 --disable-gb --disable-gba --disable-lynx --disable-md --disable-nes --disable-ngp --disable-pce --disable-pce-fast --disable-pcfx --disable-psx --disable-sms --disable-snes --disable-snes-faust --disable-ssfplay --disable-vb --disable-wswan SDL_CFLAGS='-I/usr/local/include/SDL2 -static' CFLAGS='-O3' CXXFLAGS='-O3'


During the make process I get the following errors:

depbase=`echo mthreading/MThreading_POSIX.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	g++ -std=gnu++11 -fsigned-char -DHAVE_CONFIG_H   -I../include -I../include -I../intl    -fno-fast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fstrict-aliasing  -Wall -Wshadow -Wempty-body -Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization -Werror=write-strings  -fno-pic -fno-pie -fno-PIC -fno-PIE -fwrapv -fjump-tables -mno-retpoline -mcmodel=small  -fexceptions -O3 -MT mthreading/MThreading_POSIX.o -MD -MP -MF $depbase.Tpo -c -o mthreading/MThreading_POSIX.o mthreading/MThreading_POSIX.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from mthreading/MThreading_POSIX.cpp:29:
In file included from ../include/mednafen/mednafen.h:4:
../include/mednafen/types.h:22:4: warning: "Compiling with position-independent code generation enabled is not
      recommended, for performance reasons." [-W#warnings]
  #warning "Compiling with position-independent code generation enabled is not recommended, for performance reasons."
   ^
mthreading/MThreading_POSIX.cpp:585:2: warning: "Cond var semaphore" [-W#warnings]
#warning "Cond var semaphore"
 ^
mthreading/MThreading_POSIX.cpp:636:25: warning: 'if' initialization statements are a C++17 extension
      [-Wc++17-extensions]
 if(!Mutex_Lock(&sem->m);
                        ^
mthreading/MThreading_POSIX.cpp:637:3: error: expected expression
  return false;
  ^
mthreading/MThreading_POSIX.cpp:684:9: error: use of undeclared identifier 'SignalCond'
 ret &= SignalCond(&sem->c);
        ^
mthreading/MThreading_POSIX.cpp:685:9: error: use of undeclared identifier 'UnlockMutex'
 ret &= UnlockMutex(&sem->m);
        ^
3 warnings and 3 errors generated.
make[2]: *** [mthreading/MThreading_POSIX.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


Any tips?
Re: macOS Catalina - can't get 1.24.0 UNSTABLE to compile [message #6100 is a reply to message #6086 ] Tue, 17 March 2020 22:08 Go to previous messageGo to next message
Administrator  [PM]
Try 1.24.1.
Re: macOS Catalina - can't get 1.24.0 UNSTABLE to compile [message #6101 is a reply to message #6100 ] Wed, 18 March 2020 20:43 Go to previous message
jetboy  [PM]
Administrator wrote on Tue, 17 March 2020 22:08

Try 1.24.1.


Perfect, thanks for that!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:1.24.0-UNSTABLE does not build on ppc64le
Next Topic:Minor SMS patch enabling vertical crop
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ ]

Current Time: Sat May 4 23:32:34 CDT 2024
.:: Contact :: Home ::.

Powered by FUDforum.
Copyright © FUDforum Bulletin Board Software