Previous Thread
Next Thread
Print Thread
#101019 - 08/07/15 01:57 AM Trouble compiling M1  
Joined: Aug 2014
Posts: 3
SUTOruin Offline
Member
SUTOruin  Offline
Member

Joined: Aug 2014
Posts: 3
Compiling M1 usually brings up the following message.

Quote:
C:\M1>make
Compiling m1mcui.o
gcc: `pkg config: No such file or directory
gcc: libpulse': No such file or directory
gcc: `sdl-config: No such file or directory
cc1.exe : error: unrecognized command line option "fcflags"
m1cui.c:1: warning: -fPIC ignored for target <all code is position independent>
m1cui.c:1: warning: -fPIC ignored for target <all code is position independent>
make: *** [m1cui.o] error 1


Using W7x64 with mingw-mame-20100102 and all help and suggestions are greatly appreciated. Thanks in advance.

EDIT: cmd doesn't support backtick syntax, and I need to make sure I have all these things installed correctly. Google-fu comes in handy like always. Using MSYS now.

Last edited by SUTOruin; 08/07/15 03:41 AM. Reason: e
#101022 - 08/07/15 12:38 PM Re: Trouble compiling M1 [Re: SUTOruin]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
You want to make -f makefile.win32 if you're building on Windows.

#101024 - 08/07/15 02:48 PM Re: Trouble compiling M1 [Re: SUTOruin]  
Joined: Aug 2014
Posts: 3
SUTOruin Offline
Member
SUTOruin  Offline
Member

Joined: Aug 2014
Posts: 3
Can't find libm1.a

#101025 - 08/07/15 02:55 PM Re: Trouble compiling M1 [Re: SUTOruin]  
Joined: Mar 2001
Posts: 15,753
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,753
USA
It's been a while. make -f makefile.dll to build m1.a / m1.dll, and make -f makefile.w32 to build the commandline M1.EXE.

#101026 - 08/07/15 03:22 PM Re: Trouble compiling M1 [Re: R. Belmont]  
Joined: Aug 2014
Posts: 3
SUTOruin Offline
Member
SUTOruin  Offline
Member

Joined: Aug 2014
Posts: 3
It did the trick. Thanks.


Moderated by  R. Belmont 

Who's Online Now
0 registered members (), 15 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,436
Posts109,400
Members4,766
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.040s Queries: 14 (0.021s) Memory: 4.9558 MB (Peak: 5.1405 MB) Zlib enabled. Server Time: 2017-11-22 03:23:40 UTC