Welcome!

Final Burn Neo => FBN Development => Topic started by: nganiere on April 02, 2007, 09:28:55 PM

Title: Mingw Setup
Post by: nganiere on April 02, 2007, 09:28:55 PM
Anyone got a MINGW setup that works with Vista....please upload as I have no idea how to set this up.....thanks in advance......
Title: Re: Mingw Setup
Post by: KingHanco on April 15, 2007, 05:37:12 PM
Yea I can't get mingwfba to work right. Vista confused on the files in those paths.

1. Was looking for cc1plus.

2. Found cc1plus files and it got really confused. It said that it found it twice.

I try both paths.

set path=d:\mingwfba\bin;d:\mingwfba\lib\gcc-lib\mingw32\3.2.3

(http://img361.imageshack.us/img361/2088/cc1plus1ke7.th.png) (http://img361.imageshack.us/my.php?image=cc1plus1ke7.png)

and then

set path=d:\mingwfba\bin;d:\mingwfba\lib\gcc-lib\mingw32\3.3.1

(http://img361.imageshack.us/img361/5084/cc1plus2yy3.th.png) (http://img361.imageshack.us/my.php?image=cc1plus2yy3.png)

So I give up.

Anyway here is mingwfba. http://www.ojko.com/phpbb/viewtopic.php?t=3057
Title: Re: Mingw Setup
Post by: CaptainCPS on April 15, 2007, 06:09:36 PM
Ummmm... I dont know why there still people searching and asking MinGW setups/packs if I posted one some time ago...

This is from the FB Alpha Extras thread ( page 8 ) :

Quote

This revised MinGW package have the following components ready to go!:

-MinGW v3.1.0
-GCC v3.3.1
-dx70
-libpng
-unxutils
-zlib
-perl
-nasm
-upx



Download the revised MINGW right here!:

mingw310.7z (http://fightercore.freepgs.com/files/mingw310.7z) [~18.85MB]

Here you have my BATs for reference when doing yours...

MinGW310_Build.bat

Quote

@echo off
@path=c:\mingw310\bin;%path%
@path=c:\mingw310\perl;%path%
@path=c:\mingw310\perl\bin\MSWin32-x86;%path%
@path=c:\mingw310\lib\gcc-lib\mingw32\3.3.1;%path%
@prompt=mingw$s$p$g
@mingw32-make
@echo _
@echo FBA Compilation using MinGW v3.1.0 Done.
@pause



VisualC++Toolkit_Build.bat

Quote

@echo off
@call "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.Cmd"
@call "C:\Program Files\Microsoft_DirectX_SDK_October_2004\Utilities\Dx_Setenv.cmd"
@call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
@echo _
@path=c:\mingw310\perl;%path%
@path=c:\mingw310\perl\bin\MSWin32-x86;%path%
@make vc
@echo _
@echo FBA Compilation using Visual Studio 8 (vc toolkit) Done
@pause



For those with Windows Vista, Im sorry but I have Windows XP here so I can't test.

SeeYaa!
 :biggrin:
Title: Re: Mingw Setup
Post by: KingHanco on April 15, 2007, 07:48:31 PM
That is so much better. But now I get these errors. I'm using your first MinGW310_Build.bat.

(http://img453.imageshack.us/img453/8963/hehwt8.th.png) (http://img453.imageshack.us/my.php?image=hehwt8.png)
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 12:28:11 AM
Ok I'm missing those files. Why are those missing from fba_src_029671.zip?
Title: Re: Mingw Setup
Post by: CaptainCPS on April 16, 2007, 01:56:12 AM
ok, can you send me your Source so I can take a look to see if it compiles in my pc  :wink:

SeeYaa!
 :biggrin:
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 02:04:15 AM
Same source that is host over here. http://fba.emuunlim.com/?page_id=4
Title: Re: Mingw Setup
Post by: CaptainCPS on April 16, 2007, 02:20:38 AM
Well, if it is the same then pack your current dev dir where you extracted it and send it to me, I want to check if the current directory structure that you have is right...maybe its not being unpacked well resulting in errors when compilating

To check that I must have not the zip in the FBA site, i need the one you have in your pc to check if its 100% right, if it compiles fine then definitely its a Window Vista issue with MinGW.

SeeYaa!
 :biggrin:
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 04:14:20 AM
Here are the files. http://www.speedyshare.com/942917863.html
Title: Re: Mingw Setup
Post by: CaptainCPS on April 16, 2007, 12:11:59 PM
I did a check and I found out something,... how you named the directory where you have the 'src' directory?... it is called 'D:\FB Alpha\' ?

SeeYaa!
 :biggrin:
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 01:52:41 PM
Well this will not work on Vista as it seem.

Thank God Mame Mingw and source doesn't have this problem.
Title: Re: Mingw Setup
Post by: CaptainCPS on April 16, 2007, 03:34:27 PM
Well this will not work on Vista as it seem.

Thank God Mame Mingw and source doesn't have this problem.

So you finally compiled FBA ?

SeeYaa!
 :biggrin:
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 03:45:00 PM
Nope.
Title: Re: Mingw Setup
Post by: CaptainCPS on April 16, 2007, 03:53:50 PM
Well I was going to recommend that you rename the directory where the 'src' is like this and try to compile then...

this would be the main dir path...

D:\fbadev\

...and this one the src dir path...

D:\fbadev\src

...try it just like that, with no spaces or underscores...and tell me if it compiles

SeeYaa!
 :biggrin:
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 04:24:52 PM
Edit: Ok here is the real problem. Don't use mingwfba or mingw310 name. Change it to mingw. Now it is picking up. Took me a long time to finger it out what the problem was.

Here is the real error bellow.

(http://img329.imageshack.us/img329/93/mingwww0.th.png) (http://img329.imageshack.us/my.php?image=mingwww0.png)
Title: Re: Mingw Setup
Post by: KingHanco on April 16, 2007, 10:22:11 PM
I had to don't look at the errors on every time that I keep on hitting make. But finally it made fba.exe. It was the linking problem. Who ever wrote the source sure did had it going through a lot of errors. Anyway fba.exe works. But no telling if there any errors or not because of linking problems it had.

Here is the fba.exe. Please test it with me. Yea it is smaller though.

http://www.speedyshare.com/244691232.html
Title: Re: Mingw Setup
Post by: Barry Harris on April 17, 2007, 02:01:54 AM
The fork errors are bugs in the sh.exe (a shell utility provided with minGW) you are using under vista. See Aarons site for the exact problem and a resolution.

I don't have Vista at the moment and with my time limited I don't really plan on switching anytime before the first service pack

The earlier problems you had are missing files in your minGW installation (probably a path problem but only you can really diagnose that one to be honest).
Title: Re: Mingw Setup
Post by: KingHanco on April 17, 2007, 03:37:45 AM
Ok I will replace the sh.exe with the ones that is fix. I have those in my Mame MinGW. Thanks for reminding me.

Edit: Yea it works a lot better now.