Error compiling supermodel on Ubuntu Xenial

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!

Error compiling supermodel on Ubuntu Xenial

Postby legluondunet » Thu Jul 14, 2016 12:00 pm

Hello,

when I try to compile last Supermodel code, I obtain this compilation error:

http://pastebin.com/5dRMqsCH

Thank you for your help.

LGDN
Ubuntu Xenial
Config: Ubuntu 17.04 Zesty Zapus 64 bits - NVIDIA GeForce GTX 770 - official Ubuntu Nvidia drivers 367.57 - 1920x1080 - Processor Intel i5-3570 3,4 Ghz - 8 Go RAM
legluondunet
 
Posts: 8
Joined: Sat Jun 25, 2016 11:26 pm

Re: Error compiling supermodel on Ubuntu Xenial

Postby Bart » Fri Jul 15, 2016 7:07 am

There is now an Src/OSD/Logger.cpp, so you need to make sure that $(OBJ_DIR)/Logger.o is in the object list in your Makefile.
User avatar
Bart
Site Admin
 
Posts: 1905
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Error compiling supermodel on Ubuntu Xenial

Postby legluondunet » Fri Jul 15, 2016 8:08 am

I used the default Makefile.SDL.UNIX.GCC wich contains this line:

Code: Select all
$(OBJ_DIR)/%.o:   Src/OSD/%.cpp
   $(CXX) $< $(CPPFLAGS) -o $(OBJ_DIR)/$(*F).o
Config: Ubuntu 17.04 Zesty Zapus 64 bits - NVIDIA GeForce GTX 770 - official Ubuntu Nvidia drivers 367.57 - 1920x1080 - Processor Intel i5-3570 3,4 Ghz - 8 Go RAM
legluondunet
 
Posts: 8
Joined: Sat Jun 25, 2016 11:26 pm

Re: Error compiling supermodel on Ubuntu Xenial

Postby Bart » Fri Jul 15, 2016 12:41 pm

I understand but this Makefile has not been updated with the list of objects (e.g., OBJ = ...). What you pasted is a rule. The list of objects is near the top of the file. Compare it to the Windows GCC file, for example.
User avatar
Bart
Site Admin
 
Posts: 1905
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Error compiling supermodel on Ubuntu Xenial

Postby legluondunet » Sat Jul 16, 2016 3:41 am

I did what you said and Supermodel compiles OK now, thank you.
Just a last question: why it is not included by default in the Unix Makefile?
Config: Ubuntu 17.04 Zesty Zapus 64 bits - NVIDIA GeForce GTX 770 - official Ubuntu Nvidia drivers 367.57 - 1920x1080 - Processor Intel i5-3570 3,4 Ghz - 8 Go RAM
legluondunet
 
Posts: 8
Joined: Sat Jun 25, 2016 11:26 pm

Re: Error compiling supermodel on Ubuntu Xenial

Postby Bart » Sat Jul 16, 2016 12:43 pm

I don't use Linux at home so the file quickly gets out of date. I never guarantee that SVN builds :)
User avatar
Bart
Site Admin
 
Posts: 1905
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Error compiling supermodel on Ubuntu Xenial

Postby legluondunet » Sun Jul 17, 2016 2:03 pm

Thank you for your support.
Config: Ubuntu 17.04 Zesty Zapus 64 bits - NVIDIA GeForce GTX 770 - official Ubuntu Nvidia drivers 367.57 - 1920x1080 - Processor Intel i5-3570 3,4 Ghz - 8 Go RAM
legluondunet
 
Posts: 8
Joined: Sat Jun 25, 2016 11:26 pm


Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest