Author Topic: dink's FBA Development & Fixes thread  (Read 213338 times)

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1500 on: November 23, 2018, 07:42:25 am »
Hi folks!

I?m trying to compile from the GIT source using the M2 enviroment for MAME tools but no luck.
How do I do a compile from the GIT repo? Any help please?

Offline Treble Winner

  • FBA Dev
  • ******
  • Posts: 1816
  • Karma: +106/-0
  • FB Alpha Team
    • http://www.barryharris.me.uk
Re: dink's FBA Development & Fixes thread
« Reply #1501 on: November 23, 2018, 08:25:56 am »
Hi folks!

I?m trying to compile from the GIT source using the M2 enviroment for MAME tools but no luck.
How do I do a compile from the GIT repo? Any help please?

Compiles fine using the MAME tools. Make sure perl and nasm are in your path and compile with;

Code: [Select]
make mingw510

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1502 on: November 23, 2018, 09:48:52 am »
Code: [Select]
$ make mingw510
Making debug build...

make[1]: *** No rule to make target 'd_arcadecl.cpp', needed by 'all'.  Pare.
make: *** [makefile:87: mingw510] Error 2

Tried with  make mamemingw also and doesn?t run it?s like failed to creat dirs...

$ make mamemingw
Making debug build...

make[1]: mingw-mkdir: Command not found
make[1]: *** [makefile.mamemingw:642: init] Error 127
make: *** [makefile:90: mamemingw] Error 2

Are you sure if it compile with M2 enviroment or I need old mame tools to do it?
« Last Edit: November 23, 2018, 09:53:32 am by Ashura-X »

Offline dink

  • Administrator
  • *****
  • Posts: 2773
  • Karma: +235/-0
  • feed the horse yumyum
Re: dink's FBA Development & Fixes thread
« Reply #1503 on: November 23, 2018, 09:57:17 am »
make[1]: *** No rule to make target 'd_arcadecl.cpp', needed by 'all'.  Pare.


I broke the makefile yesterday, sorry about that!  please re-get from github and try again.

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1504 on: November 23, 2018, 10:07:29 am »
LOL ! Ok now it compiling  :biggrin:

Offline Treble Winner

  • FBA Dev
  • ******
  • Posts: 1816
  • Karma: +106/-0
  • FB Alpha Team
    • http://www.barryharris.me.uk
Re: dink's FBA Development & Fixes thread
« Reply #1505 on: November 23, 2018, 11:04:08 am »
Are you sure if it compile with M2 enviroment or I need old mame tools to do it?

MSYS2 environment is fine - I use it to compile.

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1506 on: November 23, 2018, 11:13:07 am »
MSYS2 environment is fine - I use it to compile.

Lot of erros when finishing the compilation here....

Offline Treble Winner

  • FBA Dev
  • ******
  • Posts: 1816
  • Karma: +106/-0
  • FB Alpha Team
    • http://www.barryharris.me.uk
Re: dink's FBA Development & Fixes thread
« Reply #1507 on: November 23, 2018, 11:21:26 am »
Lot of erros when finishing the compilation here....

What are they?

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1508 on: November 23, 2018, 11:39:08 am »
What are they?

Sorry for the flood... so lets go:

Code: [Select]
Generating src/dep/generated/ctv.h...
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching for -lmingw32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingw32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0\libgcc.a when searching for -lgcc
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0\libgcc_eh.a when searching for -lgcc_eh
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_eh
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching for -lmoldname
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmoldname
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching for -lmingwex
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingwex
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching for -lmsvcrt
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsvcrt
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libpthread.a when searching for -lpthread
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpthread
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libgdi32.a when searching for -lgdi32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdi32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libcomdlg32.a when searching for -lcomdlg32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcomdlg32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libadvapi32.a when searching for -ladvapi32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ladvapi32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libshell32.a when searching for -lshell32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshell32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching for -luser32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luser32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libkernel32.a when searching for -lkernel32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lkernel32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching for -lmingw32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingw32
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0\libgcc.a when searching for -lgcc
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0\libgcc_eh.a when searching for -lgcc_eh
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_eh
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching for -lmoldname
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmoldname
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching for -lmingwex
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmingwex
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching for -lmsvcrt
C:/build_tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmsvcrt
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile.mingw:616: src/dep/generated/ctv.h] Error 1
make: *** [makefile:87: mingw510] Error 2

Offline Treble Winner

  • FBA Dev
  • ******
  • Posts: 1816
  • Karma: +106/-0
  • FB Alpha Team
    • http://www.barryharris.me.uk
Re: dink's FBA Development & Fixes thread
« Reply #1509 on: November 23, 2018, 11:57:18 am »
You're compiling with the 64-bit tools. Either use the 32-bit tools or build an "experimental" 64-bit build by editing the makefile and uncomment the BUILD_X64_EXE = 1 line.

Probably better off using the 32-bit tools though.

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1510 on: November 23, 2018, 12:26:05 pm »
You're compiling with the 64-bit tools. Either use the 32-bit tools or build an "experimental" 64-bit build by editing the makefile and uncomment the BUILD_X64_EXE = 1 line.

Probably better off using the 32-bit tools though.

Nahhh when using WIN32 enviroment the NASM issues appears on my PC :(

$ make mingw510
Making debug build...

Generating depend file for src/burner/win32/about.cpp...
Generating depend file for src/burner/win32/resource.rc...
Assembling src/burn/burn_sound_a.asm...
make[1]: nasm: Command not found
make[1]: *** [makefile.mingw:729: burn_sound_a.o] Error 127
make: *** [makefile:87: mingw510] Error 2
« Last Edit: November 23, 2018, 12:41:56 pm by Ashura-X »

Offline Treble Winner

  • FBA Dev
  • ******
  • Posts: 1816
  • Karma: +106/-0
  • FB Alpha Team
    • http://www.barryharris.me.uk
Re: dink's FBA Development & Fixes thread
« Reply #1511 on: November 23, 2018, 05:34:28 pm »
Like I said at the beginning - you need nasm in your path......

Offline iq_132

  • Administrator
  • *****
  • Posts: 3600
  • Karma: +379/-0
  • Just a lion with a sword
    • NeoSource
Re: dink's FBA Development & Fixes thread
« Reply #1512 on: November 23, 2018, 06:03:44 pm »
I usually just put nasm in mingw/bin


Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1513 on: November 23, 2018, 07:06:04 pm »
Like I said at the beginning - you need nasm in your path......

Ok and where do I got the nasm?

Offline Ashura-X

  • Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Re: dink's FBA Development & Fixes thread
« Reply #1514 on: November 23, 2018, 07:10:19 pm »
I am asking permission to all devs here about insert those git builds on my mame compilation web.
Could I do it? Will broke any rule from main FBA project?