Ubuntu install tutorial

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Ubuntu install tutorial

Postby TheOldDragon » Sun Mar 28, 2021 5:29 am

new_holmes wrote:I removed the whole directory and retried.
Yes, output directories are created:

dominique@HP-Pavilion-15:~/model3emu-code$ make -f Makefiles/Makefile.UNIX
Creating directory : bin
Creating directory : obj
Generating dependencies: Src/CPU/PowerPC/PPCDisasm.cpp -> obj/PPCDisasm.d
Compiling : Src/CPU/PowerPC/PPCDisasm.cpp -> obj/PPCDisasm.o
cc1plus: internal compiler error: Erreur de segmentation
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make: *** [Makefiles/Rules.inc:278 : obj/PPCDisasm.o] Erreur 1


Where are you getting the code from? Directly from the Sourceforge via SVN or a tarball, or somewhere else?
As long as you have the dependencies [per the prior posts], literally all you need is:

"create and cd to a new directory", then
Code: Select all
svn checkout https://svn.code.sf.net/p/model3emu/code/trunk model3emu-code
cd model3emu-code/
ln -s Makefiles/Makefile.UNIX Makefile
make


If you have a spare SATA or NVMe SSD, I'd try downloading the Ubuntu 20.10 ISO, writing it onto a USB stick, installing onto the SSD, and making sure the steps above work [and rule out any computer hardware issues you may have].
[I did it yesterday morning, for a different reason [in a VM, so no USB stick creation needed] - and start to finish, including building and testing Supermodel, it was less than 15 minutes...]
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Ubuntu install tutorial

Postby new_holmes » Sun Mar 28, 2021 7:12 am

I use the commands you mention.
Unfortunately I do not have a spare disk.
I will probably wait for the Kubuntu 21.04 upgrade and hope it will fix things.
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Re: Ubuntu install tutorial

Postby zuppa_di_pesce » Sun Mar 28, 2021 9:51 pm

faulty hardware? What if you try compiling with older gcc? What if you try compiling with clang?
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

Re: Ubuntu install tutorial

Postby new_holmes » Mon Mar 29, 2021 12:31 am

If I install clang, will it break anything? Will it be the default compiler?
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Re: Ubuntu install tutorial

Postby zuppa_di_pesce » Mon Mar 29, 2021 2:37 am

new_holmes wrote:If I install clang, will it break anything? Will it be the default compiler?
Dunno, sorry I can't tell you, I'm not using Ubuntu. :P
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

Re: Ubuntu install tutorial

Postby new_holmes » Mon Mar 29, 2021 8:42 am

Finally I compiled without issue with clang.
No idea what causes this problem with gcc.

As a side note, the new3d engine does not render in 3D (texture2DLod). Legacy engine is OK. New3d works with quad-rendering but I get only 50 fps.
I replaced texture2DLod with tetxture2D. Now it works nicely :D
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Previous

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest