Author Topic: Mingw Setup  (Read 13789 times)

Offline nganiere

  • Newbies
  • *
  • Posts: 37
  • Karma: +0/-4
Mingw Setup
« 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......

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #1 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



and then

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



So I give up.

Anyway here is mingwfba. http://www.ojko.com/phpbb/viewtopic.php?t=3057

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: Mingw Setup
« Reply #2 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 [~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:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #3 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.


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #4 on: April 16, 2007, 12:28:11 AM »
Ok I'm missing those files. Why are those missing from fba_src_029671.zip?

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: Mingw Setup
« Reply #5 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:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #6 on: April 16, 2007, 02:04:15 AM »
Same source that is host over here. http://fba.emuunlim.com/?page_id=4

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: Mingw Setup
« Reply #7 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:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #8 on: April 16, 2007, 04:14:20 AM »

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: Mingw Setup
« Reply #9 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:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #10 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.
« Last Edit: April 16, 2007, 02:05:45 PM by KingHanco »

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: Mingw Setup
« Reply #11 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:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #12 on: April 16, 2007, 03:45:00 PM »
Nope.

Offline CaptainCPS

  • FBNeo Dev
  • ******
  • Posts: 1513
  • Karma: +127/-0
  • FB Alpha Team
    • CaptainCPS's Home
Re: Mingw Setup
« Reply #13 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:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re: Mingw Setup
« Reply #14 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.

« Last Edit: April 16, 2007, 09:28:15 PM by KingHanco »