MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Renegade
Got No Where Else to Go
Reged: 10/01/03
Posts: 516
Send PM


compiling but pardon my stupidity but
#338104 - 03/26/15 04:47 AM




I have down loaded the new compiling tools, the mame source zip file and read the instructions on mamedev.
Im up to the point according to mamedev, i downloaded the source zip file but mamedev stops there, do i unzip it into the buildtools folder also ? And do i still the mingw tools too ? If so do i need to point the buildtools folder to the mingw folder ?

I tried unzipping mame source into buildtools folder then bringing up the cmder.exeand typping make and enter and it returns nothing to make, type make mame, nothing type make -j3 again nothing, tryied several different make *file names* and nothing

So i download new tools, create folder build tools in c: drive, download mame.zip file, then whats next ? Is the mingw folder and tools now obsolete and no longer needed ?

I dont have internet access on my main mame computer so my mame downloads are done on work computer during lunch then later tranfered to my home computer so i dont have direct access.

Any help.would greatly be appreciated !!



Only here to annoy...



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: compiling but pardon my stupidity but new [Re: Renegade]
#338106 - 03/26/15 05:09 AM


Open a command prompt where buildtools.bat is.
Type...
buildtools.bat
If you want 32 bit, type...
bin\config32.bat
If you want 64-bit, type...
bin\config64.bat
Now CD to where makefile is and do your make command..
make -j3 again



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: compiling but pardon my stupidity but new [Re: Renegade]
#338121 - 03/26/15 07:01 AM


i have similar problems:

1. i downloaded offline buildtools from https://github.com/mamedev/buildtools/releases/download/1.1/buildtools.7z
2. extracted it to D:\emulation\ExtraStuff\BuildTools\
3. run buildtools.bat
4. put all bin paths to PATH variable on Windows - http://pastebin.com/b0nUSHki
5. rebooted the system
6. put MAME 0.160 source to D:\emulation\ExtraStuff\BuildTools\src\
7. did make all -j5 PTR64=1 in src directory. it started to compile fine, but later i'm always getting this error - http://pastebin.com/jEZrK9h9

any thoughts?



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: compiling but pardon my stupidity but new [Re: abelenki]
#338124 - 03/26/15 07:41 AM


I took the easy way and simply downloaded the install.exe changing the drive letter from C:\ to J:\

J:\buildtools


Can you try D:\buildtools and see if it works?



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: compiling but pardon my stupidity but new [Re: B2K24]
#338128 - 03/26/15 09:35 AM


> Can you try D:\buildtools and see if it works?

thanks for the suggestion, David.

but if the tools don't work from custom location, i just skip them.



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: compiling but pardon my stupidity but new [Re: abelenki]
#338135 - 03/26/15 12:08 PM


Open a command prompt where buildtools.bat resides and run it first. Then From the same command prompt, navigate to makefile. Now run your make command.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: compiling but pardon my stupidity but new [Re: abelenki]
#338162 - 03/26/15 04:31 PM


> 7. did make all -j5 PTR64=1 in src directory. it started to compile fine, but later
> i'm always getting this error - http://pastebin.com/jEZrK9h9

That error typically indicates a 32/64 bit mismatch. Try make clean and then do the make all again without the PTR64=1 (to build a 32-bit MAME).



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: compiling but pardon my stupidity but new [Re: R. Belmont]
#338393 - 03/31/15 06:27 AM


> That error typically indicates a 32/64 bit mismatch. Try make clean and then do the
> make all again without the PTR64=1 (to build a 32-bit MAME).

RB, thanks a lot for the hint that it was 32/64 bit mismatch!! what i did:

i just removed 32-bit bin paths from environment variables, rebooted the system and voila - everything compiled fine.



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 160 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1817