How do I compile PCem-X?

Discussion of beta and abandonware topics not fit for the other forums goes here.
Post Reply
Zacchi4k
Posts: 226
Joined: Mon Aug 18, 2014 10:47 pm
Location: Italy

How do I compile PCem-X?

Post by Zacchi4k »

I don't even know if this is the right place to ask....
I'm trying to compile PCem-X, but I really don't know how.
I've tried with MSYS with these commands:
make Makefile.an
make Makefile.in
make Makefile_release.mingw
make Makefile_release.mingw64
But every time i get a "make: Nothing to be done for *filename*"
I've tried searching, but I couldn't fine anything useful.
Can someone help me?

user99672
Donator
Posts: 1446
Joined: Sun Sep 27, 2009 7:55 pm

Re: How do I compile PCem-X?

Post by user99672 »

PCem-X isn't supported anymore. It has been superseded by PCem-Unofficial. The first thing obviously would be to get the latest source, which it seems you do not have.

louisw3
User avatar
Posts: 1490
Joined: Wed Dec 31, 2008 7:29 pm
Location: SE Asia

Re: How do I compile PCem-X?

Post by louisw3 »

make -f Makefile_release.mingw

you need the -f to tell make what to run against.
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer

AlphaBeta
User avatar
Donator
Posts: 2437
Joined: Sun Aug 12, 2012 4:33 pm
Location: Czechia

Re: How do I compile PCem-X?

Post by AlphaBeta »

Zacchi4k wrote:I don't even know if this is the right place to ask....
It's not. Ask in there:
Image
AlphaBeta, stop brainwashing me immediately!

Image

Zacchi4k
Posts: 226
Joined: Mon Aug 18, 2014 10:47 pm
Location: Italy

Re: How do I compile PCem-X?

Post by Zacchi4k »

louisw3 wrote:make -f Makefile_release.mingw

you need the -f to tell make what to run against.
make: *** No rule to make target 'Makefile_internal.mingw'. Stop.

I've also tried with PCem-Unofficial, as user99672 suggested, but trying with Makefile.in gives me "Makefile.in:16: *** missing separator. Stop.
and if I try to put in a "separator" (aka a Tab press), it gives me
Makefile:168: *** commands commence before first target. Stop. :cry:
I
just
hate
those
files

louisw3
User avatar
Posts: 1490
Joined: Wed Dec 31, 2008 7:29 pm
Location: SE Asia

Re: How do I compile PCem-X?

Post by louisw3 »

Zacchi4k wrote:
louisw3 wrote:make -f Makefile_release.mingw

you need the -f to tell make what to run against.
make: *** No rule to make target 'Makefile_internal.mingw'. Stop.

I've also tried with PCem-Unofficial, as user99672 suggested, but trying with Makefile.in gives me "Makefile.in:16: *** missing separator. Stop.
and if I try to put in a "separator" (aka a Tab press), it gives me
Makefile:168: *** commands commence before first target. Stop. :cry:
I
just
hate
those
files

try working from a known good first.

download the official pcem source, and build that before you go all crazy. Get used to the way pcem builds, and how it compiles. Youre running without learning how to crawl.
"Those who don't understand UNIX are condemned to reinvent it, poorly." – Henry Spencer

Darkstar
User avatar
Donator
Posts: 1210
Joined: Fri May 14, 2010 1:29 pm
Location: Southern Germany

Re: How do I compile PCem-X?

Post by Darkstar »

Zacchi4k wrote:
louisw3 wrote:make -f Makefile_release.mingw

you need the -f to tell make what to run against.
make: *** No rule to make target 'Makefile_internal.mingw'. Stop.

I've also tried with PCem-Unofficial, as user99672 suggested, but trying with Makefile.in gives me "Makefile.in:16: *** missing separator. Stop.
and if I try to put in a "separator" (aka a Tab press), it gives me
Makefile:168: *** commands commence before first target. Stop. :cry:
I
just
hate
those
files
Makefile.in is not a Makefile that can be processed by make but a template that has to be preprocessed by automake to generate a Makefile. Try looking for a "configure" script, or do the usual "aclocal; autoconf; automake; configure" to build your Makefiles. Here is a nice image on how those files play together (the text is in French but the image should be fairly self-explanatory)
I upload stuff to archive.org from time to time. See here for everything that doesn't fit BA

TheCollector1988
User avatar
Donator
Posts: 3604
Joined: Wed Feb 23, 2011 12:11 am
Location: Italy
Contact:

Re: How do I compile PCem-X?

Post by TheCollector1988 »

Assuming you have all components needed by PCem-Unofficial (including OpenAL), just make sure you're running the following within the msys2 console:
make -f Makefile_release.mingw.

Zacchi4k
Posts: 226
Joined: Mon Aug 18, 2014 10:47 pm
Location: Italy

Re: How do I compile PCem-X?

Post by Zacchi4k »

Darkstar wrote:
Zacchi4k wrote:
louisw3 wrote:make -f Makefile_release.mingw

you need the -f to tell make what to run against.
make: *** No rule to make target 'Makefile_internal.mingw'. Stop.

I've also tried with PCem-Unofficial, as user99672 suggested, but trying with Makefile.in gives me "Makefile.in:16: *** missing separator. Stop.
and if I try to put in a "separator" (aka a Tab press), it gives me
Makefile:168: *** commands commence before first target. Stop. :cry:
I
just
hate
those
files
Makefile.in is not a Makefile that can be processed by make but a template that has to be preprocessed by automake to generate a Makefile. Try looking for a "configure" script, or do the usual "aclocal; autoconf; automake; configure" to build your Makefiles. Here is a nice image on how those files play together (the text is in French but the image should be fairly self-explanatory)
I just found out that under \scr there are makefile.am, makefile.in, makefile.mingw, makefile.mingw64 and makefile_amd.mingw
I've tried with makefile.mingw64 and makefile_amd.mingw but, guess what, they don't work.
make: *** No rule to make target '386.o', needed by 'PCem64.exe'. Stop.

Battler
User avatar
Donator
Posts: 2116
Joined: Sat Aug 19, 2006 8:13 am
Location: Slovenia, Central Europe.
Contact:

Re: How do I compile PCem-X?

Post by Battler »

Just get the precompiled binaries from our Jenkins: http://polar.rol.im:8080 . You have binaries for Win64 and Win32, each in both Intel and AMD flavors. A new set of binaries gets compiled on every commit to the project's GitHub.

Also, #softhistory @ irc.rol.im and http://forum.softhistory.org are the official support places. The forum currently requires admin approval for account registration to deter spammers, so be patient. :p
Main developer of the 86Box emulator.
Join the 86Box Discord server, a nice community for true enthusiasts and 86Box supports!

The anime channel is on the Ring of Lightning Discord server.

Check out our SoftHistory Forum for quality discussion about older software.

Zacchi4k
Posts: 226
Joined: Mon Aug 18, 2014 10:47 pm
Location: Italy

Re: How do I compile PCem-X?

Post by Zacchi4k »

Battler wrote:Just get the precompiled binaries from our Jenkins: http://polar.rol.im:8080 . You have binaries for Win64 and Win32, each in both Intel and AMD flavors. A new set of binaries gets compiled on every commit to the project's GitHub.

Also, #softhistory @ irc.rol.im and http://forum.softhistory.org are the official support places. The forum currently requires admin approval for account registration to deter spammers, so be patient. :p
Nice. Getting the precompiled binaries. I'm done with makefiles.

Post Reply